David Shaw
91df5cb2e3
* keyserver.c (keyserver_import_ldap): Try a DNS-SD lookup to find a
...
domain-specific LDAP server before resorting to keys.{domain}.
2009-07-23 19:50:25 +00:00
David Shaw
63fb9d249a
* srv.c (getsrv): Fix type-punning warning. (main): Allow testing any
...
SRV.
2009-07-23 19:05:19 +00:00
Werner Koch
6d755a83b4
Parse EXTCAP lines from the card.
...
Change messages for a corrupt trustdb.
2009-07-23 08:00:39 +00:00
Werner Koch
3459c6b015
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.
2009-07-21 14:30:13 +00:00
Werner Koch
b478389753
Repalce an assert by a proper error message.
2009-07-17 11:24:51 +00:00
Werner Koch
81d7fbc7cb
Fix bug#1087.
2009-07-16 07:40:16 +00:00
Werner Koch
bdc004bafe
fix bug#1085.
2009-07-13 10:29:40 +00:00
David Shaw
4401184ea7
* 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".
2009-07-08 03:50:26 +00:00
Werner Koch
64f24da283
Fix a couple of minor bugs.
2009-06-24 14:01:20 +00:00
Werner Koch
9c5313a791
Update
2009-06-17 10:51:55 +00:00
Werner Koch
275ad3fa26
Fix bug#1040.
2009-06-17 10:36:12 +00:00
David Shaw
e9a1d6da83
* Makefile.am (gpgkeys_hkp_LDADD): Need DNSLIBS for the resolver now
...
that we're using SRVs.
2009-06-09 23:07:48 +00:00
David Shaw
4843e6c8f2
Remove Camellia restriction.
2009-06-05 16:54:47 +00:00
Werner Koch
58a0c9ee49
Add stub function. Noted by Daniel Leidert.
2009-06-02 15:26:06 +00:00
Werner Koch
851ecc6e55
Fix bug#1069.
2009-06-02 14:36:40 +00:00
David Shaw
0f993bbd65
* gpgkeys_hkp.c (srv_replace): Fix build warning.
2009-05-28 04:33:10 +00:00
David Shaw
e8436d575e
Avoid caches to get the most recent copy of the key. This is bug
...
#1061
2009-05-26 14:15:56 +00:00
Werner Koch
0bbe6eda34
Fixed bug1058.
2009-05-22 15:38:49 +00:00
Werner Koch
d72349bde0
Fix bug#1044.
2009-05-20 10:25:58 +00:00
Werner Koch
4694c1a8eb
Fix bug 1045
2009-05-11 10:01:11 +00:00
Werner Koch
bc0202a8c2
Fix bug 1045.
2009-05-11 09:37:25 +00:00
Werner Koch
750990401c
Print 'empty file' warning only with --verbose.
2009-05-11 09:20:39 +00:00
Werner Koch
23ad4bd73b
Fix for bug#1034.
2009-05-06 09:31:15 +00:00
Werner Koch
418e61a824
Improve dotlocking.
...
Implement locking for W32.
2009-05-05 15:32:16 +00:00
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