gnupg.git
9 years agoFix for extended length Le in decipher
Werner Koch [Thu, 3 Sep 2009 10:57:23 +0000 (10:57 +0000)]
Fix for extended length Le in decipher

9 years agoUpdate estream.
Werner Koch [Thu, 3 Sep 2009 10:44:13 +0000 (10:44 +0000)]
Update estream.

9 years agoMake use of strconcat to make the code more robust against future changes.
Werner Koch [Wed, 26 Aug 2009 10:58:13 +0000 (10:58 +0000)]
Make use of strconcat to make the code more robust against future changes.

9 years agoExpand a ~ in the ca-cert-file argument.
Werner Koch [Wed, 26 Aug 2009 10:12:17 +0000 (10:12 +0000)]
Expand a ~ in the ca-cert-file argument.

9 years agoRefactor new code.
Werner Koch [Wed, 26 Aug 2009 09:24:04 +0000 (09:24 +0000)]
Refactor new code.

9 years agoImplement tilde expansion in the same was as 1.4.
Werner Koch [Wed, 26 Aug 2009 08:55:57 +0000 (08:55 +0000)]
Implement tilde expansion in the same was as 1.4.

9 years agoFix debian bug#543530
Werner Koch [Wed, 26 Aug 2009 06:46:02 +0000 (06:46 +0000)]
Fix debian bug#543530

9 years agoNew fucntions strconcat and xstrconcat.
Werner Koch [Tue, 25 Aug 2009 20:19:37 +0000 (20:19 +0000)]
New fucntions strconcat and xstrconcat.

9 years ago* gpg.text: Suggested new ordering for --edit-key.
David Shaw [Mon, 24 Aug 2009 22:21:39 +0000 (22:21 +0000)]
* gpg.text: Suggested new ordering for --edit-key.

9 years ago2009-08-20 Daiki Ueno <ueno@unixuser.org>
Werner Koch [Thu, 20 Aug 2009 08:41:15 +0000 (08:41 +0000)]
2009-08-20  Daiki Ueno  <ueno@unixuser.org>

    * mainproc.c (proc_encrypted): Clear passphrase cached with S2K
      cache ID if decryption failed.
    * passphrase.c (passphrase_to_dek_ext): Set dek->s2k_cacheid.
    * gpgv.c (passphrase_clear_cache): New stub.

9 years agoFixed bug#920
Werner Koch [Tue, 18 Aug 2009 09:32:00 +0000 (09:32 +0000)]
Fixed bug#920

9 years ago* gpg.texi (OpenPGP Options): Clarify that personal-foo-preferences
David Shaw [Mon, 17 Aug 2009 16:48:49 +0000 (16:48 +0000)]
* gpg.texi (OpenPGP Options): Clarify that personal-foo-preferences
overrides recipient preferences (safely).

9 years ago* gpg.texi (GPG Configuration Options): Document keyserver options
David Shaw [Fri, 14 Aug 2009 19:43:26 +0000 (19:43 +0000)]
* gpg.texi (GPG Configuration Options): Document keyserver options
check-cert and ca-cert-file.

9 years ago* ttyio.h, ttyio.c (tty_enable_completion): Some ifdefs around
David Shaw [Tue, 11 Aug 2009 18:34:16 +0000 (18:34 +0000)]
* ttyio.h, ttyio.c (tty_enable_completion): Some ifdefs around
HAVE_LIBREADLINE to allow building when readline isn't available.

9 years agoAsk to insert the right OpenPGP card.
Werner Koch [Tue, 11 Aug 2009 10:56:44 +0000 (10:56 +0000)]
Ask to insert the right OpenPGP card.

9 years agoImproved detection of bad/invalid signer keys.
Werner Koch [Thu, 6 Aug 2009 20:12:00 +0000 (20:12 +0000)]
Improved detection of bad/invalid signer keys.

9 years agoEnable readline support in --card-edit.
Werner Koch [Wed, 5 Aug 2009 13:48:23 +0000 (13:48 +0000)]
Enable readline support in --card-edit.
better cope with re-inserted cards.

