gnupg.git
10 years agoAdd a custom prompt for the CSR generation.
Werner Koch [Fri, 5 Dec 2008 16:31:39 +0000 (16:31 +0000)]
Add a custom prompt for the CSR generation.
Add a new percent escape fucntion.

10 years agoAdd option --card-timeout.
Werner Koch [Fri, 5 Dec 2008 12:01:01 +0000 (12:01 +0000)]
Add option --card-timeout.
Add a new attribyte to app-openpgp.c
Fix two portability bugs.
Have gpg-connect-agent autostart gpg-agent on W32.

10 years agoTranslate the oktext (yes/no).
Werner Koch [Thu, 20 Nov 2008 21:54:47 +0000 (21:54 +0000)]
Translate the oktext (yes/no).

10 years agoFixed a temporary file name collision between gpg and gpgsm under Windows.
Werner Koch [Thu, 20 Nov 2008 16:26:40 +0000 (16:26 +0000)]
Fixed a temporary file name collision between gpg and gpgsm under Windows.

10 years agoFix last change.
Werner Koch [Thu, 20 Nov 2008 13:08:26 +0000 (13:08 +0000)]
Fix last change.

10 years agoPrint library versions according to GNU standards.
Werner Koch [Tue, 18 Nov 2008 18:01:03 +0000 (18:01 +0000)]
Print library versions according to GNU standards.

10 years agoCleaned up unused gpgsm and gpg options.
Werner Koch [Thu, 13 Nov 2008 12:37:45 +0000 (12:37 +0000)]
Cleaned up unused gpgsm and gpg options.

10 years agoMade arg_parse more readable.
Werner Koch [Wed, 12 Nov 2008 17:41:49 +0000 (17:41 +0000)]
Made arg_parse more readable.

10 years agouse $() instead of backticks.
Werner Koch [Wed, 12 Nov 2008 11:28:42 +0000 (11:28 +0000)]
use $() instead of backticks.

10 years agoReorder libs in kbx.
Werner Koch [Tue, 11 Nov 2008 11:45:17 +0000 (11:45 +0000)]
Reorder libs in kbx.

10 years agoMinor cleanups.
Werner Koch [Tue, 11 Nov 2008 08:22:06 +0000 (08:22 +0000)]
Minor cleanups.

10 years agoRevamped the W32 gettext implementation.
Werner Koch [Tue, 4 Nov 2008 19:54:02 +0000 (19:54 +0000)]
Revamped the W32 gettext implementation.

10 years agoFixed the card removed with cached app bug. (Famous last fix).
Werner Koch [Mon, 3 Nov 2008 19:09:34 +0000 (19:09 +0000)]
Fixed the card removed with cached app bug.  (Famous last fix).

10 years agoUse bin2hex if possible.
Werner Koch [Mon, 3 Nov 2008 10:54:18 +0000 (10:54 +0000)]
Use bin2hex if possible.

10 years agoCheck that the socket is well and served by us.
Werner Koch [Wed, 29 Oct 2008 17:24:27 +0000 (17:24 +0000)]
Check that the socket is well and served by us.

10 years agoCosmetic fix
Werner Koch [Wed, 29 Oct 2008 08:45:13 +0000 (08:45 +0000)]
Cosmetic fix

10 years agoFix last chnage. Reported by Tom Pegios.
Werner Koch [Wed, 29 Oct 2008 08:38:07 +0000 (08:38 +0000)]
Fix last chnage.  Reported by Tom Pegios.

10 years agoFixed w32-gettext.
Werner Koch [Tue, 28 Oct 2008 15:00:23 +0000 (15:00 +0000)]
Fixed w32-gettext.

10 years agoRemove debug code.
Werner Koch [Tue, 28 Oct 2008 12:14:29 +0000 (12:14 +0000)]
Remove debug code.

10 years agofixed a bug in the prompt formatter.
Werner Koch [Tue, 28 Oct 2008 11:41:52 +0000 (11:41 +0000)]
fixed a bug in the prompt formatter.

10 years agoauto po updates.
Werner Koch [Thu, 23 Oct 2008 19:58:20 +0000 (19:58 +0000)]
auto po updates.

10 years agoTry to start the agent before invoking the protect-tool.
Werner Koch [Thu, 23 Oct 2008 09:41:41 +0000 (09:41 +0000)]
Try to start the agent before invoking the protect-tool.

