Werner Koch
2528eb4776
Help against closed standard descriptors.
2009-06-08 08:15:34 +00:00
Werner Koch
227d6626b0
Fix last change
2009-06-05 20:51:52 +00:00
David Shaw
047d97e95e
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.
2009-06-05 14:11:03 +00:00
David Shaw
6f287d4e3f
* defs.inc: Improved all_cipher_algos and all_hash_algos to work when
...
there are more than one line of algorithms. From 1.4.
2009-06-05 13:54:08 +00:00
Werner Koch
e80d9387b2
Define SUN_LEN also for W32.
2009-06-04 14:19:21 +00:00
Werner Koch
dac70ca2fd
Fixed an fopen problem on Windows Vista.
2009-06-03 17:24:24 +00:00
Werner Koch
323cca8041
Fix for bug#1066.
...
A couple of minor changes.
2009-06-02 15:46:59 +00:00
Werner Koch
73a0302724
Fix bug#1069.
2009-06-02 14:25:28 +00:00
David Shaw
bcf540f2d0
Avoid caches to get the most recent copy of the key. This is bug #1061
2009-05-28 16:20:49 +00:00
David Shaw
a7205a080c
* 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).
2009-05-28 04:25:25 +00:00
David Shaw
fb866ea151
* srv.c (getsrv): Raise maximum packet size to 2048, as PACKETSZ is
...
too small these days.
2009-05-28 03:24:54 +00:00
Werner Koch
c428284788
signal cleanup fix
2009-05-26 09:29:33 +00:00
Werner Koch
21ad035cc9
Fix a signal cleanup problem.
...
Fix zero length MPI reading.
2009-05-26 09:29:02 +00:00
Werner Koch
e095815c4d
Make PIN changing code work for v2 cards.
2009-05-20 16:12:25 +00:00
Werner Koch
41ee7a14cf
Fixed bug#1044. Use of --fingerprint with --with-fingerprint.
2009-05-20 10:23:33 +00:00
Werner Koch
556d4ed983
Allow generation of DSA2 keys without --enable-dsa2.
2009-05-20 09:57:10 +00:00
Werner Koch
ad6326185e
Fix bug#1056.
2009-05-20 09:08:48 +00:00
Werner Koch
4fa261f8ec
Fix possible system freeze on Mac OS X.
2009-05-19 22:39:45 +00:00
Werner Koch
98f10d74b8
Remove testing cruft.
...
Typo fixes.
2009-05-19 09:26:17 +00:00
Werner Koch
387a51f951
New gpgsm server option no-encrypt-to.
...
Add caching for symkey encryption.
Minor cleanups.
2009-05-18 17:38:34 +00:00
Werner Koch
f61e15670a
Changed default algo and size.
2009-05-17 13:08:18 +00:00
Werner Koch
c4e92c3344
Made card key generate with backup key work for 2048 bit.
...
Improved card key generation prompts.
2009-05-15 19:26:46 +00:00
Marcus Brinkmann
abc632a4a6
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).
2009-05-15 12:11:46 +00:00
Werner Koch
002f51031a
Fix bug #1053
...
Add option --qualitybar to command GET_PASSPHRASE.
2009-05-15 11:16:28 +00:00
Werner Koch
5e208460a1
Improved smartcard robustness.
2009-05-13 17:12:00 +00:00
Werner Koch
a766a37290
Print keyid in gpg --list-packets.
...
Add some not yet code to app-nks.c
Changed batch mode expiration time computation
2009-05-13 11:42:34 +00:00
Werner Koch
dcc0907793
Fix bug 1045.
2009-05-11 09:36:51 +00:00
Werner Koch
74300e64f5
Print 'empty file' warning only with --verbose.
2009-05-11 09:20:57 +00:00
David Shaw
b613817269
* keyserver.c (keyserver_typemap): gpgkeys_hkp handles hkps as well.
...
From 1.4.
2009-05-11 03:56:34 +00:00
David Shaw
a0627f5a22
* gpgkeys_hkp.c (send_key, get_key, get_name, search_key, main): Add
...
support for SSLized HKP.
2009-05-11 03:52:34 +00:00
David Shaw
07390d3f80
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.
2009-05-11 03:21:41 +00:00
Werner Koch
8e7e6f124b
Doc fixes.
2009-05-08 15:08:37 +00:00
Werner Koch
eeca39ae50
More support for Netkey cards.
...
Small changes to teh CCID driver.
Support 2048 bit OpenPGP cards.
2009-05-08 15:07:45 +00:00
Werner Koch
03aae15a56
New helper function factored out of ../scd and equipped with test code.
2009-05-07 15:01:47 +00:00
Werner Koch
6adb13b079
Fix example.
2009-05-06 10:57:10 +00:00
Werner Koch
b6798b5d8d
Fix bug#1034.
...
Remove dead code.
2009-05-06 09:36:06 +00:00
David Shaw
4409dbf068
* gpgkeys_mailto.in: Set 'mail-from' as a keyserver-option, rather
...
than the ugly ?from= syntax.
2009-05-05 03:29:56 +00:00
Werner Koch
82d26564dc
Fix problem with incompatible gpg.conf files.
2009-04-19 16:34:21 +00:00
Werner Koch
5206a2deb3
Add a tool to analyze the CCID protocol on the USB bus.
2009-04-17 18:40:32 +00:00
Marcus Brinkmann
6763dd76e0
2009-04-14 Marcus Brinkmann <marcus@g10code.de>
...
* call-pinentry.c (agent_get_confirmation): Try SETNOTOK command
with pinentry.
2009-04-14 20:36:14 +00:00
Werner Koch
7c98dad98e
Make gpgv error message about a missing keyring more useful. This fixes
...
Debian#494040. Also implement readonly semantic for extra safety.
2009-04-03 10:34:22 +00:00
Werner Koch
7d92a25561
Print the card's S/N in a secret key listing.
2009-04-02 07:20:35 +00:00
Werner Koch
9d6a2a60c2
Prepare for OpenPGP cards with extended length support.
2009-04-01 14:38:22 +00:00
Werner Koch
0b99639624
Ported changes from 1.4.
2009-04-01 13:23:27 +00:00
Werner Koch
f8b4cd7650
Import/export of pkcs#12 now uses the gpg-agent directly.
...
Removed duplicated code (percent unescaping).
2009-04-01 10:51:53 +00:00
Werner Koch
98e1a75e20
Implement decryption for TCOS 3 cards.
2009-03-30 12:46:06 +00:00
Werner Koch
990585ad7d
Signing using Netkey 3 cards does now work.
2009-03-26 19:27:04 +00:00
Werner Koch
6e63e54b00
Fixed a trustlist update problem.
...
Pretty format the marktrusted pinentry prompt.
2009-03-26 11:33:53 +00:00
Werner Koch
ceb42db4dd
Print NO_SECKEY status line in gpgsm.
...
This fixes bug#1020.
2009-03-25 16:05:16 +00:00
Werner Koch
6dc17a2b4d
log file fixes.
2009-03-25 14:58:31 +00:00