gnupg.git
9 years agoUpdate doc. This time also the included files.
Werner Koch [Tue, 18 Aug 2009 09:25:43 +0000 (09:25 +0000)]
Update doc.  This time also the included files.

9 years agoMakefile tweak and de.po line number update gnupg-1.4.10rc1
Werner Koch [Thu, 13 Aug 2009 15:35:14 +0000 (15:35 +0000)]
Makefile tweak and de.po line number update

9 years agoUpdated the German translation. Minor doc changes.
Werner Koch [Thu, 13 Aug 2009 15:31:24 +0000 (15:31 +0000)]
Updated the German translation.  Minor doc changes.

9 years ago* NEWS: Note Camellia and hkps.
David Shaw [Thu, 13 Aug 2009 15:09:02 +0000 (15:09 +0000)]
* NEWS: Note Camellia and hkps.

9 years agoPreparing for a release candidate
Werner Koch [Thu, 13 Aug 2009 08:45:23 +0000 (08:45 +0000)]
Preparing for a release candidate

9 years agoTry and detect mis-coded Latin1 and convert it to UTF8. Whether the
David Shaw [Wed, 12 Aug 2009 05:01:08 +0000 (05:01 +0000)]
Try and detect mis-coded Latin1 and convert it to UTF8.  Whether the
heuristics succeed or not, the resulting string must be valid UTF8 as
LDAP requires that.  This is bug 1055.

9 years ago(no commit message)
Werner Koch [Mon, 3 Aug 2009 17:47:18 +0000 (17:47 +0000)]

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

9 years agoUpdate key generation menu to match gnupg 2.0.
Werner Koch [Wed, 29 Jul 2009 10:06:56 +0000 (10:06 +0000)]
Update key generation menu to match gnupg 2.0.
Changes default preferences and key algorithms.

9 years ago* keyserver.c (keyserver_import_ldap): Try a DNS-SD lookup to find a
David Shaw [Thu, 23 Jul 2009 19:50:25 +0000 (19:50 +0000)]
* keyserver.c (keyserver_import_ldap): Try a DNS-SD lookup to find a
domain-specific LDAP server before resorting to keys.{domain}.

9 years ago* srv.c (getsrv): Fix type-punning warning. (main): Allow testing any
David Shaw [Thu, 23 Jul 2009 19:05:19 +0000 (19:05 +0000)]
* srv.c (getsrv): Fix type-punning warning.  (main): Allow testing any
SRV.

9 years agoParse EXTCAP lines from the card.
Werner Koch [Thu, 23 Jul 2009 08:00:39 +0000 (08:00 +0000)]
Parse EXTCAP lines from the card.
Change messages for a corrupt trustdb.

9 years agoFirst set of changes to backport the new card code from 2.0.
Werner Koch [Tue, 21 Jul 2009 14:30:13 +0000 (14:30 +0000)]
First set of changes to backport the new card code from 2.0.
For compatibility reasons a few new files had to be added.
Also added estream-printf as this is now used in app-openpgp.c and provides
a better and generic asprintf implementation than the hack we used for the
W32 code in ttyio.c.  Card code is not yet finished.

9 years agoRepalce an assert by a proper error message.
Werner Koch [Fri, 17 Jul 2009 11:24:51 +0000 (11:24 +0000)]
Repalce an assert by a proper error message.

9 years agoFix bug#1087.
Werner Koch [Thu, 16 Jul 2009 07:40:16 +0000 (07:40 +0000)]
Fix bug#1087.

9 years agofix bug#1085.
Werner Koch [Mon, 13 Jul 2009 10:29:40 +0000 (10:29 +0000)]
fix bug#1085.

