| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
of a minor cleanup to use #defines instead of hard-coded sizes.
|
|
|
|
|
| |
SOCKET_ERROR. Noted by Timo.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
transfer protocols. Allow setting HTTP proxy via "http-proxy=foo" option
(there is natural support in libcurl for the http_proxy environment
variable).
* Makefile.am: Remove the conditional since this is all handled in
autoconf now.
|
|
|
|
|
|
|
|
|
|
| |
numeric value for the maximum number of redirects to allow. Defaults to
5.
* gpgkeys_curl.c (main), gpgkeys_finger.c (main), gpgkeys_hkp.c (main),
gpgkeys_http.c (main), gpgkeys_ldap.c (main): Make sure that a "timeout"
option passed with no arguments is properly handled.
|
|
|
|
|
|
|
|
| |
avoid DLL access problem on win32.
* gpgkeys_http.c (main, get_key): Properly pass authentication info
through to the http library.
|
|
|
|
|
|
|
|
| |
* gpgkeys_curl.c (main, get_key): Minor tweaks to work with either FTP or
HTTP.
* gpgkeys_ftp.c: renamed to gpgkeys_curl.c.
|
|
|
|
|
|
| |
CURLOPT_FILE instead of CURLOPT_WRITEDATA (same option, but backwards
compatible).
|
| |
|
| |
|
|
|
|
|
|
| |
of an existing install is bound to confuse people. Use ln -s -f to force
the overwrite.
|
| |
|
| |
|
|
|
|
|
| |
"x-hkp" so it can be used as a SRV tag.
|
| |
|
|
|
|
|
|
|
|
|
| |
GNU options. Factored help printing out.
* gpgkeys_finger.c (main, show_help): Ditto.
* gpgkeys_hkp.c (main, show_help): Ditto.
* gpgkeys_http.c (main, show_help): Ditto.
* gpgkeys_test.in, gpgkeys_mailto.in: Implement --version and --help.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(AUTOMAKE_OPTIONS): New.
* configure.ac: Check whether vasprintf needs a replacement.
* app-openpgp.c (parse_login_data): New.
(app_select_openpgp): Call it.
(do_setattr): Reparse it after change.
* Makefile.am: Add ksutil.h.
|
|
|
|
|
|
| |
"finger://relayhost/[email protected]"), but finger URLs are occasionally
miswritten that way. Give an error in this case.
|
|
|
|
|
|
|
|
| |
logging.
* gpgkeys_finger.c (get_key): s/unsigned char/byte/ due
to a strange typedef for RISC OS. Noted by Stefan.
|
|
|
|
|
|
|
|
| |
gpgkeys_finger.c (main): Call timeout functions before performing an
action that could block for a long time.
* ksutil.h, ksutil.c: New. Right now just contains timeout functions.
|
|
|
|
|
| |
few occurances of "filename" to `filename'.
|
| |
|
|
|
|
|
|
|
|
| |
* keyserver.c (keyserver_spawn): Print an empty string in log_info
if the host is not set (e.g. finger).
* gpgkeys_finger.c: New.
|
| |
|
| |
|
|
|
|
|
|
| |
search_key), gpgkeys_http.c (get_key): Do not give informational logs
since this is now done inside gpg.
|
|
|
|
|
|
| |
""") in HTML responses. (search_key): Search key must be unsigned for
url encoder to work properly for 8-bit values.
|
|
|
|
|
| |
function build_info().
|
|
|
|
|
| |
got shrunk due to encoding.
|
|
|
|
|
|
|
|
| |
full DN rather than LDAP_SCOPE_ONELEVEL plus a filter to find the
pgpServerInfo object. Some LDAP setups don't like the search. (main):
Stop binding to the server since it seems no server really requires it,
and some require it not be there.
|
|
|
|
|
|
|
|
| |
with OpenLDAP, but it's practically vital to debug SSL and TLS setups.
Add "basedn" option. This allows users to override the autodetection for
base DN. SSL overrides TLS, so TLS will not be started on SSL connections
(starting an already started car).
|
|
|
|
|
|
|
|
| |
attributes so we can do subkey searches.
* gpgkeys_ldap.c (main): Under certain error conditions, we might try and
unbind twice. Don't.
|
|
|
|
|
|
|
| |
we can try a modify operation first, and fail over to an add if that
fails. Add cannot cope with the NULLs at the head of the modify request,
so we jump into the list in the middle.
|
|
|
|
|
|
|
| |
connection to the NAI keyserver since we cannot tell if it is a NAI
keyserver until we connect. Fail if we cannot find a base keyspace DN.
Fix a false success message for TLS being enabled.
|
|
|
|
|
|
|
|
|
|
|
| |
(min_automake_version): New.
* LINGUAS: Added all languages we supported in 1.2.5.
Copied all po files from 1.2.5.
* autogen.sh: Updated to the modern version, grepping the required
tool versions from configure.ac.
|
|
|
|
|
| |
gpgkeys_hkp.c.
|
|
|
|
|
| |
path use a path of "/".
|
|
|
|
|
| |
available now, since it's a replacement function.
|
|
|
|
|
|
|
| |
keyserver interface.
* Makefile.am: Build it.
|
|
|
|
|
|
| |
can't handle blank lines after a \ continuation. Noted by Christoph
Moench-Tegeder.
|
|
|
|
|
|
|
| |
attributes. This guarantees that if something goes wrong, we won't be
able to complete the transaction, thus leaving any key already existing on
the server intact.
|
|
|
|
|
|
|
|
| |
functionality added. Optional deduping functionality added (currently
only used for pgpSignerID). (build_attrs): Translate sig entries into
pgpSignerID. Properly build the timestamp for pgpKeyCreateTime and
pgpKeyExpireTime.
|
|
|
|
|
|
|
|
|
| |
with NULL (a "delete" that works even for nonexistant attributes).
(send_key): Use it here to remove attributes so a modify operation starts
with a clean playing field. Bias sends to modify before add, since (I
suspect) people update their existing keys more often than they make and
send new keys to the server.
|
|
|
|
|
|
|
|
|
|
| |
(make_one_attr): New. Build a modification list in memory to send to the
LDAP server. (build_attrs): New. Parse INFO lines sent over by gpg.
(free_mod_values): New. Unwinds a modification list.
(send_key_keyserver): Renamed from old send_key(). (send_key): New
function to send a key to a LDAP server. (main): Use send_key() for real
LDAP servers, send_key_keyserver() otherwise.
|
|
|
|
|
|
|
|
|
|
| |
(search_key): Catch a SIZELIMIT_EXCEEDED error and show the user whatever
the server did give us. (find_basekeyspacedn): There is no guarantee that
namingContexts will be readable.
* Makefile.am: Link gpgkeys_ldap with libutil.a to get the replacement
functions (and eventually translations, etc).
|
|
|
|
|
|
|
| |
correct for timezones. (main): Find the basekeyspacedn before we try to
start TLS, so we can give a better error message when a user tries to use
TLS with a LDAP keyserver.
|
|
|
|
|
|
|
|
|
|
| |
gpgkeys_ldap when needed.
* gpgkeys_ldap.c (main): Add support for LDAPS and TLS connections.
These are only useful and usable when talking to real LDAP keyservers.
Add new "tls" option to tune TLS use from off, to try quietly, to try
loudly, or to require TLS.
|
|
|
|
|
|
|
|
| |
kind of LDAP server we're talking to (either real LDAP or the LDAP
keyserver), and return the baseKeySpaceDN to find keys under. (main): Call
it from here, and remove the old code that only handled the LDAP
keyserver.
|
|
|
|
|
|
|
| |
is defined before we use it.
* gpgkeys_mailto.in: Fix VERSION number.
|
| |
|