10 years agoHelp dirmngr to use supplied trust anchors.
Werner Koch [Tue, 21 Oct 2008 15:03:51 +0000 (15:03 +0000)]
Help dirmngr to use supplied trust anchors.

10 years ago2008-10-21 Marcus Brinkmann <marcus@g10code.com>
Marcus Brinkmann [Tue, 21 Oct 2008 13:53:08 +0000 (13:53 +0000)]
2008-10-21  Marcus Brinkmann  <marcus@g10code.com>

* command.c (open_card): If connect error is SW_HOST_NO_CARD,
return a more descriptive error.

10 years agoMarked all unused args on non-W32 platforms.
Werner Koch [Mon, 20 Oct 2008 13:53:23 +0000 (13:53 +0000)]
Marked all unused args on non-W32 platforms.

10 years agoFix a bug in estream_snprintf. Found by a failed t-gettime under Windows.
Werner Koch [Sun, 19 Oct 2008 16:10:46 +0000 (16:10 +0000)]
Fix a bug in estream_snprintf.  Found by a failed t-gettime under Windows.

10 years agoUse more warning options with modern GCCs.
Werner Koch [Fri, 17 Oct 2008 19:18:46 +0000 (19:18 +0000)]
Use more warning options with modern GCCs.
Other minor changes.

10 years agoReset the context lock flag after a failed dirmngr start which may happend
Werner Koch [Fri, 17 Oct 2008 13:12:11 +0000 (13:12 +0000)]
Reset the context lock flag after a failed dirmngr start which may happend
due to --disable-dirmngr.

10 years agoMade scdaemon more robust on Windows.
Werner Koch [Wed, 15 Oct 2008 13:23:10 +0000 (13:23 +0000)]
Made scdaemon more robust on Windows.

10 years agoSCD changes for PC/SC under W32.
Werner Koch [Tue, 14 Oct 2008 18:18:21 +0000 (18:18 +0000)]
SCD changes for PC/SC under W32.

10 years agoAdd --delete-keys as alias for --delete-key.
Werner Koch [Mon, 13 Oct 2008 09:42:32 +0000 (09:42 +0000)]
Add --delete-keys as alias for --delete-key.

10 years agoExplain how to delete a secret X.509 key.
Werner Koch [Mon, 13 Oct 2008 09:29:20 +0000 (09:29 +0000)]
Explain how to delete a secret X.509 key.

10 years ago* main.h, mainproc.c (check_sig_and_print), keylist.c
David Shaw [Fri, 3 Oct 2008 20:00:46 +0000 (20:00 +0000)]
* main.h, mainproc.c (check_sig_and_print), keylist.c
(list_keyblock_print), pkclist.c (do_edit_ownertrust), keyedit.c
(menu_showphoto), photoid.c (generate_photo_id, show_photos), misc.c
(pct_expando): Add %v and %V expandos so that displaying photo IDs can
show the attribute validity tag (%v) and string (%V).  Originally by
Daniel Gillmor.

10 years agoAdd /daatfile command to gpg-connect-agent.
Werner Koch [Wed, 1 Oct 2008 16:17:39 +0000 (16:17 +0000)]
Add /daatfile command to gpg-connect-agent.

10 years agoFix bug #922
Werner Koch [Tue, 30 Sep 2008 18:24:10 +0000 (18:24 +0000)]
Fix bug #922

10 years agoExtend --list-dirs to print the bindir.
Werner Koch [Tue, 30 Sep 2008 12:45:44 +0000 (12:45 +0000)]
Extend --list-dirs to print the bindir.

10 years agoAdd gpgsm server command GETINFO agent-check.
Werner Koch [Tue, 30 Sep 2008 10:30:20 +0000 (10:30 +0000)]
Add gpgsm server command GETINFO agent-check.
Fix tests.

10 years agoRemove hacks which are not anymore needed since we now require Libgcrypt 1.4
Werner Koch [Mon, 29 Sep 2008 15:02:55 +0000 (15:02 +0000)]
Remove hacks which are not anymore needed since we now require Libgcrypt 1.4

10 years ago2008-09-28 Marcus Brinkmann <marcus@g10code.com>
Marcus Brinkmann [Sun, 28 Sep 2008 12:48:41 +0000 (12:48 +0000)]
2008-09-28  Marcus Brinkmann  <marcus@g10code.com>

* apdu.c (pcsc_get_status): Fix last change.

