aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * configure.ac: Define FTPS flag if we're using curl, and FTPS isDavid Shaw2005-01-234-30/+45
| | | | | | | | | | available. * README: Fix some typos (noted by Norihiko Murase), update to 1.4.1, and tweak some descriptions. * NEWS: Note FTPS.
* * libcurl.m4: Note that FTPS existed, but wasn't fullyDavid Shaw2005-01-222-14/+38
| | | | | standards-compliant until version 7.11.0.
* * keyserver.c (free_keyserver_spec): Fix small leak.David Shaw2005-01-222-0/+11
| | | | | (keyserver_typemap): Map https if we are supporting it.
* * gpgkeys_ldap.c (main): Add "check-cert" option to disable SSLDavid Shaw2005-01-223-14/+69
| | | | | | | | | certificate checking (which is on by default). * gpgkeys_curl.c (main): Add "debug" option to match the LDAP helper. Add "check-cert" option to disable SSL certificate checking (which is on by default).
* (open_card): Issue new CARDCTRL(4) status.Werner Koch2005-01-202-1/+4
|
* * gpgv.c (tty_fprintf): New stub.Werner Koch2005-01-2010-34/+397
| | | | | | | | | * card-util.c (card_status): Create asecret key stub on the fly and print more information about a card key. * import.c (pub_to_sec_keyblock, auto_create_card_key_stub): New. * getkey.c (get_seckeyblock_byfprint): New. * keylist.c (print_card_key_info): New.
* Minor changesWerner Koch2005-01-202-2/+144
|
* * g10.c (i18n_init) [W32]: Pass registry key to gettextWerner Koch2005-01-2019-143/+350
| | | | | | | | | initialization. * gpgv.c (i18n_init) [W32]: Ditto. * simple-gettext.c (set_gettext_file): Use MO files depending on the installation directory. Add new arg REGKEY.
* * NEWS: Note --rfc2440-text import/export-unusable-sigs andDavid Shaw2005-01-193-3/+31
| | | | | | | | gpgkeys_curl. * configure.ac: gpgkeys_mailto is disabled by default. Define HTTPS flag if we're using curl, and HTTPS is available.
* * gpgkeys_curl.c: Fix typo.David Shaw2005-01-182-1/+5
|
* * gpgkeys_curl.c: s/MAX_PATH/URLMAX_PATH/g to avoid a clash withWerner Koch2005-01-184-11/+29
| | | | | | | | the W32 defined macro. Removed unneeded initialization of static variables. * gpgkeys_http.c: Ditto. * ksutil.h: s/MAX_PATH/URLMAX_PATH/.
* (public_key_list): Do a trustdb staleness check beforeWerner Koch2005-01-182-0/+15
| | | | | | opening the keyring. (secret_key_list): Ditto.
* * gpgkeys_curl.c (main): Only allow specified protocols to use theDavid Shaw2005-01-183-8/+18
| | | | | | | curl handler. * Makefile.am: Use LIBCURL_CPPFLAGS instead of LIBCURL_INCLUDES.
* * libcurl.m4: Use LIBCURL_CPPFLAGS and not LIBCURL_INCLUDES to matchDavid Shaw2005-01-182-5/+10
| | | | | automake syntax.
* Same forWerner Koch2005-01-176-13/+100
| | | | | --without-included-regex.
* Make --without-included-zlib work asWerner Koch2005-01-172-1/+6
| | | | | expected. Reported by Norihiko Murase.
* Make --without-included-zlib work asWerner Koch2005-01-171-0/+1
| | | | | expected. Reported by Norihiko Murase.
* * ksutil.h, gpgkeys_curl.c, gpgkeys_hkp.c, gpgkeys_ldap.c,David Shaw2005-01-137-99/+51
| | | | | | gpgkeys_finger.c, gpgkeys_http.c: Part 2 of the cleanup. Move all the various defines to ksutil.h.
* * gpgkeys_finger.c, gpgkeys_hkp.c, gpgkeys_http.c, gpgkeys_ldap.c: Part 1David Shaw2005-01-135-73/+109
| | | | | of a minor cleanup to use #defines instead of hard-coded sizes.
* * http.c (connect_server): Use INADDR_NONE instead of SOCKET_ERROR.David Shaw2005-01-132-1/+6
| | | | | Noted by Timo.
* * gpgkeys_finger.c (connect_server): Use INADDR_NONE instead ofDavid Shaw2005-01-132-1/+6
| | | | | SOCKET_ERROR. Noted by Timo.
* * w32installer.nsi: New.Werner Koch2005-01-113-7/+269
| | | | | | * mk-w32-dist: Append ".txt" to some files. Call makensis if available.
* * keyedit.c (keyedit_menu): Move command strings outside the function toDavid Shaw2005-01-112-80/+89
| | | | | get ready for the readline completion code.
* * passphrase.c (readline, agent_send_option, agent_open,David Shaw2005-01-102-7/+11
| | | | | | agent_get_passphrase, passphrase_clear_cache): Rename readline() to readaline() to keep readline library namespace clear.
* * gpgkeys_curl.c (get_key): Newer versions of libcurl don't define TRUE.David Shaw2005-01-102-1/+6
|
* * filter.h, armor.c (armor_filter): Use the eol string from the armorDavid Shaw2005-01-064-28/+66
| | | | | | | | | | filter context instead of hardcoding '\n' or '\r\n'. If no eol string is provided, default to '\n' or '\r\n' as appropriate. (is_armor_header): Trim tabs in armor header lines as well. * keyserver.c (keyserver_spawn): Use it here to force '\n' line endings since the keyserver output file gets a LF->CRLF expansion on win32.
* (set_native_charset): Assume that ASCII,Werner Koch2005-01-062-8/+55
| | | | | | | | ANSI_X3.4-1968 and 646 are actually meant as Latin-1. If nl_langinfo is not available get the charset from environment variables. For W32 use GetACP as error fallback. Removed Latin-15 to Latin-1 aliasing.
* * g10.c (main): Typo.David Shaw2005-01-063-11/+27
| | | | | | | * armor.c (is_armor_header): Allow CR and LF (not just actual spaces) in an armor header line (-----BEGIN etc). This is needed due to CRLF issues on win32. As before, --openpgp makes it strict.
* * configure.ac: Use new GNUPG_CHECK_LIBUSB macro.David Shaw2005-01-032-16/+8
|
* * Makefile.am, libusb.m4: New libusb check macro.David Shaw2005-01-033-1/+55
|
* * Makefile.am: Use @LIBUSB@ instead of @LIBUSB_LIBS@David Shaw2005-01-033-3/+15
| | | | | * import.c (delete_inv_parts): Comments on import-unusable-sigs.
* * options.h, import.c (parse_import_options, delete_inv_parts): AddDavid Shaw2005-01-014-2/+44
| | | | | | | | | | import-unusable-sigs flag to enable importing unusable (currently: expired) sigs. * options.h, export.c (parse_export_options, do_export_stream): Add export-unusable-sigs flag to enable exporting unusable (currently: expired) sigs.
* * configure.ac: Better implementation for the SRV check. We don't need toDavid Shaw2004-12-302-4/+8
| | | | | | actually check all the header files individually since the SRV test compile uses them together.
* * packet.h, getkey.c (merge_selfsigs_main, sig_to_revoke_info), keyid.cDavid Shaw2004-12-305-11/+46
| | | | | | (revokestr_from_pk), keyedit.c (show_key_with_all_names): Show who revoked a key (either the same key or a designated revoker) and when.
* Better implementation for the SRV check. We don't need to actually checkDavid Shaw2004-12-293-3/+10
| | | | | | all the header files individually since the SRV test compile uses them together.
* (find_endpoint): New.Werner Koch2004-12-282-26/+190
| | | | | | | | | | | | | (scan_or_find_devices): Add new args to return endpoint info and interface number. (ccid_open_reader, ccid_shutdown_reader): Take care of these new args. (bulk_in, bulk_out): Use the correct endpoints. (ccid_transceive_apdu_level): New. (ccid_transceive): Divert to above. (parse_ccid_descriptor): Allow APDU level exchange mode. (do_close_reader): Pass the interface number to usb_release_interface.
* * keyserver.c (keyserver_typemap): Only map HTTP and FTP if libcurl hasDavid Shaw2004-12-242-2/+9
| | | | | specifically been selected to handle them.
* * gpgkeys_curl.c (main): Use new defines for opting out of certainDavid Shaw2004-12-243-20/+38
| | | | | | | | | | 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.
* * configure.ac: Use new LIBCURL_CHECK_CONFIG macro for all libcurl stuff.David Shaw2004-12-242-14/+23
| | | | | | This simplifies, and we don't need the automake conditional stuff any longer.
* * libcurl.m4: Rewrite this to use the new --protocols flag I gave to theDavid Shaw2004-12-243-68/+179
| | | | | | | libcurl people. * Makefile.am: Add readline.m4 and libcurl.m4.
* * libcurl.m4: OSX has a problem with their curl-config script.David Shaw2004-12-232-0/+11
|
* * readline.m4: Make sure that readline is modern enough to understandDavid Shaw2004-12-233-9/+33
| | | | | | | | | rl_catch_signals. * libcurl.m4: Don't require curl-config to be present since it seems some binary packages don't include it. Allow users to specify LIBCURL and LIBCURL_INCLUDES for us.
* * gpgkeys_curl.c (main): New "follow-redirects" option. Takes an optionalDavid Shaw2004-12-226-5/+42
| | | | | | | | | | 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.
* * options.h, keyserver.c (parse_keyserver_uri): Properly parse auth dataDavid Shaw2004-12-223-0/+24
| | | | | from URLs and pass to keyserver helpers.
* * gpgkeys_curl.c (get_key, writer): New function to wrap around fwrite toDavid Shaw2004-12-223-4/+24
| | | | | | | | avoid DLL access problem on win32. * gpgkeys_http.c (main, get_key): Properly pass authentication info through to the http library.
* * keyserver.c (keyserver_typemap): New. Map certain keyserver types to aDavid Shaw2004-12-223-11/+33
| | | | | | | | | common type (e.g. ldaps -> ldap). If we are building with curl, map both http and ftp to curl. * build-packet.c (build_sig_subpkt): Only allow one preferred keyserver subpacket at a time.
* * Makefile.am: Build gpgkeys_http or gpgkeys_curl as needed.David Shaw2004-12-223-17/+67
| | | | | | | | * gpgkeys_curl.c (main, get_key): Minor tweaks to work with either FTP or HTTP. * gpgkeys_ftp.c: renamed to gpgkeys_curl.c.
* * configure.ac: --enable-ftp is on by default, --with-libcurl is off byDavid Shaw2004-12-222-8/+24
| | | | | | default. If we have neither of --enable-ftp or --enable-http, don't even check for curl.
* * libcurl.m4: Be much more strict with libcurl by trying to compile andDavid Shaw2004-12-222-1/+38
| | | | | link a test program that uses the features that we need.
* * gpgkeys_ftp.c (main, get_key): Use auth data as passed by gpg. UseDavid Shaw2004-12-222-6/+19
| | | | | | CURLOPT_FILE instead of CURLOPT_WRITEDATA (same option, but backwards compatible).