aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* (agent_put_cache): Fix the test for using the defaultWerner Koch2005-01-042-4/+10
| | | | | TTL.
* (send_pinentry_environment): Fixed changed fromWerner Koch2005-01-032-1/+6
| | | | | 2004-12-18; cut+paste error for lc-messages.
* (find_endpoint): New.Werner Koch2004-12-282-21/+171
| | | | | | | | | | | | (scan_or_find_devices): Add new args to return endpoint info and interface number. (ccid_open_reader, ccid_shutdown_reader): Take care of these new args. (bulk_in, bulk_out): Use the correct endpoints. (ccid_transceive_apdu_level): New. (ccid_transceive): Divert to above. (parse_ccid_descriptor): Allow APDU level exchange mode.
* Post release updatesWerner Koch2004-12-222-1/+5
|
* Minor tweaksV1-9-14Werner Koch2004-12-221-7/+7
|
* Preapring a releaseWerner Koch2004-12-221-220/+226
|
* (set_binary): New.Werner Koch2004-12-225-8/+51
| | | | | (main, open_read, open_fwrite): Use it.
* * gnupg.texi: Reordered.Werner Koch2004-12-226-64/+58
| | | | | * contrib.texi: Updated.
* Adding the tool itself.Werner Koch2004-12-211-0/+290
|
* (gpg-preset-passphrase): New section.Werner Koch2004-12-212-474/+44
|
* * preset-passphrase.c (preset_passphrase): Handle --passphrase.Werner Koch2004-12-2125-31/+8986
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * homedir.c: New. Use CSIDL_APPDATA for W32 as the default homeWerner Koch2004-12-212-1/+42
| | | | | directory.
* * gpg-agent.c (main): Use default_homedir().Werner Koch2004-12-2118-67/+103
| | | | | | | | | | | | | | | | | | | * protect-tool.c (main): Ditto. * signal.c (got_fatal_signal, got_usr_signal) (got_fatal_signal) [DOSISH]: Don't build. * simple-gettext.c: Include sysutils.h * homedir.c: New. * Makefile.am (libcommon_a_SOURCES): Add it. (EXTRA_DIST): Removed mkerror and mkerrtok. * gpgv.c, g10.c (main): Use default_hoemdir (). * scdaemon.c (main): Use default_homedir(). * gpgsm.c (main): Use default_homedir().
* * configure.ac: Add PATHSEP_C and PATHSEP_S. For W32 let allWerner Koch2004-12-2018-114/+270
| | | | | | | | | | | | | | | | | | | | directories default to c:/gnupg. Require libassuan 0.6.9. * gpg-agent.c (main) [W32]: Now that Mutexes work we can remove the pth_init kludge. (main): Add new options --[no-]use-standard-socket. (check_for_running_agent): Check whether it is running on the standard socket. * sysutils.h [W32]: Define sleep. * util.h: Add prototype for mkdtemp. * call-agent.c (start_agent): Before starting a pipe server start to connect to a server on the standard socket. Use PATHSEP * call-dirmngr.c (start_dirmngr): Use PATHSEP. * import.c: Include unistd.h for dup and close.
* (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.
* * call-scd.c (init_membuf, put_membuf, get_membuf): Removed. WeWerner Koch2004-12-209-108/+112
| | | | | | | | | | | | | | | now use the identical implementation from ../common/membuf.c. * pksign.c (agent_pksign): Changed arg OUTFP to OUTBUF and use membuf functions to return the value. * pkdecrypt.c (agent_pkdecrypt): Ditto. * genkey.c (agent_genkey): Ditto. * command.c (cmd_pksign, cmd_pkdecrypt, cmd_genkey): Replaced assuan_get_data_fp() by a the membuf scheme. (clear_outbuf, write_and_clear_outbuf): New. * membuf.c (put_membuf): Wipe out buffer after a failed realloc.
* * query.c (initialize_module_query): New.Werner Koch2004-12-191-3/+3
| | | | | | * call-scd.c (initialize_module_call_scd): New. * gpg-agent.c (main): Call them.
* * query.c (initialize_module_query):Werner Koch2004-12-199-82/+123
| | | | | | | | | | * 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-196-10/+36
| | | | | * w32-pth.c (pth_init): Enable debugging depending on env var.
* * configure.ac (AH_BOTTOM): Define EXEEXT_S.Werner Koch2004-12-1811-105/+147
| | | | | | | | | | | | | | * 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..
* Avoid the " map_to_assuan_status called with no error source" diagnostic.Werner Koch2004-12-1818-13/+68
|
* 2004-12-17 Moritz Schulte <[email protected]>Moritz Schulte2004-12-172-5/+9
| | | | | * query.c: Undo change from 2004-12-05.
* * call-dirmngr.c (isvalid_status_cb, lookup_status_cb)Werner Koch2004-12-174-17/+33
| | | | | | | | | | (run_command_status_cb): Return cancel status if gpgsm_status returned an error. * server.c (gpgsm_status, gpgsm_status2) (gpgsm_status_with_err_code): Return an error code. (gpgsm_status2): Always call va_end().
* (lookup_status_cb): Send progress messagesWerner Koch2004-12-152-3/+41
| | | | | | | | | upstream. (isvalid_status_cb): Ditto. (gpgsm_dirmngr_isvalid): Put CTRL into status CB parameters. (gpgsm_dirmngr_run_command, run_command_status_cb): Pass CTRL to status callback and handle PROGRESS.
* A whole bunch of changes to allow building for W32.Werner Koch2004-12-1532-158/+589
|
* Yep. No lost threads anymore.Werner Koch2004-12-143-39/+71
| | | | | | | | | | | | | | (_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-142-57/+104
|
* * 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-1312-22/+110
| | | | | | | | | | * 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.
* (keybox_release): Close the file pointer.Werner Koch2004-12-072-0/+9
|
* * asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.Werner Koch2004-12-0710-9/+75
| | | | | | | | | | * 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.
* * exechelp.h, exechelp.c: New. Based on code from ../sm/import.c.Werner Koch2004-12-068-233/+331
| | | | | | | | | | | * gpgsm.c (run_protect_tool) [_WIN32]: Disabled. * import.c (popen_protect_tool): Simplified by making use of gnupg_spawn_process. (parse_p12): Likewise, using gnupg_wait_process. * export.c (popen_protect_tool): Ditto. (export_p12): Ditto.
* * configure.ac (have_w32_system): New. Disable Pth checks for W32.Werner Koch2004-12-069-22/+85
| | | | | | | | | Link jnlib/w32-pth.h to pth.h. * Makefile.am (pkglib_PROGRAMS): Build only for W32. * keydb.c: Don't define DIRSEP_S here.
* 2004-12-05 Moritz Schulte <[email protected]>Moritz Schulte2004-12-052-5/+9
| | | | | * query.c (start_pinentry): Allow CTRL be NULL.
* post release version number updatesWerner Koch2004-12-032-1/+5
|
* Fixed copyright comments.V1-9-13Werner Koch2004-12-032-14/+21
|
* Preparing 1.9.13Werner Koch2004-12-037-52/+84
|
* First take on a W32 portWerner Koch2004-12-0222-41/+1476
|
* 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.
* Add dirmngr options to gpgconf and updated the DE translationWerner Koch2004-11-244-107/+118
|
* Add --ignore-http-dp andWerner Koch2004-11-242-0/+11
| | | | | --ignore-ldap-dp.
* * b64enc.c: Include stdio.h and string.hWerner Koch2004-11-2316-38/+131
| | | | | | | | | * 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.
* Post release preparationsWerner Koch2004-10-222-2/+6
|
* Releasing 1.9.12V1-9-12Werner Koch2004-10-223-2/+4
|
* Compile fixes.Werner Koch2004-10-2213-87/+142
|
* Cleaned upWerner Koch2004-10-221-7/+0
|
* * Makefile.am (bin_SCRIPTS): Add gpgsm-gencert.shWerner Koch2004-10-223-12/+24
| | | | | * gpgsm-gencert.sh: Fixed copyright; its part of GnuPG thus FSF.