10 years ago* keyedit.c (keyedit_menu): Fix bug where a modified keyring loses its
David Shaw [Thu, 25 Sep 2008 18:12:39 +0000 (18:12 +0000)]
* keyedit.c (keyedit_menu): Fix bug where a modified keyring loses its
modified status after a "clean" or "minimize" that doesn't need to do
anything.

10 years agoFix bug #931
Werner Koch [Thu, 25 Sep 2008 12:55:50 +0000 (12:55 +0000)]
Fix bug #931

10 years agoFinished support for v2 cards with the exception of secure messaging.
Werner Koch [Thu, 25 Sep 2008 10:06:02 +0000 (10:06 +0000)]
Finished support for v2 cards with the exception of secure messaging.

10 years ago* pkclist.c (select_algo_from_prefs): Redo function to rank prefs and
David Shaw [Tue, 23 Sep 2008 21:52:18 +0000 (21:52 +0000)]
* pkclist.c (select_algo_from_prefs): Redo function to rank prefs and
pick a consensus winner across all keys.

10 years ago* gpg.texi (OpenPGP Key Management): Clarify setpref a bit.
David Shaw [Tue, 23 Sep 2008 19:18:52 +0000 (19:18 +0000)]
* gpg.texi (OpenPGP Key Management): Clarify setpref a bit.

10 years agoImprovements for 2k keys.
Werner Koch [Tue, 23 Sep 2008 15:42:11 +0000 (15:42 +0000)]
Improvements for 2k keys.

10 years agoMarcus Brinkmann <marcus@g10code.com>
Marcus Brinkmann [Tue, 23 Sep 2008 13:04:42 +0000 (13:04 +0000)]
Marcus Brinkmann  <marcus@g10code.com>

        * apdu.c (pcsc_get_status): Be more relaxed with the usable flag
        under Windows.

M    scd/ChangeLog
M    scd/apdu.c

10 years agoUntested fix for TPDU level exchange of large data (command chaining)
Werner Koch [Tue, 23 Sep 2008 10:36:09 +0000 (10:36 +0000)]
Untested fix for TPDU level exchange of large data (command chaining)

10 years agoSupport the Certifciate DO of the v2 OpenPGP cards.
Werner Koch [Tue, 23 Sep 2008 09:57:45 +0000 (09:57 +0000)]
Support the Certifciate DO of the v2 OpenPGP cards.

10 years ago* keyserver.c (keyserver_import_cert): Allow keyserver URLs in
David Shaw [Thu, 4 Sep 2008 16:54:58 +0000 (16:54 +0000)]
* keyserver.c (keyserver_import_cert): Allow keyserver URLs in
  addition to full URLs in CERT records.

10 years agoWorkaround for a mingw runtime bug.
Werner Koch [Thu, 4 Sep 2008 10:35:41 +0000 (10:35 +0000)]
Workaround for a mingw runtime bug.

10 years agoFix gpg-preset-passphrase bug.
Werner Koch [Wed, 3 Sep 2008 09:37:32 +0000 (09:37 +0000)]
Fix gpg-preset-passphrase bug.
Cleanups

10 years ago2008-08-30 Moritz <moritz@gnu.org>
Moritz Schulte [Sun, 31 Aug 2008 11:55:09 +0000 (11:55 +0000)]
2008-08-30  Moritz  <moritz@gnu.org>

* scdaemon.c (main): Use estream_asprintf instead of asprintf.
* command.c (update_reader_status_file): Likewise.
(cmd_serialno): Use estream_asprintf instead of asprintf
and xfree instead of free to release memory allocated
through (estream_)asprintf.
(cmd_learn): Likewise.
(pin_cb): Likewise.
* app-openpgp.c (get_public_key): Likewise.

10 years agoAdd a warning nite to --throw-keyds.
Werner Koch [Thu, 28 Aug 2008 14:57:25 +0000 (14:57 +0000)]
Add a warning nite to --throw-keyds.

10 years ago* configure.ac: Use printf for the most portable SVN version
David Shaw [Wed, 27 Aug 2008 17:01:29 +0000 (17:01 +0000)]
* configure.ac: Use printf for the most portable SVN version
  detection.

10 years ago* configure.ac: Darwin's /bin/sh has a builtin echo that doesn't
David Shaw [Wed, 27 Aug 2008 05:58:30 +0000 (05:58 +0000)]
* configure.ac: Darwin's /bin/sh has a builtin echo that doesn't
understand '-n'.  Use tr to trim the carriage return instead.