9 years agoAsk for the keysize when generating a new card key.
Werner Koch [Wed, 5 Aug 2009 11:24:43 +0000 (11:24 +0000)]
Ask for the keysize when generating a new card key.

9 years ago* gpg.c (main): --pgp6 includes --disable-mdc.
David Shaw [Fri, 31 Jul 2009 14:36:59 +0000 (14:36 +0000)]
* gpg.c (main): --pgp6 includes --disable-mdc.

9 years ago* gpg.texi (OpenPGP Options): Don't mention --no-sk-comment (doesn't
David Shaw [Fri, 31 Jul 2009 14:36:22 +0000 (14:36 +0000)]
* gpg.texi (OpenPGP Options): Don't mention --no-sk-comment (doesn't
exist any longer).

9 years agoComment changes.
Werner Koch [Thu, 30 Jul 2009 16:45:06 +0000 (16:45 +0000)]
Comment changes.
Changed --learn-card.

9 years ago2009-07-29 Marcus Brinkmann <marcus@g10code.com>
Marcus Brinkmann [Wed, 29 Jul 2009 16:19:48 +0000 (16:19 +0000)]
2009-07-29  Marcus Brinkmann  <marcus@g10code.com>

* ccid-driver.c (print_pr_data): Fix 64 bit compat problem.

9 years ago2009-07-29 Marcus Brinkmann <marcus@g10code.com>
Marcus Brinkmann [Wed, 29 Jul 2009 16:05:49 +0000 (16:05 +0000)]
2009-07-29  Marcus Brinkmann  <marcus@g10code.com>

* keylist.c (print_capabilities): Print a trailing colon.

9 years agoWorkaround for SCR3320
Werner Koch [Fri, 24 Jul 2009 11:01:17 +0000 (11:01 +0000)]
Workaround for SCR3320

9 years ago* srv.c (getsrv): Fix type-punning warning.
David Shaw [Thu, 23 Jul 2009 18:56:56 +0000 (18:56 +0000)]
* srv.c (getsrv): Fix type-punning warning.

9 years agoTry a DNS-SD lookup to find a domain-specific LDAP server before
David Shaw [Thu, 23 Jul 2009 18:28:54 +0000 (18:28 +0000)]
Try a DNS-SD lookup to find a domain-specific LDAP server before
resorting to keys.{domain}.

9 years agoPrint status of CRL checks in the audit log.
Werner Koch [Thu, 23 Jul 2009 15:18:58 +0000 (15:18 +0000)]
Print status of CRL checks in the audit log.

9 years agoMake use of the card's extended capabilities.
Werner Koch [Wed, 22 Jul 2009 17:21:47 +0000 (17:21 +0000)]
Make use of the card's extended capabilities.

9 years agoEmit CARDCTRL status lines.
Werner Koch [Wed, 22 Jul 2009 16:08:58 +0000 (16:08 +0000)]
Emit CARDCTRL status lines.

9 years agoTypo fixes. Fixes bug#1093
Werner Koch [Wed, 22 Jul 2009 13:33:46 +0000 (13:33 +0000)]
Typo fixes.  Fixes bug#1093

9 years agoGive hints on files to backup.
Werner Koch [Wed, 22 Jul 2009 10:24:46 +0000 (10:24 +0000)]
Give hints on files to backup.

9 years agoPrint verbose instructions in case of a corrupted trustdb.
Werner Koch [Wed, 22 Jul 2009 09:43:10 +0000 (09:43 +0000)]
Print verbose instructions in case of a corrupted trustdb.

9 years agoFix i18n bug.
Werner Koch [Tue, 21 Jul 2009 15:44:30 +0000 (15:44 +0000)]
Fix i18n bug.

9 years agoMake bug reporting address easier changeable.
Werner Koch [Tue, 21 Jul 2009 14:21:05 +0000 (14:21 +0000)]
Make bug reporting address easier changeable.

9 years agoFix bug 1091.
Werner Koch [Mon, 20 Jul 2009 11:02:20 +0000 (11:02 +0000)]
Fix bug 1091.
Doc fixes.
Replace assert by error message.

