Werner Koch
f5f14d6556
Add some tests.
2008-02-22 15:47:18 +00:00
Werner Koch
55ba204bfa
Started to implement the audit log feature.
...
Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry.
Improved support for the quality bar.
Minor internal restructuring.
Translation fixes.
2007-11-19 16:03:50 +00:00
Werner Koch
31c19d1d68
Use Assuan socket wrapper calls.
...
Made socket servers secure under Windows.
2007-10-01 14:48:39 +00:00
Werner Koch
8464627bf4
Extended the --check-program output: Error messages are now inlcued in an
...
easy parsable format.
2007-08-29 16:59:20 +00:00
Werner Koch
503f91e0ae
tryu harder to ignore duplicate specified keyrings and -boxes.
...
Documentation updates.
2007-08-24 09:34:39 +00:00
Werner Koch
74d344a521
Implemented the chain model for X.509 validation.
2007-08-10 16:52:05 +00:00
Werner Koch
ebd36b6344
Factored common gpgconf constants out
...
Fixed W32 compare_filenames
2007-08-02 18:12:43 +00:00
Werner Koch
93d3811abc
Changed to GPLv3.
...
Removed intl/.
2007-07-04 19:49:40 +00:00
Werner Koch
f54b85bc2d
A bunch of minor changes for Windows.
2007-07-04 09:34:28 +00:00
Werner Koch
540f9164c0
Made percent_escape more general.
...
Added regression tests support to jnlib.
W32 changes.
2007-06-19 09:11:11 +00:00
Marcus Brinkmann
e47321829d
jnlib/
...
2007-06-18 Marcus Brinkmann <marcus@g10code.de>
* stringhelp.h (percent_escape): New prototype.
* stringhelp.c (percent_escape): New function.
agent/
2007-06-18 Marcus Brinkmann <marcus@g10code.de>
* gpg-agent.c (main): Percent escape pathname in --gpgconf-list
output.
g10/
2007-06-18 Marcus Brinkmann <marcus@g10code.de>
* gpg.c (gpgconf_list): Percent escape output of --gpgconf-list.
scdaemon/
2007-06-18 Marcus Brinkmann <marcus@g10code.de>
* scdaemon.c (main): Percent escape output of --gpgconf-list.
sm/
2007-06-18 Marcus Brinkmann <marcus@g10code.de>
* gpgsm.c (main): Percent escape output of --gpgconf-list.
2007-06-18 20:15:01 +00:00
Werner Koch
0cfbfd6186
A whole bunch of changes to allow building for Windows.
...
See the ChangeLogs for details.
2007-06-14 17:05:07 +00:00
Werner Koch
2c9791db55
First steps towards supporting W32.
...
This is mainly source code reorganization.
Update gnulib.
g10/ does currently not build.
2007-06-06 18:12:30 +00:00
Werner Koch
3c351d0232
UTF-8 Fixes
2007-05-04 09:22:18 +00:00
Werner Koch
634b4c31d2
The Cherry XX44 keyboard's PINpad does now work.
...
DINSIG and NKS card applications are now also PIN pad aware.
2007-03-07 20:55:14 +00:00
Werner Koch
0d4b205630
jnlib/
...
* stringhelp.c (utf8_charcount): New.
agent/
* genkey.c (check_passphrase_constraints): Use UTF-8 aware strlen.
2007-01-25 10:26:55 +00:00
Werner Koch
0173cd5a98
Fixes for CVE-2006-6235
2006-12-06 10:16:50 +00:00
Werner Koch
5885142c83
Made some PIN pads work.
...
Some cleanups for 64 bit CPUs.
2006-11-20 16:49:41 +00:00
Werner Koch
df52700f5c
Fixes
2006-10-19 14:22:06 +00:00
Werner Koch
4b48bcacc9
Fix for bug 537
2006-10-02 11:54:35 +00:00
Werner Koch
2db8df0ba3
Added iconv support and doc cleanups.
2006-09-22 18:15:18 +00:00
Werner Koch
d8602648b8
See ChangeLogs
2006-08-29 16:18:30 +00:00
Werner Koch
6c4ae71b5d
Remove stale lockfiles if created on the same node.
2006-06-28 15:14:09 +00:00
Werner Koch
fbe4ac37f6
g10/ does build again.
2006-05-23 16:19:43 +00:00
Werner Koch
c61489acbf
Fix for sanitize string. Added SHA224
2006-04-28 14:32:13 +00:00
Werner Koch
4459fcb032
Still merging 1.4.3 code back
2006-04-21 12:56:40 +00:00
Werner Koch
29b23dea97
Merged with gpg 1.4.3 code.
...
The gpg part does not yet build.
2006-04-19 11:26:11 +00:00
Werner Koch
deeba405a9
gcc-4 defaults forced me to edit many many files to get rid of the
...
char * vs. unsigned char * warnings. The GNU coding standards used to
say that these mismatches are okay and better than a bunch of casts.
Obviously this has changed now.
2005-06-16 08:12:03 +00:00
Werner Koch
cf8f6d3cef
(stream_read_string): Removed call to abort on
...
memory error because the CVS version of libgcrypt makes sure
that ERRNO gets always set on error even with a faulty user
supplied function.
2005-02-22 18:08:28 +00:00
Werner Koch
625bafa4da
Forgot to commit the recent fixed to scd and logging - doing it now
2005-02-03 13:20:57 +00:00
Werner Koch
f105ceb39c
(do_pth_event_free): The events are hold in a ring
...
buffer. Adjust for that.
(do_pth_event_body): Ditto.
(pth_event_isolate): Ditto.
(do_pth_wait): Ditto.
(_pth_event_count): Renamed to ..
(event_count): .. and adjusted as above.
(pth_init): Define 3 debug levels and change all debug calls to
make use of them. This makes the moule now silent.
2004-12-20 11:36:46 +00:00
Werner Koch
8f22f895e9
* query.c (initialize_module_query):
...
* call-scd.c (initialize_module_call_scd): New.
* w32-pth.c (pth_init): Enable debugging depending on env var.
(pth_self): New.
(pth_mutex_release, pth_mutex_acquire): Implemented directly using
the W32 API.
2004-12-19 17:44:20 +00:00
Werner Koch
e73100a940
* maperror.c (map_assuan_err_with_source): Oops, args were swapped.
...
* w32-pth.c (pth_init): Enable debugging depending on env var.
2004-12-19 13:38:24 +00:00
Werner Koch
694037f2a5
* configure.ac (AH_BOTTOM): Define EXEEXT_S.
...
* autogen.sh: Updated --build-w32 feature.
* gpg-agent.c (main): Remove special Pth initialize.
* w32-pth.c (pth_init): Reverse return values. Use TRUE and FALSE
constants.
(pth_kill, pth_mutex_acquire, pth_attr_set, pth_join, pth_cancel):
Ditto.
* scdaemon.c (main) [W32]: Remove special Pth initialize..
2004-12-18 18:53:32 +00:00
Werner Koch
69967b0412
A whole bunch of changes to allow building for W32.
2004-12-15 14:15:54 +00:00
Werner Koch
53ae21e745
Yep. No lost threads anymore.
...
(_pth_strerror): Renamed to ...
(w32_strerror): .. this. And let callers provide a buffer.
(spawn_helper_thread): Removed HD arg and hardwire the stack size
to 32k.
(do_pth_wait): Removed use of ATTR; not needed for the helper
threads.
(helper_thread): Renamed to ..
(launch_thread): .. this. Release handle if not joinable.
(struct pth_priv_hd_s): Renamed to ...
(struct thread_info_s): .. this. Add member JOINABLE and TH.
2004-12-14 19:20:36 +00:00
Timo Schulz
4becd8ddcc
2004-12-14 Timo Schulz <twoaday@g10code.com>
...
* w32-pth.c (pth_kill): Just release the crit section if
pth_init was really called. And set all handles to NULL.
(_pth_strerror): New.
(do_pth_wait): Before we enter the loop we check if there
are too much events in the ring.
2004-12-14 17:47:12 +00:00
Werner Koch
837ce29cbc
* w32-pth.h (pth_event_occured): Removed macro.
...
* w32-pth.c: Fixed license statement; its under the LGPL.
(enter_pth, leave_pth): Use them to bracket almost all public
functions.
2004-12-14 11:25:04 +00:00
Timo Schulz
db27cdff41
2004-12-13 Timo Schulz <twoaday@g10code.com>
...
* w32-pth.c (enter_pth, leave_pth): New.
(pth_init): Initialize global mutex section.
(pth_kill): Release global mutex section.
(helper_thread): New.
(pth_spawn): Make sure only one thread is running.
2004-12-13 18:00:35 +00:00
Werner Koch
801ab88522
VArious hacks to make it at least build under W32.
...
* stringhelp.c (w32_strerror) [W32]: New.
* w32-pth.c, w32-pth.h: Added real code written by Timo Schulz.
Not finished, though.
* gpgconf-comp.c <ignore-ocsp-service-url>: Fixed typo.
2004-12-13 15:49:56 +00:00
Werner Koch
907c91960e
Added real code written by Timo Schulz.
...
Not finished, though.
2004-12-13 09:05:31 +00:00
Werner Koch
b50a587d8d
* asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.
...
* w32-pth.c, w32-pth.h: New.
* Makefile.am (gpgsm_LDADD): Put libassuan before jnlib because
under W32 we need the w32 pth code from jnlib.
* misc.c (setup_pinentry_env) [W32]: Disabled.
2004-12-07 11:21:40 +00:00
Werner Koch
4a73d94757
First take on a W32 port
2004-12-02 07:48:09 +00:00
Timo Schulz
e0e1585fc8
2004-11-30 Timo Schulz <ts@g10code.com>
...
* w32-afunix.c: New. AF_UNIX emulation for W32.
* w32-afunix.h: Likewise.
2004-11-30 09:48:37 +00:00
Werner Koch
c7b97075aa
* b64enc.c: Include stdio.h and string.h
...
* gpgsm.c: New option --prefer-system-dirmngr.
* call-dirmngr.c (start_dirmngr): Implement this option.
* gpgconf-comp.c <dirmngr>: Add the proxy options.
<gpgsm>: Add --prefer-system-daemon.
2004-11-23 17:09:51 +00:00
Werner Koch
23d73cdeb8
* logging.c (do_logv): Use set_log_stream to setup a default.
...
(log_set_file): Factored code out to ..
(set_file_fd): .. New function to allow using a file descriptor.
(log_set_fd): Make use of new fucntion.
(fun_writer): Reworked.
2004-10-22 09:41:24 +00:00
Werner Koch
9c6da35ea2
(print_sanitized_utf8_string): Actually implement
...
it.
2004-08-18 13:21:56 +00:00
Werner Koch
3571968f04
(log_set_file): Do not close an old logstream if it
...
used to be stderr or stdout.
2004-06-21 09:50:22 +00:00
Werner Koch
edda971a15
(log_set_file): Oops, don't close if LOGSTREAM is NULL.
2004-05-05 19:33:56 +00:00
Werner Koch
623fad67a5
* gpg-agent.c (parse_rereadable_options): New arg REREAD. Allow
...
changing oLogFile.
(current_logfile): New.
* logging.c (log_set_file): Make sure the log stream will be
closed even if the stderr fileno will be assigned to a new socket.
2004-04-30 03:58:21 +00:00