10 years agoAvoid passing NULL to printf while debugging.
Werner Koch [Tue, 19 Aug 2008 19:36:42 +0000 (19:36 +0000)]
Avoid passing NULL to printf while debugging.

10 years agoFix new test for v2 cards.
Werner Koch [Mon, 18 Aug 2008 11:08:04 +0000 (11:08 +0000)]
Fix new test for v2 cards.

10 years agoPrint a 'f' for validated non-root certificates in gpgsm colon style listing.
Werner Koch [Wed, 13 Aug 2008 15:41:48 +0000 (15:41 +0000)]
Print a 'f' for validated non-root certificates in gpgsm colon style listing.
Doc fixes.

10 years agoCehck for expire date overflows.
Werner Koch [Mon, 11 Aug 2008 08:08:08 +0000 (08:08 +0000)]
Cehck for expire date overflows.

10 years agoFix APDU buffer problem under MAC OS.
Werner Koch [Mon, 11 Aug 2008 07:42:25 +0000 (07:42 +0000)]
Fix APDU buffer problem under MAC OS.

10 years ago2008-08-08 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 8 Aug 2008 01:06:48 +0000 (01:06 +0000)]
2008-08-08  Marcus Brinkmann  <marcus@g10code.de>

* gpgsm.h (struct server_control_s): Remove member dirmngr_seen.
* call-dirmngr.c (dirmngr2_ctx, dirmngr_ctx_locked)
(dirmngr2_ctx_locked): New global variables.
(prepare_dirmngr): Don't check dirmngr_seen anymore.
(start_dirmngr): Move bunch of code to ...
(start_dirmngr_ext): ... this new function.
(release_dirmngr, start_dirmngr2, release_dirmngr2): New
functions.
(gpgsm_dirmngr_isvalid): Call release_dirmngr.
(gpgsm_dirmngr_lookup): Call release_dirmngr.  If dirmngr_ctx is
locked, use dirmngr2_locked.
(gpgsm_dirmngr_run_command): Call release_dirmngr.

10 years agoAdd a warning note to --allow-multiple-messages.
Werner Koch [Thu, 7 Aug 2008 07:46:52 +0000 (07:46 +0000)]
Add a warning note to --allow-multiple-messages.
s/Sylpeed-Claws/Claws-Mail/.

10 years ago2008-08-06 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 6 Aug 2008 14:38:41 +0000 (14:38 +0000)]
2008-08-06  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (gc_options_gpgsm): Change type of keyserver
option to GC_ARG_TYPE_LDAP_SERVER.

10 years agoMarcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 6 Aug 2008 11:48:23 +0000 (11:48 +0000)]
Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (retrieve_options_from_file): Transfer the
NO_CHANGE flag from the file name option to the list option.

10 years agoFix !EROFS bug.
Werner Koch [Fri, 1 Aug 2008 10:51:11 +0000 (10:51 +0000)]
Fix !EROFS bug.
Doc updates

10 years agoprompt change.
Werner Koch [Wed, 30 Jul 2008 10:25:18 +0000 (10:25 +0000)]
prompt change.

10 years agoUpdate.
Werner Koch [Mon, 21 Jul 2008 07:38:53 +0000 (07:38 +0000)]
Update.

10 years agoRevert that last stupid setuid detection fix.
Werner Koch [Thu, 17 Jul 2008 19:49:51 +0000 (19:49 +0000)]
Revert that last stupid setuid detection fix.

10 years agoDo not run the setuid test if running under as root proper.
Werner Koch [Thu, 17 Jul 2008 19:40:53 +0000 (19:40 +0000)]
Do not run the setuid test if running under as root proper.
Documentation fixes.
Some enhancements for the new OpenPGP Card.

10 years agoMinor fixes.
Werner Koch [Thu, 26 Jun 2008 19:21:45 +0000 (19:21 +0000)]
Minor fixes.

10 years agoStart support of TCOS 3 cards.
Werner Koch [Thu, 26 Jun 2008 19:09:07 +0000 (19:09 +0000)]
Start support of TCOS 3 cards.
Support restriction attribute.
Fix utf-8 printing problems.
Use AES by default.

10 years agog10/
Marcus Brinkmann [Wed, 25 Jun 2008 17:44:26 +0000 (17:44 +0000)]
g10/
2008-06-25  Marcus Brinkmann  <marcus@g10code.de>

* gpg.c (enum cmd_and_opt_values): Remove option
oEnableW32HandleTranslation.
(opts): Remove option --enable-w32-handle-translation.
(main): Remove variable w32_handle_translation.