9 years agoFix bug 1090.
Werner Koch [Mon, 20 Jul 2009 10:42:45 +0000 (10:42 +0000)]
Fix bug 1090.

9 years agoAdd code to better handle unplugging of a reader.
Werner Koch [Thu, 16 Jul 2009 15:54:59 +0000 (15:54 +0000)]
Add code to better handle unplugging of a reader.

9 years ago[g10]
Werner Koch [Mon, 13 Jul 2009 17:36:02 +0000 (17:36 +0000)]
[g10]
* exec.c: Fix function name indentation.
(expand_args): Simplify by using membuf functions.
(exec_write): Fix memory leak on error.
(w32_system): Use DETACHED_PROCESS so
that a new console is not created.

9 years agoAdd new prototypes
Werner Koch [Mon, 13 Jul 2009 09:59:50 +0000 (09:59 +0000)]
Add new prototypes

9 years ago* ccid-driver.c (struct ccid_driver_s): Add fields last_progress,
Werner Koch [Mon, 13 Jul 2009 09:59:22 +0000 (09:59 +0000)]
* ccid-driver.c (struct ccid_driver_s): Add fields last_progress,

progress_cb and progress_cb_arg.
(ccid_set_progress_cb): New.
(print_progress): New.
(ccid_transceive): Call print_progress for wait time extensions.
* apdu.c (struct reader_table_s): Add field set_progress_cb.
(new_reader_slot): Clear that field.
(open_ccid_reader): Set it to ..
(set_progress_cb_ccid_reader): ... new fucntion.
* app.c (print_progress_line): New.
(lock_reader): Add arg CTRL to set a progress callback and
change all callers to provide it.
(unlock_reader): Remove the progress callback.

9 years agoBetter reset the PIN verification stati after changing the key attributes.
Werner Koch [Fri, 10 Jul 2009 10:47:30 +0000 (10:47 +0000)]
Better reset the PIN verification stati after changing the key attributes.

9 years agoFix for card keys > 2048 bit.
Werner Koch [Fri, 10 Jul 2009 10:15:33 +0000 (10:15 +0000)]
Fix for card keys > 2048 bit.

9 years agoSupport writing of existing keys with non-matching key sizes.
Werner Koch [Thu, 9 Jul 2009 14:54:18 +0000 (14:54 +0000)]
Support writing of existing keys with non-matching key sizes.

9 years agoMarked an entry fuzzy.
Werner Koch [Thu, 9 Jul 2009 09:12:01 +0000 (09:12 +0000)]
Marked an entry fuzzy.

9 years agoChanged default hash algorithm preferences
Werner Koch [Thu, 9 Jul 2009 08:52:31 +0000 (08:52 +0000)]
Changed default hash algorithm preferences

9 years ago* gpgkeys_hkp.c (main, srv_replace): Minor tweaks to use the DNS-SD
David Shaw [Wed, 8 Jul 2009 04:01:13 +0000 (04:01 +0000)]
* gpgkeys_hkp.c (main, srv_replace): Minor tweaks to use the DNS-SD
names ("pgpkey-http" and "pgpkey-https") in SRV lookups instead of
"hkp" and "hkps".

9 years agoImpleemned gpgsm's IMPORT --re-import feature.
Werner Koch [Tue, 7 Jul 2009 16:52:12 +0000 (16:52 +0000)]
Impleemned gpgsm's IMPORT --re-import feature.
Typo fix.

9 years agoMinor bug fixes.
Werner Koch [Tue, 7 Jul 2009 16:51:33 +0000 (16:51 +0000)]
Minor bug fixes.
Enhanced function docs.

9 years agoRelease session_env.
Werner Koch [Tue, 7 Jul 2009 10:29:52 +0000 (10:29 +0000)]
Release session_env.

9 years agoReworked passing of envars to Pinentry.
Werner Koch [Tue, 7 Jul 2009 10:02:41 +0000 (10:02 +0000)]
Reworked passing of envars to Pinentry.

9 years ago* debugging.texi (Common Problems): Add a note about corrupted
Werner Koch [Mon, 6 Jul 2009 21:33:34 +0000 (21:33 +0000)]
* debugging.texi (Common Problems): Add a note about corrupted

