gnupg.git
10 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.

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

10 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.

10 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.

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

10 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.

10 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.

10 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.

10 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.

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

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

10 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".

10 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.

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

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

10 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.

10 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.

10 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.

10 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.

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

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

10 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.

10 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.

10 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.

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

10 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.

10 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.

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

10 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.

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

10 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.

10 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.

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

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

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

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

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

10 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.

10 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.

10 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.

10 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.

10 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.

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

10 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

10 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).

10 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.

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

10 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.

10 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.

10 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.

10 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.

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

10 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.

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

10 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.

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

10 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.

10 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).

10 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.

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

10 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

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

10 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.

10 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.

10 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.

10 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.

10 years agoDoc fixes.
Werner Koch [Fri, 8 May 2009 15:08:37 +0000 (15:08 +0000)]
Doc fixes.

10 years agoMore support for Netkey cards.
Werner Koch [Fri, 8 May 2009 15:07:45 +0000 (15:07 +0000)]
More support for Netkey cards.
Small changes to teh CCID driver.
Support 2048 bit OpenPGP cards.

10 years agoNew helper function factored out of ../scd and equipped with test code.
Werner Koch [Thu, 7 May 2009 15:01:47 +0000 (15:01 +0000)]
New helper function factored out of ../scd and equipped with test code.

10 years agoFix example.
Werner Koch [Wed, 6 May 2009 10:57:10 +0000 (10:57 +0000)]
Fix example.

10 years agoFix bug#1034.
Werner Koch [Wed, 6 May 2009 09:36:06 +0000 (09:36 +0000)]
Fix bug#1034.
Remove dead code.

10 years ago* gpgkeys_mailto.in: Set 'mail-from' as a keyserver-option, rather
David Shaw [Tue, 5 May 2009 03:29:56 +0000 (03:29 +0000)]
* gpgkeys_mailto.in: Set 'mail-from' as a keyserver-option, rather
than the ugly ?from= syntax.

10 years agoFix problem with incompatible gpg.conf files.
Werner Koch [Sun, 19 Apr 2009 16:34:21 +0000 (16:34 +0000)]
Fix problem with incompatible gpg.conf files.

10 years agoAdd a tool to analyze the CCID protocol on the USB bus.
Werner Koch [Fri, 17 Apr 2009 18:40:32 +0000 (18:40 +0000)]
Add a tool to analyze the CCID protocol on the USB bus.

10 years ago2009-04-14 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 14 Apr 2009 20:36:14 +0000 (20:36 +0000)]
2009-04-14  Marcus Brinkmann  <marcus@g10code.de>

* call-pinentry.c (agent_get_confirmation): Try SETNOTOK command
with pinentry.

10 years agoMake gpgv error message about a missing keyring more useful. This fixes
Werner Koch [Fri, 3 Apr 2009 10:34:22 +0000 (10:34 +0000)]
Make gpgv error message about a missing keyring more useful.  This fixes
Debian#494040.  Also implement readonly semantic for extra safety.

10 years agoPrint the card's S/N in a secret key listing.
Werner Koch [Thu, 2 Apr 2009 07:20:35 +0000 (07:20 +0000)]
Print the card's S/N in a secret key listing.

10 years agoPrepare for OpenPGP cards with extended length support.
Werner Koch [Wed, 1 Apr 2009 14:38:22 +0000 (14:38 +0000)]
Prepare for OpenPGP cards with extended length support.

10 years agoPorted changes from 1.4.
Werner Koch [Wed, 1 Apr 2009 13:23:27 +0000 (13:23 +0000)]
Ported changes from 1.4.

10 years agoImport/export of pkcs#12 now uses the gpg-agent directly.
Werner Koch [Wed, 1 Apr 2009 10:51:53 +0000 (10:51 +0000)]
Import/export of pkcs#12 now uses the gpg-agent directly.
Removed duplicated code (percent unescaping).

10 years agoImplement decryption for TCOS 3 cards.
Werner Koch [Mon, 30 Mar 2009 12:46:06 +0000 (12:46 +0000)]
Implement decryption for TCOS 3 cards.

10 years agoSigning using Netkey 3 cards does now work.
Werner Koch [Thu, 26 Mar 2009 19:27:04 +0000 (19:27 +0000)]
Signing using Netkey 3 cards does now work.