common/
2008-06-25  Marcus Brinkmann  <marcus@g10code.de>

Revert last three changes related to handle translation.
* sysutils.c:
(FD_TRANSLATE_MAX, fd_translate, fd_translate_len)
(translate_table_init, translate_table_lookup): Removed.
* iobuf.c (check_special_filename): Do not use
translate_table_lookup.
* sysutils.h (translate_table_init, translate_table_lookup):
Remove prototypes.

10 years agoadd new certifciates
Werner Koch [Wed, 25 Jun 2008 11:14:48 +0000 (11:14 +0000)]
add new certifciates

10 years agoAdd support for the TCOS NullPIN feature.
Werner Koch [Tue, 24 Jun 2008 16:00:29 +0000 (16:00 +0000)]
Add support for the TCOS NullPIN feature.

10 years agoCode cleanup.
Werner Koch [Mon, 23 Jun 2008 14:43:14 +0000 (14:43 +0000)]
Code cleanup.

10 years agoAdd the group option to gpgconf and define the new type "alias list".
Werner Koch [Thu, 19 Jun 2008 13:09:40 +0000 (13:09 +0000)]
Add the group option to gpgconf and define the new type "alias list".

10 years agoRobustness fix.
Werner Koch [Thu, 19 Jun 2008 10:45:16 +0000 (10:45 +0000)]
Robustness fix.
Add group to the --gpgconf-list.

10 years ago2008-06-18 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 18 Jun 2008 15:16:53 +0000 (15:16 +0000)]
2008-06-18  Marcus Brinkmann  <marcus@g10code.de>

* sysutils.c (TRANS_MAX): Bump up to 350 to be on the safe side.

10 years ago2008-06-18 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 18 Jun 2008 14:49:54 +0000 (14:49 +0000)]
2008-06-18  Marcus Brinkmann  <marcus@g10code.de>

* gpg.c (enum cmd_and_opt_values): New option
oEnableW32HandleTranslation.
(opts): New option --enable-w32-handle-translation.
(main): New variable w32_handle_translation to keep track of
option.

10 years ago2008-06-18 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 18 Jun 2008 14:46:05 +0000 (14:46 +0000)]
2008-06-18  Marcus Brinkmann  <marcus@g10code.de>

* sysutils.h (translate_table_init, translate_table_lookup): New
prototypes.
* sysutils.c: Include <ctype.h>.
(FD_TRANSLATE_MAX): New macro.
(fd_translate, fd_translate_len): New static variables.
(translate_table_init, translate_table_lookup): New functions.
(translate_sys2libc_fd_int): Translate file descriptor.
* iobuf.c (check_special_filename): Translate handle values from
special filenames.

10 years agoAdd controlo statement %ask-passphrase
Werner Koch [Mon, 16 Jun 2008 15:48:33 +0000 (15:48 +0000)]
Add controlo statement %ask-passphrase

10 years ago[W32] Change location of /etc.
Werner Koch [Mon, 16 Jun 2008 13:55:01 +0000 (13:55 +0000)]
[W32] Change location of /etc.

10 years ago2008-06-13 Marcus Brinkmann <marcus@ulysses.g10code.com>
Marcus Brinkmann [Fri, 13 Jun 2008 22:10:22 +0000 (22:10 +0000)]
2008-06-13  Marcus Brinkmann  <marcus@ulysses.g10code.com>

* call-dirmngr.c (prepare_dirmngr): Fix error code to ignore.

10 years agoClarify descrition for field 10.
Werner Koch [Fri, 13 Jun 2008 16:50:59 +0000 (16:50 +0000)]
Clarify descrition for field 10.

10 years agoImplement dotlocking for W32.
Werner Koch [Fri, 13 Jun 2008 16:18:59 +0000 (16:18 +0000)]
Implement dotlocking for W32.

10 years agosm/
Marcus Brinkmann [Thu, 12 Jun 2008 14:24:46 +0000 (14:24 +0000)]
sm/
2008-06-12  Marcus Brinkmann  <marcus@g10code.de>

* gpgsm.h (struct keyserver_spec): New struct.
(opt): Add member keyserver.
* gpgsm.c (keyserver_list_free, parse_keyserver_line): New functions.
(main): Implement --keyserver option.
* call-dirmngr.c (prepare_dirmngr): Send LDAPSERVER commands.

tools/
2008-06-12  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (gc_options_gpgsm): Add option keyserver.