keys in --search-keys.

9 years agoCreate a pkcs#10 request directly from a card.
Werner Koch [Thu, 2 Jul 2009 09:49:31 +0000 (09:49 +0000)]
Create a pkcs#10 request directly from a card.
Deprecate gpgsm-gencert.sh script.

9 years agoAlow batch ode for gpgsm --gen-key.
Werner Koch [Wed, 1 Jul 2009 18:30:33 +0000 (18:30 +0000)]
Alow batch ode for gpgsm --gen-key.
Allow CSR generation using an existing key with gpgsm.

9 years agoAdd comment about Cherry.
Werner Koch [Wed, 1 Jul 2009 10:53:02 +0000 (10:53 +0000)]
Add comment about Cherry.

9 years agoTranslation fix
Werner Koch [Tue, 30 Jun 2009 11:29:03 +0000 (11:29 +0000)]
Translation fix

9 years agoOOps commited an old version. Fixed now.
Werner Koch [Tue, 30 Jun 2009 08:22:28 +0000 (08:22 +0000)]
OOps commited an old version.  Fixed now.

9 years agosmall fix for Omnikey. Works with CM4040 now.
Werner Koch [Tue, 30 Jun 2009 08:19:28 +0000 (08:19 +0000)]
small fix for Omnikey.  Works with CM4040 now.

9 years agoMake soem omnikey readers work with extended length APDUs.
Werner Koch [Mon, 29 Jun 2009 20:54:00 +0000 (20:54 +0000)]
Make soem omnikey readers work with extended length APDUs.

9 years agoSupport the Windows sniffusb tool.
Werner Koch [Mon, 29 Jun 2009 15:56:07 +0000 (15:56 +0000)]
Support the Windows sniffusb tool.

9 years agoReworked the estream memory buffer allocation.
Werner Koch [Mon, 29 Jun 2009 10:43:57 +0000 (10:43 +0000)]
Reworked the estream memory buffer allocation.
Committed already posted patches for the v2 card.

9 years agoThe variable is called RET and not RC.
Werner Koch [Mon, 29 Jun 2009 08:54:18 +0000 (08:54 +0000)]
The variable is called RET and not RC.

9 years agoFixed stupid typo.
Werner Koch [Thu, 25 Jun 2009 14:10:14 +0000 (14:10 +0000)]
Fixed stupid typo.

9 years agoFixed a bunch of little bugs as reported by Fabian Keil.
Werner Koch [Wed, 24 Jun 2009 14:03:09 +0000 (14:03 +0000)]
Fixed a bunch of little bugs as reported by Fabian Keil.
Still one problem left; marked with a gcc #warning.

9 years agoPost release updates
Werner Koch [Wed, 17 Jun 2009 11:57:24 +0000 (11:57 +0000)]
Post release updates

9 years agoPreparing for 2.0.12. gnupg-2.0.12
Werner Koch [Wed, 17 Jun 2009 11:18:26 +0000 (11:18 +0000)]
Preparing for 2.0.12.

9 years agoUse cancel button in confirmation only if requested.
Werner Koch [Wed, 17 Jun 2009 10:19:50 +0000 (10:19 +0000)]
Use cancel button in confirmation only if requested.

9 years agoAdd readcert command.
Werner Koch [Wed, 17 Jun 2009 09:45:50 +0000 (09:45 +0000)]
Add readcert command.
fix reading large certificates.

9 years agoapp-openpgp changes
Werner Koch [Tue, 9 Jun 2009 19:11:28 +0000 (19:11 +0000)]
app-openpgp changes

9 years agoTypo fix. Updated German translation.
Werner Koch [Mon, 8 Jun 2009 09:11:27 +0000 (09:11 +0000)]
Typo fix.  Updated German translation.

9 years agoHelp against closed standard descriptors.
Werner Koch [Mon, 8 Jun 2009 08:15:34 +0000 (08:15 +0000)]
Help against closed standard descriptors.

