aboutsummaryrefslogtreecommitdiffstats
path: root/jnlib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Started to implement the audit log feature.Werner Koch2007-11-193-5/+37
| | | | | | | | Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry. Improved support for the quality bar. Minor internal restructuring. Translation fixes.
* Use Assuan socket wrapper calls.Werner Koch2007-10-013-83/+76
| | | | | Made socket servers secure under Windows.
* Extended the --check-program output: Error messages are now inlcued in anWerner Koch2007-08-292-53/+64
| | | | | easy parsable format.
* Implemented more gpg-agen options to support certain passphrase policies.Werner Koch2007-08-271-1/+1
| | | | | New tool gpg-check-pattern.
* tryu harder to ignore duplicate specified keyrings and -boxes.Werner Koch2007-08-244-9/+70
| | | | | Documentation updates.
* Fixed creation of private keys under W32.Werner Koch2007-08-221-0/+5
| | | | | Minor code cleanups.
* Implemented the chain model for X.509 validation.Werner Koch2007-08-102-1/+19
|
* Factored common gpgconf constants outWerner Koch2007-08-023-30/+100
| | | | | Fixed W32 compare_filenames
* Changed to GPLv3.Werner Koch2007-07-0429-118/+68
| | | | | Removed intl/.
* A bunch of minor changes for Windows.Werner Koch2007-07-042-49/+63
|
* Made percent_escape more general.Werner Koch2007-06-198-20/+355
| | | | | | Added regression tests support to jnlib. W32 changes.
* jnlib/Marcus Brinkmann2007-06-183-3/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-18 Marcus Brinkmann <[email protected]> * stringhelp.h (percent_escape): New prototype. * stringhelp.c (percent_escape): New function. agent/ 2007-06-18 Marcus Brinkmann <[email protected]> * gpg-agent.c (main): Percent escape pathname in --gpgconf-list output. g10/ 2007-06-18 Marcus Brinkmann <[email protected]> * gpg.c (gpgconf_list): Percent escape output of --gpgconf-list. scdaemon/ 2007-06-18 Marcus Brinkmann <[email protected]> * scdaemon.c (main): Percent escape output of --gpgconf-list. sm/ 2007-06-18 Marcus Brinkmann <[email protected]> * gpgsm.c (main): Percent escape output of --gpgconf-list.
* A whole bunch of changes to allow building for Windows.Werner Koch2007-06-143-0/+61
| | | | | See the ChangeLogs for details.
* First steps towards supporting W32.Werner Koch2007-06-0612-1754/+949
| | | | | | | This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
* UTF-8 FixesWerner Koch2007-05-044-16/+45
|
* The Cherry XX44 keyboard's PINpad does now work.Werner Koch2007-03-072-1/+5
| | | | | DINSIG and NKS card applications are now also PIN pad aware.
* jnlib/Werner Koch2007-01-253-0/+24
| | | | | | | * stringhelp.c (utf8_charcount): New. agent/ * genkey.c (check_passphrase_constraints): Use UTF-8 aware strlen.
* Fixes for CVE-2006-6235Werner Koch2006-12-062-1/+6
|
* Made some PIN pads work.Werner Koch2006-11-202-2/+14
| | | | | Some cleanups for 64 bit CPUs.
* FixesWerner Koch2006-10-193-0/+20
|
* Fix for bug 537Werner Koch2006-10-0225-371/+565
|
* Added iconv support and doc cleanups.Werner Koch2006-09-222-195/+383
|
* See ChangeLogsWerner Koch2006-08-292-2/+14
|
* Remove stale lockfiles if created on the same node.Werner Koch2006-06-282-257/+348
|
* Updated FSF's address.Werner Koch2006-06-2022-35/+58
|
* g10/ does build again.Werner Koch2006-05-238-61/+201
|
* Fix for sanitize string. Added SHA224Werner Koch2006-04-282-7/+14
|
* Still merging 1.4.3 code backWerner Koch2006-04-213-4/+13
|
* Merged with gpg 1.4.3 code. Werner Koch2006-04-194-20/+29
| | | | | The gpg part does not yet build.
* gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch2005-06-166-57/+90
| | | | | | | 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.
* (stream_read_string): Removed call to abort onWerner Koch2005-02-222-2/+3
| | | | | | | memory error because the CVS version of libgcrypt makes sure that ERRNO gets always set on error even with a faulty user supplied function.
* Forgot to commit the recent fixed to scd and logging - doing it nowWerner Koch2005-02-032-28/+18
|
* * preset-passphrase.c (preset_passphrase): Handle --passphrase.Werner Koch2004-12-211-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (gpg_preset_passphrase_LDADD): Reorder libs so that pwquery may use stuff from jnlib. Conditionally add -lwsock2 (gpg_protect_tool_LDADD): Ditto. * preset-passphrase.c (main): Use default_homedir(). (main) [W32]: Initialize sockets. * simple-pwquery.c (agent_open) [W32]: Implement for W32. (readline) [W32]: Use recv instead of read. (writen) [W32]: Use send instead of write. (my_stpcpy): Define a stpcpy replacement so that this file continues to be self-contained. (agent_send_all_options) [W32]: Don't call ttyname. * gnupg-badge-openpgp.eps, gnupg-badge-openpgp.jpg: New * gnupg.texi: Add a logo. * sysnotes.texi: New. * gpgsm.c (main): Use default_homedir(). (main) [W32]: Default to disabled CRL checks. * gpgconf-comp.c (get_config_pathname) [DOSISH]: Detect absolute pathnames with a drive letter.
* (do_pth_event_free): The events are hold in a ringWerner Koch2004-12-202-101/+169
| | | | | | | | | | | | 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.
* * query.c (initialize_module_query):Werner Koch2004-12-193-79/+67
| | | | | | | | | | * 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.
* * maperror.c (map_assuan_err_with_source): Oops, args were swapped.Werner Koch2004-12-192-7/+23
| | | | | * w32-pth.c (pth_init): Enable debugging depending on env var.
* * configure.ac (AH_BOTTOM): Define EXEEXT_S.Werner Koch2004-12-182-39/+78
| | | | | | | | | | | | | | * 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..
* A whole bunch of changes to allow building for W32.Werner Koch2004-12-152-5/+6
|
* Yep. No lost threads anymore.Werner Koch2004-12-142-38/+70
| | | | | | | | | | | | | | (_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 Timo Schulz <[email protected]>Timo Schulz2004-12-142-52/+83
| | | | | | | | | * 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.
* More fixes. First successful use; leaks threads, though.Werner Koch2004-12-141-52/+82
|
* * w32-pth.h (pth_event_occured): Removed macro.Werner Koch2004-12-143-111/+296
| | | | | | | * w32-pth.c: Fixed license statement; its under the LGPL. (enter_pth, leave_pth): Use them to bracket almost all public functions.
* 2004-12-13 Timo Schulz <[email protected]>Timo Schulz2004-12-132-612/+693
| | | | | | | | | * 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.
* VArious hacks to make it at least build under W32.Werner Koch2004-12-135-10/+52
| | | | | | | | | | * 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.
* Added real code written by Timo Schulz.Werner Koch2004-12-133-7/+1270
| | | | | Not finished, though.
* * asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.Werner Koch2004-12-074-4/+52
| | | | | | | | | | * 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.
* * configure.ac (have_w32_system): New. Disable Pth checks for W32.Werner Koch2004-12-061-0/+29
| | | | | | | | | Link jnlib/w32-pth.h to pth.h. * Makefile.am (pkglib_PROGRAMS): Build only for W32. * keydb.c: Don't define DIRSEP_S here.
* First take on a W32 portWerner Koch2004-12-023-1/+11
|
* 2004-11-30 Timo Schulz <[email protected]>Timo Schulz2004-11-303-0/+167
| | | | | | * w32-afunix.c: New. AF_UNIX emulation for W32. * w32-afunix.h: Likewise.
* * b64enc.c: Include stdio.h and string.hWerner Koch2004-11-232-3/+16
| | | | | | | | | * 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.