10 years agoRemoved unused variable.
Werner Koch [Wed, 11 Jun 2008 16:35:03 +0000 (16:35 +0000)]
Removed unused variable.

10 years agoMade --fixed-list-mode obsolete.
Werner Koch [Wed, 11 Jun 2008 08:07:54 +0000 (08:07 +0000)]
Made --fixed-list-mode obsolete.

10 years agoAdd Base64 decoder. Not yet used but complements out encoder.
Werner Koch [Mon, 9 Jun 2008 14:49:28 +0000 (14:49 +0000)]
Add Base64 decoder.  Not yet used but complements out encoder.

10 years agoAs a failsafe measure use memcpy instead of strcpy in gnupg_copy_time.
Werner Koch [Thu, 5 Jun 2008 07:46:12 +0000 (07:46 +0000)]
As a failsafe measure use memcpy instead of strcpy in gnupg_copy_time.
Typo fix.

10 years agoChanges the header presented before requesting the user ID.
Werner Koch [Sun, 1 Jun 2008 19:44:05 +0000 (19:44 +0000)]
Changes the header presented before requesting the user ID.

10 years agoThe Spanish translation is now up to to date. Modulo some changes I did
Werner Koch [Wed, 28 May 2008 10:08:37 +0000 (10:08 +0000)]
The Spanish translation is now up to to date.  Modulo some changes I did
since the last release.

10 years agoFixed segv in gpg-agent (command marktrusted).
Werner Koch [Tue, 27 May 2008 12:03:50 +0000 (12:03 +0000)]
Fixed segv in gpg-agent (command marktrusted).
Replaced almost all free by xfree.
Translation fixes.

10 years agoMinor bug fixes and document new gpg-connect-feature.
Werner Koch [Mon, 26 May 2008 16:48:05 +0000 (16:48 +0000)]
Minor bug fixes and document new gpg-connect-feature.

10 years ago2008-05-26 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 26 May 2008 15:05:31 +0000 (15:05 +0000)]
2008-05-26  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c: Replace pathname by filename everywhere.

10 years agodoc/
Marcus Brinkmann [Mon, 26 May 2008 13:43:20 +0000 (13:43 +0000)]
doc/
2008-05-26  Marcus Brinkmann  <marcus@ulysses.g10code.com>

* tools.texi (Invoking gpgconf): Document --list-dirs.

tools/
2008-05-26  Marcus Brinkmann  <marcus@ulysses.g10code.com>

* gpgconf.c (enum cmd_and_opt_values): Add aListDirs.
(opts): Add aListDirs option.
(main): Handle aListDirs.
* gpgconf.h (gc_percent_escape): New declaration.
* gpgconf-comp.c (my_percent_escape): Make non-static and rename
to ...
(gc_percent_escape): ... this.  Change all callers.

10 years agoMake --runtime option of gpgconf under W32 work.
Werner Koch [Mon, 26 May 2008 12:00:55 +0000 (12:00 +0000)]
Make --runtime option of gpgconf under W32 work.

10 years agoFix --output option used when with --export-secret-kety-p12.
Werner Koch [Tue, 20 May 2008 08:00:40 +0000 (08:00 +0000)]
Fix --output option used when with --export-secret-kety-p12.

10 years agodoc/
Marcus Brinkmann [Mon, 19 May 2008 22:46:41 +0000 (22:46 +0000)]
doc/
2008-05-20  Marcus Brinkmann  <marcus@g10code.de>

* tools.texi (Invoking gpgconf): Add --dry-run and --check-options.
(Checking programs): Document --check-options.

tools/
2008-05-20  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf.h (gc_component_check_programs): Rename to ...
(gc_check_programs): ... this.
(gc_component_change_options): Add argument OUT.
(gc_component_check_options): New function.
* gpgconf.c (enum cmd_and_opt_values): New option aCheckOptions.
(opts): Add new option aCheckOptions (aka --check-options).
(main): Handle new option aCheckOptions.
* gpgconf-comp.c (gc_component_check_programs): Rename to ...
(gc_check_programs): ... this.  Refactor core of it to ...
(gc_component_check_options): ... this new function.
(gc_component_change_options): Add new argument OUT.  Externally
verify all changes.  Implement option --dry-run.

10 years ago2008-05-15 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 15 May 2008 10:59:35 +0000 (10:59 +0000)]
2008-05-15  Marcus Brinkmann  <marcus@g10code.de>

* gpg.texi (Operational GPG Commands): Mention the way to change
the default signing key.