9 years ago* gpgkeys_hkp.c (main, srv_replace): Minor tweaks to use the DNS-SD
David Shaw [Wed, 8 Jul 2009 03:50:26 +0000 (03:50 +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 agoFix a couple of minor bugs.
Werner Koch [Wed, 24 Jun 2009 14:01:20 +0000 (14:01 +0000)]
Fix a couple of minor bugs.

10 years agoUpdate
Werner Koch [Wed, 17 Jun 2009 10:51:55 +0000 (10:51 +0000)]
Update

10 years agoFix bug#1040.
Werner Koch [Wed, 17 Jun 2009 10:36:12 +0000 (10:36 +0000)]
Fix bug#1040.

10 years ago* Makefile.am (gpgkeys_hkp_LDADD): Need DNSLIBS for the resolver now
David Shaw [Tue, 9 Jun 2009 23:07:48 +0000 (23:07 +0000)]
* Makefile.am (gpgkeys_hkp_LDADD): Need DNSLIBS for the resolver now
that we're using SRVs.

10 years agoRemove Camellia restriction.
David Shaw [Fri, 5 Jun 2009 16:54:47 +0000 (16:54 +0000)]
Remove Camellia restriction.

10 years agoAdd stub function. Noted by Daniel Leidert.
Werner Koch [Tue, 2 Jun 2009 15:26:06 +0000 (15:26 +0000)]
Add stub function.  Noted by Daniel Leidert.

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

10 years ago* gpgkeys_hkp.c (srv_replace): Fix build warning.
David Shaw [Thu, 28 May 2009 04:33:10 +0000 (04:33 +0000)]
* gpgkeys_hkp.c (srv_replace): Fix build warning.

10 years agoAvoid caches to get the most recent copy of the key. This is bug
David Shaw [Tue, 26 May 2009 14:15:56 +0000 (14:15 +0000)]
Avoid caches to get the most recent copy of the key.  This is bug
#1061

10 years agoFixed bug1058.
Werner Koch [Fri, 22 May 2009 15:38:49 +0000 (15:38 +0000)]
Fixed bug1058.

10 years agoFix bug#1044.
Werner Koch [Wed, 20 May 2009 10:25:58 +0000 (10:25 +0000)]
Fix bug#1044.

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

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

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

10 years agoFix for bug#1034.
Werner Koch [Wed, 6 May 2009 09:31:15 +0000 (09:31 +0000)]
Fix for bug#1034.

10 years agoImprove dotlocking.
Werner Koch [Tue, 5 May 2009 15:32:16 +0000 (15:32 +0000)]
Improve dotlocking.
Implement locking for W32.

10 years agoBackport of Creation-Date parameter for unattended key generation.
Werner Koch [Tue, 5 May 2009 11:44:56 +0000 (11:44 +0000)]
Backport of Creation-Date parameter for unattended key generation.

10 years agoFix bug#931.
Werner Koch [Tue, 5 May 2009 09:30:34 +0000 (09:30 +0000)]
Fix bug#931.
Silent a compiler warning.

10 years ago* gpgkeys_mailto.in: Set 'mail-from' as a keyserver-option, rather
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.

10 years ago* gpgkeys_hkp.c (srv_replace): New function to transform a SRV
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).

10 years agoDistribute srv.h
David Shaw [Mon, 6 Apr 2009 03:18:30 +0000 (03:18 +0000)]
Distribute srv.h

10 years ago* srv.h: Move to include/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.

10 years agoBetter error message for a missing keyring.
Werner Koch [Fri, 3 Apr 2009 10:41:33 +0000 (10:41 +0000)]
Better error message for a missing keyring.
Fixes Debian#494040.

10 years ago* curl-shim.h, curl-shim.c (curl_easy_setopt, curl_easy_perform): Add
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.

10 years ago* http.c (connect_server): free (rather than xfree) the result of
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().

10 years ago* Makefile.am: Make srv.c part of libcompat instead of libutil.
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.

10 years ago* gpgkeys_hkp.c (main): Switch default port for SSLized HKP to 443
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).

10 years ago* keyring.c (rename_tmp_file): Force a fsync (via iobuf_ioctl) on
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.

10 years ago* iobuf.c (fd_cache_synchronize): New. fsync() a file in cache.
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().

10 years ago* gpgv.c (strusage): Fix name of program in "Syntax" line.
David Shaw [Sun, 15 Mar 2009 03:10:04 +0000 (03:10 +0000)]
* gpgv.c (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 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.

10 years ago* Makefile.am, http.c (start_server): Minor tweaks to get http-test
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.

10 years agoFix bug 998.
Werner Koch [Mon, 9 Feb 2009 11:14:42 +0000 (11:14 +0000)]
Fix bug 998.

10 years ago* keyserver.c (keyserver_typemap): gpgkeys_hkp handles hkps as well.
David Shaw [Tue, 3 Feb 2009 19:49:17 +0000 (19:49 +0000)]
* keyserver.c (keyserver_typemap): gpgkeys_hkp handles hkps as well.

10 years ago* gpgkeys_hkp.c (send_key, get_key, get_name, search_key, main): Add
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.

10 years ago* gpg.c (main): Properly handle UTF8 usernames with --sign-key and --lsign-key.
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.

10 years agoChange the SIG_ID computation to match 2.0.10.
Werner Koch [Thu, 11 Dec 2008 17:47:47 +0000 (17:47 +0000)]
Change the SIG_ID computation to match 2.0.10.

10 years agoChange SIG_ID computation to m
Werner Koch [Thu, 11 Dec 2008 17:46:16 +0000 (17:46 +0000)]
Change SIG_ID computation to m

10 years agoClose message digest; fixes memory leak.
Werner Koch [Thu, 11 Dec 2008 17:00:52 +0000 (17:00 +0000)]
Close message digest; fixes memory leak.

10 years agoCheck algo usage.
Werner Koch [Tue, 9 Dec 2008 10:43:22 +0000 (10:43 +0000)]
Check algo usage.

10 years ago* curl-shim.h, gpgkeys_curl.c, gpgkeys_hkp.c (main): Always show curl
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).

10 years agoMake --version close to GNU standards.
Werner Koch [Tue, 18 Nov 2008 18:17:10 +0000 (18:17 +0000)]
Make --version close to GNU standards.

10 years ago* trustdb.c (validate_one_keyblock): Fix the trust signature
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.

10 years ago* curl-shim.h (curl_version): No need to provide a version for
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.

