Werner Koch [Tue, 5 May 2009 11:44:56 +0000 (11:44 +0000)]
Backport of Creation-Date parameter for unattended key generation.
Werner Koch [Tue, 5 May 2009 09:30:34 +0000 (09:30 +0000)]
Fix bug#931.
Silent a compiler warning.
David Shaw [Mon, 4 May 2009 03:03:38 +0000 (03:03 +0000)]
* gpgkeys_mailto.in: Set 'mail-from' as a keyserver-option, rather
than the ugly ?from= syntax.
David Shaw [Tue, 21 Apr 2009 03:04:08 +0000 (03:04 +0000)]
* 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).
David Shaw [Mon, 6 Apr 2009 03:18:30 +0000 (03:18 +0000)]
Distribute srv.h
David Shaw [Mon, 6 Apr 2009 03:18:07 +0000 (03:18 +0000)]
* srv.h: Move to include/srv.h.
* http.c (send_request): Pass in srvtag... (http_open): ...from here.
Werner Koch [Fri, 3 Apr 2009 10:41:33 +0000 (10:41 +0000)]
Better error message for a missing keyring.
Fixes Debian#494040.
David Shaw [Fri, 3 Apr 2009 03:59:07 +0000 (03:59 +0000)]
* curl-shim.h, curl-shim.c (curl_easy_setopt, curl_easy_perform): Add
a CURLOPT_SRVTAG_GPG_HACK (passed through the the http engine).
* http.h: Allow passing srvtag to http_open and http_open_document.
* http.c (http_open, http_open_document): Allow passing srvtag to
http_open and http_open_document.
David Shaw [Fri, 3 Apr 2009 03:38:59 +0000 (03:38 +0000)]
* http.c (connect_server): free (rather than xfree) the result of
getsrv().
David Shaw [Fri, 3 Apr 2009 03:33:57 +0000 (03:33 +0000)]
* Makefile.am: Make srv.c part of libcompat instead of libutil.
* srv.c (getsrv): Raise maximum packet size to 2048, as PACKETSZ is
too small these days. Use libc malloc and free as we're part of
libcompat now which may not be linked to memory.c.
David Shaw [Thu, 2 Apr 2009 03:50:50 +0000 (03:50 +0000)]
* gpgkeys_hkp.c (main): Switch default port for SSLized HKP to 443
(i.e. the regular https port).
David Shaw [Fri, 20 Mar 2009 20:55:47 +0000 (20:55 +0000)]
* keyring.c (rename_tmp_file): Force a fsync (via iobuf_ioctl) on
secret keyring files to be extra safe on filesystems that may not sync
data and metadata together (ext4). Also check return code from the
cache invalidation to make sure we're safe over NFS and similar.
David Shaw [Fri, 20 Mar 2009 20:33:14 +0000 (20:33 +0000)]
* iobuf.c (fd_cache_synchronize): New. fsync() a file in cache.
(iobuf_ioctl): Called here, for ioctl 4. (fd_cache_invalidate): Pass
return code from close() back to iobuf_ioctl().
David Shaw [Sun, 15 Mar 2009 03:10:04 +0000 (03:10 +0000)]
* gpgv.c (strusage): Fix name of program in "Syntax" line.
David Shaw [Fri, 13 Mar 2009 17:51:05 +0000 (17:51 +0000)]
* http.c (do_parse_uri): Properly handle IPv6 literal addresses as per
RFC-2732. Adapted from patch by Phil Pennock.
David Shaw [Fri, 13 Mar 2009 17:27:35 +0000 (17:27 +0000)]
* Makefile.am, http.c (start_server): Minor tweaks to get http-test
compiling again.
Werner Koch [Mon, 9 Feb 2009 11:14:42 +0000 (11:14 +0000)]
Fix bug 998.
David Shaw [Tue, 3 Feb 2009 19:49:17 +0000 (19:49 +0000)]
* keyserver.c (keyserver_typemap): gpgkeys_hkp handles hkps as well.
David Shaw [Tue, 3 Feb 2009 19:40:28 +0000 (19:40 +0000)]
* gpgkeys_hkp.c (send_key, get_key, get_name, search_key, main): Add
support for SSLized HKP.
David Shaw [Sun, 21 Dec 2008 16:57:33 +0000 (16:57 +0000)]
* gpg.c (main): Properly handle UTF8 usernames with --sign-key and --lsign-key.
Werner Koch [Thu, 11 Dec 2008 17:47:47 +0000 (17:47 +0000)]
Change the SIG_ID computation to match 2.0.10.
Werner Koch [Thu, 11 Dec 2008 17:46:16 +0000 (17:46 +0000)]
Change SIG_ID computation to m
Werner Koch [Thu, 11 Dec 2008 17:00:52 +0000 (17:00 +0000)]
Close message digest; fixes memory leak.
Werner Koch [Tue, 9 Dec 2008 10:43:22 +0000 (10:43 +0000)]
Check algo usage.
David Shaw [Tue, 18 Nov 2008 18:43:13 +0000 (18:43 +0000)]
* curl-shim.h, gpgkeys_curl.c, gpgkeys_hkp.c (main): Always show curl
version (even for curl-shim).
Werner Koch [Tue, 18 Nov 2008 18:17:10 +0000 (18:17 +0000)]
Make --version close to GNU standards.
David Shaw [Tue, 18 Nov 2008 17:15:07 +0000 (17:15 +0000)]
* trustdb.c (validate_one_keyblock): Fix the trust signature
calculations so that we lower the trust depth of signatures to fit
within the current chain, rather than discarding any signature that
does not fit within the trust depth.
David Shaw [Tue, 18 Nov 2008 17:09:07 +0000 (17:09 +0000)]
* 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.
David Shaw [Fri, 3 Oct 2008 21:26:33 +0000 (21:26 +0000)]
* configure.ac, acinclude.m4: Remove GNUPG_CHECK_DOCBOOK_TO_TEXI as we
no longer use it. Noted by John Clizbe.
David Shaw [Fri, 3 Oct 2008 19:54:30 +0000 (19:54 +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.
Werner Koch [Tue, 30 Sep 2008 18:23:35 +0000 (18:23 +0000)]
fix bug #922
David Shaw [Thu, 25 Sep 2008 04:00:36 +0000 (04:00 +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.
David Shaw [Tue, 23 Sep 2008 21:10:10 +0000 (21:10 +0000)]
* pkclist.c (select_algo_from_prefs): Redo function to rank prefs and
pick a consensus winner across all keys.
David Shaw [Fri, 5 Sep 2008 21:01:17 +0000 (21:01 +0000)]
* Makefile.am: Use $(CC) instead of "cc" to compile, as the user might
be overriding the compiler.
David Shaw [Thu, 4 Sep 2008 16:47:34 +0000 (16:47 +0000)]
* keyserver.c (keyserver_import_cert): Allow keyserver URLs in
addition to full URLs in CERT records.
David Shaw [Wed, 27 Aug 2008 16:57:45 +0000 (16:57 +0000)]
* configure.ac: Use printf for the most portable SVN version
detection.
Werner Koch [Tue, 19 Aug 2008 19:36:04 +0000 (19:36 +0000)]
Fix possible NULL argument to printf
Werner Koch [Mon, 11 Aug 2008 08:19:48 +0000 (08:19 +0000)]
Fix bug #947 (expire time overflow)
Werner Koch [Fri, 1 Aug 2008 10:48:36 +0000 (10:48 +0000)]
Fix !EROFS bug
Werner Koch [Mon, 21 Jul 2008 07:33:41 +0000 (07:33 +0000)]
Update.
Werner Koch [Thu, 17 Jul 2008 19:47:19 +0000 (19:47 +0000)]
Revert that last stupid setuid detection fix.
Werner Koch [Mon, 23 Jun 2008 08:49:04 +0000 (08:49 +0000)]
Typo fix by Ludwig Hügelschäfer.
Werner Koch [Mon, 26 May 2008 10:39:56 +0000 (10:39 +0000)]
Translation fixes.
David Shaw [Wed, 30 Apr 2008 16:05:57 +0000 (16:05 +0000)]
* gpg-zip.1: Add man page thanks to Colin Tuckley and Daniel Leidert.
Werner Koch [Wed, 30 Apr 2008 11:46:35 +0000 (11:46 +0000)]
Ignore gpg2 introduced keywords for --auto-key-locate.
Minor W32 installer fix.
David Shaw [Thu, 17 Apr 2008 17:40:30 +0000 (17:40 +0000)]
Add Camellia-192.
David Shaw [Mon, 14 Apr 2008 17:41:47 +0000 (17:41 +0000)]
* gpgkeys_curl.c (main), gpgkeys_hkp.c (main): Make sure all libcurl
number options are passed as long.
David Shaw [Mon, 14 Apr 2008 16:08:00 +0000 (16:08 +0000)]
* curl-shim.c (curl_easy_setopt): Minor tweak to match the real curl
better - libcurl uses 'long', not 'unsigned int'.
David Shaw [Sun, 13 Apr 2008 01:56:01 +0000 (01:56 +0000)]
* getkey.c (merge_selfsigs_subkey): If there are multiple 0x19
backsigs, take the most recent one.
Werner Koch [Wed, 2 Apr 2008 08:48:08 +0000 (08:48 +0000)]
Yet another minor yat2m fix.
Werner Koch [Wed, 2 Apr 2008 08:20:38 +0000 (08:20 +0000)]
Fix rendering of @samp.
David Shaw [Mon, 31 Mar 2008 21:17:18 +0000 (21:17 +0000)]
* configure.ac: Require curl 7.10 (Oct 1 2002) or later as we use
curl_version_info().
Werner Koch [Thu, 27 Mar 2008 13:23:39 +0000 (13:23 +0000)]
add comment.
Minor update of zh_TW.
Werner Koch [Wed, 26 Mar 2008 18:37:29 +0000 (18:37 +0000)]
Post release version number bump.
Werner Koch [Wed, 26 Mar 2008 17:53:04 +0000 (17:53 +0000)]
prepare a release.
Werner Koch [Tue, 25 Mar 2008 14:47:48 +0000 (14:47 +0000)]
Fixed URL.
David Shaw [Tue, 25 Mar 2008 13:02:28 +0000 (13:02 +0000)]
Fix email address
Werner Koch [Tue, 25 Mar 2008 10:45:59 +0000 (10:45 +0000)]
Powerpc64 fix.
Werner Koch [Tue, 25 Mar 2008 08:34:02 +0000 (08:34 +0000)]
Change default keyserver.
David Shaw [Mon, 24 Mar 2008 02:28:40 +0000 (02:28 +0000)]
* import.c (collapse_uids): Fix bug 894: possible memory corruption
around deduplication of user IDs.
Werner Koch [Sat, 22 Mar 2008 17:01:37 +0000 (17:01 +0000)]
Improved AES performance.
David Shaw [Mon, 17 Mar 2008 18:20:39 +0000 (18:20 +0000)]
* parse-packet.c (parse_key): Parse a secret key encrypted with
Camellia.
David Shaw [Fri, 7 Mar 2008 19:08:31 +0000 (19:08 +0000)]
* configure.ac: Darwin's /bin/sh has a builtin echo that doesn't
understand '-n'. Use tr to trim the carriage return instead.
David Shaw [Thu, 6 Mar 2008 17:22:41 +0000 (17:22 +0000)]
* argparse.c (default_strusage): Update copyright date.
David Shaw [Thu, 6 Mar 2008 17:19:34 +0000 (17:19 +0000)]
* configure.ac: Post-release update.
Marcus Brinkmann [Sat, 9 Feb 2008 00:49:36 +0000 (00:49 +0000)]
2008-02-09 Marcus Brinkmann <marcus@g10code.de>
* gpg.c (main): New variable default_configname. Use it if
save_configname is NULL (can happen if default configfile does
not exist). Move default configname determination to ...
(get_default_configname): ... this new function.
Werner Koch [Sat, 26 Jan 2008 13:12:00 +0000 (13:12 +0000)]
Add card vendor 004.
Werner Koch [Wed, 2 Jan 2008 17:18:14 +0000 (17:18 +0000)]
Update
Werner Koch [Thu, 20 Dec 2007 08:07:49 +0000 (08:07 +0000)]
Typo fix
Werner Koch [Thu, 20 Dec 2007 08:06:39 +0000 (08:06 +0000)]
Preparing a release
David Shaw [Mon, 17 Dec 2007 21:27:10 +0000 (21:27 +0000)]
* Makefile.am: Fix compile error when libcurl is in a nonstandard
location.
Werner Koch [Mon, 17 Dec 2007 10:49:08 +0000 (10:49 +0000)]
Fixd a W32 problems with ldaps.
Werner Koch [Fri, 14 Dec 2007 11:30:01 +0000 (11:30 +0000)]
Fixed a regression in gpg_dermor.
Werner Koch [Fri, 14 Dec 2007 09:56:06 +0000 (09:56 +0000)]
Preparing a release candidate
David Shaw [Thu, 13 Dec 2007 21:11:05 +0000 (21:11 +0000)]
* NEWS: Note SHA-224 typo.
Werner Koch [Wed, 12 Dec 2007 18:55:52 +0000 (18:55 +0000)]
Type fixes and @samp{} fix. From gnupg-2.
Werner Koch [Wed, 12 Dec 2007 18:26:25 +0000 (18:26 +0000)]
Updated ZH po file.
Allow de/encryption using legacy type 20 keys.
Updated config.{sub,guess}
David Shaw [Wed, 12 Dec 2007 16:38:23 +0000 (16:38 +0000)]
* trustdb.c (sanitize_regexp): New. Protect against dangerous regexps
(malloc bombs) by force-commenting any characters aside from the ones
we explicitly want. (check_regexp): Use it here before passing the
regexp to regcomp().
Werner Koch [Tue, 11 Dec 2007 17:14:05 +0000 (17:14 +0000)]
Allow decryption using type 20 key.
Werner Koch [Tue, 11 Dec 2007 13:21:30 +0000 (13:21 +0000)]
Allow decryption using type 20 Elgamal keys.
Werner Koch [Mon, 10 Dec 2007 15:34:20 +0000 (15:34 +0000)]
Fixed auto generation of the key stub.
Fixed bug 851.
Allow decryption using type 20 Elgamal keys.
Werner Koch [Mon, 3 Dec 2007 14:41:38 +0000 (14:41 +0000)]
Comment typ fixes.
Workaround for bad translations of the capability menu.
David Shaw [Thu, 29 Nov 2007 14:51:08 +0000 (14:51 +0000)]
Add 128-bit variant of Camellia.
David Shaw [Wed, 28 Nov 2007 23:08:35 +0000 (23:08 +0000)]
* sig-check.c (do_check): Code to try both the incorrect and correct
SHA-224 DER prefixes when verifying a signature. See the change
itself for more discussion.
* main.h, seskey.c (do_encode_md): Rename to pkcs1_encode_md and make
non-static.
David Shaw [Wed, 28 Nov 2007 23:00:11 +0000 (23:00 +0000)]
* sha256.c (sha224_get_info): 4880 has an error in the SHA-224 OID and
we inherited it. Fixing.
David Shaw [Wed, 28 Nov 2007 15:15:37 +0000 (15:15 +0000)]
* defs.inc: Use new --list-config method to get cipher and digest
names.
David Shaw [Wed, 28 Nov 2007 15:09:52 +0000 (15:09 +0000)]
* gpg.c (print_algo_names): New. (list_config): Use it here for the
"ciphername" and "digestname" config items so we can get a
script-parseable list of the names.
Werner Koch [Mon, 19 Nov 2007 10:10:02 +0000 (10:10 +0000)]
Grammar fix
David Shaw [Sun, 18 Nov 2007 03:59:21 +0000 (03:59 +0000)]
* NEWS: Say a bit more about RFC-4880. Note some defaults changing.
Werner Koch [Fri, 16 Nov 2007 14:00:19 +0000 (14:00 +0000)]
Post release update
Werner Koch [Fri, 16 Nov 2007 13:25:01 +0000 (13:25 +0000)]
Preparing a release candidate
Werner Koch [Mon, 12 Nov 2007 15:52:01 +0000 (15:52 +0000)]
* status.c (do_get_from_fd, do_shm_get): s/bool/getbool/ to
overcome problems with Mac OS 10.5 which seems to include
stdbool.h silently.
David Shaw [Sat, 27 Oct 2007 20:00:20 +0000 (20:00 +0000)]
* parse-packet.c (parse_onepass_sig): Sigclass is hex, so include the
0x.
David Shaw [Sat, 27 Oct 2007 19:40:13 +0000 (19:40 +0000)]
* keyserver.c (keyserver_spawn): Cosmetic, but looks cleaner.
David Shaw [Sat, 27 Oct 2007 15:55:42 +0000 (15:55 +0000)]
* README: Update notes about OSX Leopard.
David Shaw [Sat, 27 Oct 2007 15:52:02 +0000 (15:52 +0000)]
* gpg.texi: Update from gnupg-2.
Werner Koch [Tue, 23 Oct 2007 10:48:09 +0000 (10:48 +0000)]
Switched to GPLv3.
Updated gettext.
David Shaw [Tue, 23 Oct 2007 03:00:21 +0000 (03:00 +0000)]
* gpg.c (main): Add --require-cross-certification to
--openpgp/--rfc4880 mode.
David Shaw [Tue, 23 Oct 2007 00:36:59 +0000 (00:36 +0000)]
* gpg.c (main): Disable --rfc2440-text and --force-v3-sigs by default.
Enable --require-cross-certification by default. --openpgp
(--rfc4880) is the same as --rfc2440 except with "--enable-dsa2
--no-rfc2440-text --escape-from-lines".
David Shaw [Sun, 21 Oct 2007 16:07:13 +0000 (16:07 +0000)]
* misc.c (compliance_option_string, compliance_failure): Minor
cleanup.
* armor.c (is_armor_header): Comment about 4880.