9 years agoFix last change
Werner Koch [Fri, 5 Jun 2009 20:51:52 +0000 (20:51 +0000)]
Fix last change

9 years agoAdd full Camellia support.
David Shaw [Fri, 5 Jun 2009 14:11:03 +0000 (14:11 +0000)]
Add full Camellia support.

* configure.ac: Remove Camellia restriction.

* gpg.c (main), misc.c (openpgp_cipher_test_algo): Remove Camellia
restriction.

* misc.c (map_cipher_openpgp_to_gcry), main.h: Add macros for
openpgp_cipher_open, openpgp_cipher_get_algo_keylen, and
openpgp_cipher_get_algo_blklen to wrap around the corresponding gcry_*
functions, but pass the algorithm number through
map_cipher_openpgp_to_gcry.  This is needed in case the gcry algorithm
number doesn't match the OpenPGP number (c.f. Camellia).

* encr-data.c, pubkey-enc.c, mainproc.c, cipher.c, encode.c, seskey.c,
passphrase.c, seckey-cert.c: Use new openpgp_cipher_* macros here.

9 years ago* defs.inc: Improved all_cipher_algos and all_hash_algos to work when
David Shaw [Fri, 5 Jun 2009 13:54:08 +0000 (13:54 +0000)]
* defs.inc: Improved all_cipher_algos and all_hash_algos to work when
there are more than one line of algorithms.  From 1.4.

9 years agoDefine SUN_LEN also for W32.
Werner Koch [Thu, 4 Jun 2009 14:19:21 +0000 (14:19 +0000)]
Define SUN_LEN also for W32.

9 years agoFixed an fopen problem on Windows Vista.
Werner Koch [Wed, 3 Jun 2009 17:24:24 +0000 (17:24 +0000)]
Fixed an fopen problem on Windows Vista.

9 years agoFix for bug#1066.
Werner Koch [Tue, 2 Jun 2009 15:46:59 +0000 (15:46 +0000)]
Fix for bug#1066.
A couple of minor changes.

9 years agoFix bug#1069.
Werner Koch [Tue, 2 Jun 2009 14:25:28 +0000 (14:25 +0000)]
Fix bug#1069.

9 years agoAvoid caches to get the most recent copy of the key. This is bug #1061
David Shaw [Thu, 28 May 2009 16:20:49 +0000 (16:20 +0000)]
Avoid caches to get the most recent copy of the key.  This is bug #1061

9 years ago* http.h, http.c (send_request): Pass in srvtag and make its presence
David Shaw [Thu, 28 May 2009 04:25:25 +0000 (04:25 +0000)]
* http.h, http.c (send_request): Pass in srvtag and make its presence
sufficient to turn the feature on.  (http_open): From here.
(http_document): And here.

* gpgkeys_hkp.c (srv_replace): New function to transform a SRV
hostname to a real hostname.  (main): Call it from here for the
HAVE_LIBCURL case (without libcurl is handled via the curl-shim).

* curl-shim.h, curl-shim.c (curl_easy_setopt, curl_easy_perform): Add
a CURLOPT_SRVTAG_GPG_HACK (passed through the the http engine).

9 years ago* srv.c (getsrv): Raise maximum packet size to 2048, as PACKETSZ is
David Shaw [Thu, 28 May 2009 03:24:54 +0000 (03:24 +0000)]
* srv.c (getsrv): Raise maximum packet size to 2048, as PACKETSZ is
too small these days.

9 years agosignal cleanup fix
Werner Koch [Tue, 26 May 2009 09:29:33 +0000 (09:29 +0000)]
signal cleanup fix

9 years agoFix a signal cleanup problem.
Werner Koch [Tue, 26 May 2009 09:29:02 +0000 (09:29 +0000)]
Fix a signal cleanup problem.
Fix zero length MPI reading.

9 years agoMake PIN changing code work for v2 cards.
Werner Koch [Wed, 20 May 2009 16:12:25 +0000 (16:12 +0000)]
Make PIN changing code work for v2 cards.