10 years ago* configure.ac, acinclude.m4: Remove GNUPG_CHECK_DOCBOOK_TO_TEXI as we
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.

10 years ago* main.h, mainproc.c (check_sig_and_print), keylist.c
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.

10 years agofix bug #922
Werner Koch [Tue, 30 Sep 2008 18:23:35 +0000 (18:23 +0000)]
fix bug #922

10 years ago* keyedit.c (keyedit_menu): Fix bug where a modified keyring loses its
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.

10 years ago* pkclist.c (select_algo_from_prefs): Redo function to rank prefs and
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.

10 years ago* Makefile.am: Use $(CC) instead of "cc" to compile, as the user might
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.

10 years ago* keyserver.c (keyserver_import_cert): Allow keyserver URLs in
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.

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

10 years agoFix possible NULL argument to printf
Werner Koch [Tue, 19 Aug 2008 19:36:04 +0000 (19:36 +0000)]
Fix possible NULL argument to printf

10 years agoFix bug #947 (expire time overflow)
Werner Koch [Mon, 11 Aug 2008 08:19:48 +0000 (08:19 +0000)]
Fix bug #947 (expire time overflow)

10 years agoFix !EROFS bug
Werner Koch [Fri, 1 Aug 2008 10:48:36 +0000 (10:48 +0000)]
Fix !EROFS bug

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

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

11 years agoTypo fix by Ludwig Hügelschäfer.
Werner Koch [Mon, 23 Jun 2008 08:49:04 +0000 (08:49 +0000)]
Typo fix by Ludwig Hügelschäfer.

11 years agoTranslation fixes.
Werner Koch [Mon, 26 May 2008 10:39:56 +0000 (10:39 +0000)]
Translation fixes.

11 years ago* gpg-zip.1: Add man page thanks to Colin Tuckley and Daniel Leidert.
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.

11 years agoIgnore gpg2 introduced keywords for --auto-key-locate.
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.

11 years agoAdd Camellia-192.
David Shaw [Thu, 17 Apr 2008 17:40:30 +0000 (17:40 +0000)]
Add Camellia-192.

11 years ago* gpgkeys_curl.c (main), gpgkeys_hkp.c (main): Make sure all libcurl
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.

11 years ago* curl-shim.c (curl_easy_setopt): Minor tweak to match the real curl
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'.

11 years ago* getkey.c (merge_selfsigs_subkey): If there are multiple 0x19
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.

11 years agoYet another minor yat2m fix.
Werner Koch [Wed, 2 Apr 2008 08:48:08 +0000 (08:48 +0000)]
Yet another minor yat2m fix.

11 years agoFix rendering of @samp.
Werner Koch [Wed, 2 Apr 2008 08:20:38 +0000 (08:20 +0000)]
Fix rendering of @samp.

11 years ago* configure.ac: Require curl 7.10 (Oct 1 2002) or later as we use
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().

11 years agoadd comment.
Werner Koch [Thu, 27 Mar 2008 13:23:39 +0000 (13:23 +0000)]
add comment.
Minor update of zh_TW.

11 years agoPost release version number bump.
Werner Koch [Wed, 26 Mar 2008 18:37:29 +0000 (18:37 +0000)]
Post release version number bump.

11 years agoprepare a release. gnupg-1.4.9
Werner Koch [Wed, 26 Mar 2008 17:53:04 +0000 (17:53 +0000)]
prepare a release.

11 years agoFixed URL.
Werner Koch [Tue, 25 Mar 2008 14:47:48 +0000 (14:47 +0000)]
Fixed URL.

11 years agoFix email address
David Shaw [Tue, 25 Mar 2008 13:02:28 +0000 (13:02 +0000)]
Fix email address

11 years agoPowerpc64 fix.
Werner Koch [Tue, 25 Mar 2008 10:45:59 +0000 (10:45 +0000)]
Powerpc64 fix.

11 years agoChange default keyserver.
Werner Koch [Tue, 25 Mar 2008 08:34:02 +0000 (08:34 +0000)]
Change default keyserver.

11 years ago* import.c (collapse_uids): Fix bug 894: possible memory corruption
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.

11 years agoImproved AES performance.
Werner Koch [Sat, 22 Mar 2008 17:01:37 +0000 (17:01 +0000)]
Improved AES performance.

11 years ago* parse-packet.c (parse_key): Parse a secret key encrypted with
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.

11 years ago* configure.ac: Darwin's /bin/sh has a builtin echo that doesn't
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.

11 years ago* argparse.c (default_strusage): Update copyright date.
David Shaw [Thu, 6 Mar 2008 17:22:41 +0000 (17:22 +0000)]
* argparse.c (default_strusage): Update copyright date.

11 years ago* configure.ac: Post-release update.
David Shaw [Thu, 6 Mar 2008 17:19:34 +0000 (17:19 +0000)]
* configure.ac: Post-release update.

11 years ago2008-02-09 Marcus Brinkmann <marcus@g10code.de>
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.

11 years agoAdd card vendor 004.
Werner Koch [Sat, 26 Jan 2008 13:12:00 +0000 (13:12 +0000)]
Add card vendor 004.