10 years agoFixed a trustlist update problem.
Werner Koch [Thu, 26 Mar 2009 11:33:53 +0000 (11:33 +0000)]
Fixed a trustlist update problem.
Pretty format the marktrusted pinentry prompt.

10 years agoPrint NO_SECKEY status line in gpgsm.
Werner Koch [Wed, 25 Mar 2009 16:05:16 +0000 (16:05 +0000)]
Print NO_SECKEY status line in gpgsm.
This fixes bug#1020.

10 years agolog file fixes.
Werner Koch [Wed, 25 Mar 2009 14:58:31 +0000 (14:58 +0000)]
log file fixes.

10 years agoPreparing a snapshot.
Werner Koch [Tue, 24 Mar 2009 18:52:24 +0000 (18:52 +0000)]
Preparing a snapshot.

10 years agoBetter syncronization of several smartcard sessions.
Werner Koch [Tue, 24 Mar 2009 11:40:57 +0000 (11:40 +0000)]
Better syncronization of several smartcard sessions.

10 years agoAllow deletion of ephemeral keys.
Werner Koch [Mon, 23 Mar 2009 16:17:49 +0000 (16:17 +0000)]
Allow deletion of ephemeral keys.

10 years agoFix keygrip computation for TCOS 3 cards.
Werner Koch [Fri, 20 Mar 2009 19:04:47 +0000 (19:04 +0000)]
Fix keygrip computation for TCOS 3 cards.
Emit PROGRESS status lines during --learn-card.

10 years agoAdd missing file.
Werner Koch [Thu, 19 Mar 2009 11:19:48 +0000 (11:19 +0000)]
Add missing file.

10 years agoChanged order of the confirmation questions for root certificates
Werner Koch [Thu, 19 Mar 2009 10:21:51 +0000 (10:21 +0000)]
Changed order of the confirmation questions for root certificates
and stores negative answers in trustlist.txt.

10 years agoMake sure not to leak file descriptors if running gpg-agent with a
Werner Koch [Thu, 19 Mar 2009 07:09:31 +0000 (07:09 +0000)]
Make sure not to leak file descriptors if running gpg-agent with a
command.  Restore the signal mask to solve a problem in Mono.

10 years agoAdd server option with-ephemeral-keys.
Werner Koch [Wed, 18 Mar 2009 11:18:56 +0000 (11:18 +0000)]
Add server option with-ephemeral-keys.
Extend SCD LEARN command.

10 years agoEnhanced last patch.
Werner Koch [Tue, 17 Mar 2009 17:59:36 +0000 (17:59 +0000)]
Enhanced last patch.

10 years agoMove password repetition from gpg to gpg-agent.
Werner Koch [Tue, 17 Mar 2009 12:13:32 +0000 (12:13 +0000)]
Move password repetition from gpg to gpg-agent.

10 years ago* gpg.texi (GPG Configuration Options): Document keyserver-options
David Shaw [Mon, 16 Mar 2009 18:45:46 +0000 (18:45 +0000)]
* gpg.texi (GPG Configuration Options): Document keyserver-options
debug.

10 years agoRemove duplicated code.
Werner Koch [Mon, 16 Mar 2009 09:44:44 +0000 (09:44 +0000)]
Remove duplicated code.

10 years ago* gpg.c (my_strusage): gpg2 and gpgv2 (not gpg and gpgv).
David Shaw [Sun, 15 Mar 2009 03:58:38 +0000 (03:58 +0000)]
* gpg.c (my_strusage): gpg2 and gpgv2 (not gpg and gpgv).
* gpgv.c (my_strusage): Same.

10 years ago* gpgv.c (my_strusage): Fix name of program in "Syntax" line.
David Shaw [Sun, 15 Mar 2009 03:39:50 +0000 (03:39 +0000)]
* gpgv.c (my_strusage): Fix name of program in "Syntax" line.

10 years ago* http.c (do_parse_uri): Properly handle IPv6 literal addresses as per
David Shaw [Fri, 13 Mar 2009 18:59:07 +0000 (18:59 +0000)]
* http.c (do_parse_uri): Properly handle IPv6 literal addresses as per
RFC-2732.  Adapted from patch by Phil Pennock.