9 years agoFixed bug#1044. Use of --fingerprint with --with-fingerprint.
Werner Koch [Wed, 20 May 2009 10:23:33 +0000 (10:23 +0000)]
Fixed bug#1044.  Use of --fingerprint with --with-fingerprint.

9 years agoAllow generation of DSA2 keys without --enable-dsa2.
Werner Koch [Wed, 20 May 2009 09:57:10 +0000 (09:57 +0000)]
Allow generation of DSA2 keys without --enable-dsa2.

9 years agoFix bug#1056.
Werner Koch [Wed, 20 May 2009 09:08:48 +0000 (09:08 +0000)]
Fix bug#1056.

9 years agoFix possible system freeze on Mac OS X.
Werner Koch [Tue, 19 May 2009 22:39:45 +0000 (22:39 +0000)]
Fix possible system freeze on Mac OS X.

9 years agoRemove testing cruft.
Werner Koch [Tue, 19 May 2009 09:26:17 +0000 (09:26 +0000)]
Remove testing cruft.
Typo fixes.

9 years agoNew gpgsm server option no-encrypt-to.
Werner Koch [Mon, 18 May 2009 17:38:34 +0000 (17:38 +0000)]
New gpgsm server option no-encrypt-to.
Add caching for symkey encryption.
Minor cleanups.

9 years agoChanged default algo and size.
Werner Koch [Sun, 17 May 2009 13:08:18 +0000 (13:08 +0000)]
Changed default algo and size.

9 years agoMade card key generate with backup key work for 2048 bit.
Werner Koch [Fri, 15 May 2009 19:26:46 +0000 (19:26 +0000)]
Made card key generate with backup key work for 2048 bit.
Improved card key generation prompts.

9 years ago2009-05-15 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 15 May 2009 12:11:46 +0000 (12:11 +0000)]
2009-05-15  Marcus Brinkmann  <marcus@g10code.de>

* gpg.c (gpgconf_list): Remove dead entry "allow-pka-lookup" (a
verify option for a couple of years now).

9 years agoFix bug #1053
Werner Koch [Fri, 15 May 2009 11:16:28 +0000 (11:16 +0000)]
Fix bug #1053
Add option --qualitybar to command GET_PASSPHRASE.

9 years agoImproved smartcard robustness.
Werner Koch [Wed, 13 May 2009 17:12:00 +0000 (17:12 +0000)]
Improved smartcard robustness.

9 years agoPrint keyid in gpg --list-packets.
Werner Koch [Wed, 13 May 2009 11:42:34 +0000 (11:42 +0000)]
Print keyid in gpg --list-packets.
Add some not yet code to app-nks.c
Changed batch mode expiration time computation

9 years agoFix bug 1045.
Werner Koch [Mon, 11 May 2009 09:36:51 +0000 (09:36 +0000)]
Fix bug 1045.

9 years agoPrint 'empty file' warning only with --verbose.
Werner Koch [Mon, 11 May 2009 09:20:57 +0000 (09:20 +0000)]
Print 'empty file' warning only with --verbose.

9 years ago* keyserver.c (keyserver_typemap): gpgkeys_hkp handles hkps as well.
David Shaw [Mon, 11 May 2009 03:56:34 +0000 (03:56 +0000)]
* keyserver.c (keyserver_typemap): gpgkeys_hkp handles hkps as well.
From 1.4.

9 years ago* gpgkeys_hkp.c (send_key, get_key, get_name, search_key, main): Add
David Shaw [Mon, 11 May 2009 03:52:34 +0000 (03:52 +0000)]
* gpgkeys_hkp.c (send_key, get_key, get_name, search_key, main): Add
support for SSLized HKP.

9 years agoFrom 1.4:
David Shaw [Mon, 11 May 2009 03:21:41 +0000 (03:21 +0000)]
From 1.4:

* curl-shim.h (curl_version): No need to provide a version for
curl-shim as it always matches the GnuPG version.

* gpgkeys_curl.c, gpgkeys_hkp.c (main): Show which version of curl
we're using as part of --version.

* gpgkeys_curl.c, gpgkeys_finger.c, gpgkeys_hkp.c, gpgkeys_ldap.c
(show_help): Document --version.