Werner Koch
631a0de335
Backport of Creation-Date parameter for unattended key generation.
2009-05-05 11:44:56 +00:00
Werner Koch
a4fd67937c
Fix bug#931.
...
Silent a compiler warning.
2009-05-05 09:30:34 +00:00
David Shaw
7c57091f10
* gpgkeys_mailto.in: Set 'mail-from' as a keyserver-option, rather
...
than the ugly ?from= syntax.
2009-05-04 03:03:38 +00:00
David Shaw
ee9edfe19f
* 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).
2009-04-21 03:04:08 +00:00
David Shaw
a1ec7163d9
Distribute srv.h
2009-04-06 03:18:30 +00:00
David Shaw
2933e3d094
* srv.h: Move to include/srv.h.
...
* http.c (send_request): Pass in srvtag... (http_open): ...from here.
2009-04-06 03:18:07 +00:00
Werner Koch
9b6deeddaf
Better error message for a missing keyring.
...
Fixes Debian#494040.
2009-04-03 10:41:33 +00:00
David Shaw
a929f4c78e
* 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.
2009-04-03 03:59:07 +00:00
David Shaw
a5b708ba9c
* http.c (connect_server): free (rather than xfree) the result of
...
getsrv().
2009-04-03 03:38:59 +00:00
David Shaw
0f8b0fc195
* 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.
2009-04-03 03:33:57 +00:00
David Shaw
c641585a42
* gpgkeys_hkp.c (main): Switch default port for SSLized HKP to 443
...
(i.e. the regular https port).
2009-04-02 03:50:50 +00:00
David Shaw
79f31e85db
* 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.
2009-03-20 20:55:47 +00:00
David Shaw
da66b1d69e
* 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().
2009-03-20 20:33:14 +00:00
David Shaw
a2fc01ae00
* gpgv.c (strusage): Fix name of program in "Syntax" line.
2009-03-15 03:10:04 +00:00
David Shaw
f801e0f9a8
* http.c (do_parse_uri): Properly handle IPv6 literal addresses as per
...
RFC-2732. Adapted from patch by Phil Pennock.
2009-03-13 17:51:05 +00:00
David Shaw
81723b397a
* Makefile.am, http.c (start_server): Minor tweaks to get http-test
...
compiling again.
2009-03-13 17:27:35 +00:00
Werner Koch
c092f026fe
Fix bug 998.
2009-02-09 11:14:42 +00:00
David Shaw
e532a4e86f
* keyserver.c (keyserver_typemap): gpgkeys_hkp handles hkps as well.
2009-02-03 19:49:17 +00:00
David Shaw
fe57cdc2fb
* gpgkeys_hkp.c (send_key, get_key, get_name, search_key, main): Add
...
support for SSLized HKP.
2009-02-03 19:40:28 +00:00
David Shaw
3aa63ab224
* gpg.c (main): Properly handle UTF8 usernames with --sign-key and --lsign-key.
2008-12-21 16:57:33 +00:00
Werner Koch
3bd834c95e
Change the SIG_ID computation to match 2.0.10.
2008-12-11 17:47:47 +00:00
Werner Koch
7fd24253c1
Change SIG_ID computation to m
2008-12-11 17:46:16 +00:00
Werner Koch
09176a79b9
Close message digest; fixes memory leak.
2008-12-11 17:00:52 +00:00
Werner Koch
0ad3411b07
Check algo usage.
2008-12-09 10:43:22 +00:00
David Shaw
b3ac8341d9
* curl-shim.h, gpgkeys_curl.c, gpgkeys_hkp.c (main): Always show curl
...
version (even for curl-shim).
2008-11-18 18:43:13 +00:00
Werner Koch
5452f53c5c
Make --version close to GNU standards.
2008-11-18 18:17:10 +00:00
David Shaw
9d76ee5147
* 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.
2008-11-18 17:15:07 +00:00
David Shaw
9e0919fad1
* 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.
2008-11-18 17:09:07 +00:00
David Shaw
5671409a5b
* configure.ac, acinclude.m4: Remove GNUPG_CHECK_DOCBOOK_TO_TEXI as we
...
no longer use it. Noted by John Clizbe.
2008-10-03 21:26:33 +00:00
David Shaw
0042cda87c
* 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.
2008-10-03 19:54:30 +00:00
Werner Koch
a9c280865a
fix bug #922
2008-09-30 18:23:35 +00:00
David Shaw
85a3b11cb0
* 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.
2008-09-25 04:00:36 +00:00
David Shaw
d6c59f314a
* pkclist.c (select_algo_from_prefs): Redo function to rank prefs and
...
pick a consensus winner across all keys.
2008-09-23 21:10:10 +00:00
David Shaw
564436af6f
* Makefile.am: Use $(CC) instead of "cc" to compile, as the user might
...
be overriding the compiler.
2008-09-05 21:01:17 +00:00
David Shaw
9855a6b18a
* keyserver.c (keyserver_import_cert): Allow keyserver URLs in
...
addition to full URLs in CERT records.
2008-09-04 16:47:34 +00:00
David Shaw
42d887c025
* configure.ac: Use printf for the most portable SVN version
...
detection.
2008-08-27 16:57:45 +00:00
Werner Koch
6ae5af5d7a
Fix possible NULL argument to printf
2008-08-19 19:36:04 +00:00
Werner Koch
64a47d54c4
Fix bug #947 (expire time overflow)
2008-08-11 08:19:48 +00:00
Werner Koch
99fb609e0a
Fix !EROFS bug
2008-08-01 10:48:36 +00:00
Werner Koch
ecff4d37bf
Update.
2008-07-21 07:33:41 +00:00
Werner Koch
d9527051eb
Revert that last stupid setuid detection fix.
2008-07-17 19:47:19 +00:00
Werner Koch
96e1c57472
Typo fix by Ludwig Hügelschäfer.
2008-06-23 08:49:04 +00:00
Werner Koch
a4d40e6ab6
Translation fixes.
2008-05-26 10:39:56 +00:00
David Shaw
0eceba4c79
* gpg-zip.1: Add man page thanks to Colin Tuckley and Daniel Leidert.
2008-04-30 16:05:57 +00:00
Werner Koch
e850b7fc22
Ignore gpg2 introduced keywords for --auto-key-locate.
...
Minor W32 installer fix.
2008-04-30 11:46:35 +00:00
David Shaw
18f6e7e5d8
Add Camellia-192.
2008-04-17 17:40:30 +00:00
David Shaw
06278768b4
* gpgkeys_curl.c (main), gpgkeys_hkp.c (main): Make sure all libcurl
...
number options are passed as long.
2008-04-14 17:41:47 +00:00
David Shaw
b9cbb0aa0b
* curl-shim.c (curl_easy_setopt): Minor tweak to match the real curl
...
better - libcurl uses 'long', not 'unsigned int'.
2008-04-14 16:08:00 +00:00
David Shaw
9fbb6f402c
* getkey.c (merge_selfsigs_subkey): If there are multiple 0x19
...
backsigs, take the most recent one.
2008-04-13 01:56:01 +00:00
Werner Koch
ec9309bd9e
Yet another minor yat2m fix.
2008-04-02 08:48:08 +00:00