aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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).
* * autogen.sh: automake needs --add-missing for conditional CPPFLAGS buildDavid Shaw2004-12-212-2/+7
| | | | | in keyserver/Makefile.am.
* As always, CVS leaves out the local directory?David Shaw2004-12-212-0/+20
|
* FTP keyserver support via gpgkeys_ftp. This is currently off by default.David Shaw2004-12-215-7/+402
|
* * keyedit.c (menu_set_keyserver_url): Make sure we only operate on theDavid Shaw2004-12-213-4/+14
| | | | | | | | chosen selfsig so we don't accidentally promote an older selfsig to chosen. Discovered by Simon Josefsson and 'Todd'. * keygen.c (ask_expire_interval): Fix typo.
* * keylist.c (list_keyblock_print): Secret key listings should always showDavid Shaw2004-12-213-16/+31
| | | | | | | everything (expired UIDs, revoked subkeys, etc, etc). * keyedit.c (keyedit_menu): Add additional help for the "sign" flags.
* (ask_expire_interval): For better translations chnage 2Werner Koch2004-12-202-7/+13
| | | | | strings.
* * seckey-cert.c (do_check): Handle case when checksum was okay butWerner Koch2004-12-206-8/+49
| | | | | | | | | passphrase still wrong. Roman Pavlik found such a case. * mpicoder.c (mpi_read_from_buffer): Don't abort in case of an invalid MPI but print a message and return NULL. Use log_info and not log_error.
* (handle_iconv_error): Turn diagnostics into warningsWerner Koch2004-12-203-5/+16
| | | | | | so that gpg does not return with failure. (native_to_utf8, utf8_to_native): Ditto.
* * keyedit.c (keyedit_menu): Invisible alias "passwd" as "password".David Shaw2004-12-208-32/+61
| | | | | | | | | | | * passphrase.c: Don't check for __CYGWIN__, so it is treated as a unix-like system. * options.h, g10.c (main), textfilter.c (standard): Use new option --rfc2440-text to determine whether to filter "<space>\t\r\n" or just "\r\n" before canonicalizing text line endings. Default to "<space>\t\r\n".
* * keygen.c (keygen_get_std_prefs): Set reference count when creating theDavid Shaw2004-12-193-28/+61
| | | | | | | | | | | | temporary user ID. * keyedit.c (keyedit_menu): Merge updpref and setpref. Keep updpref as an invisible alias. Add invisible alias for revphoto. Fix small memory leak when using "setpref" (not all of the uid was freed). (menu_revkey): Trigger a trust rebuild after revoking a key. Don't allow revoking an already-revoked whole key. (menu_revsubkey): Don't allow revoking an already-revoked subkey.
* * keyedit.c (menu_revkey): Rename to menu_revsubkey. (menu_revkey): New.David Shaw2004-12-192-19/+77
| | | | | | | Revoke a whole key. (keyedit_menu): Call it here for when 'revkey' is used without any subkeys selected. This is to be consistent with the other functions which are "selected part if selected, whole key if not".
* Oddly commit missed this one.David Shaw2004-12-182-15/+6
| | | | | | * configure.ac: Call the new GNUPG_CHECK_READLINE macro for readline stuff.
* Readline fix to be robust against platforms where readline has its ownDavid Shaw2004-12-189-10/+87
| | | | | | dependencies. We play guess-the-depedency for a while, and try termcap, curses, and ncurses.
* * configure.ac: Add a --with-ldap=DIR so people can add to the searchDavid Shaw2004-12-172-15/+34
| | | | | path.
* * passphrase.c (agent_get_passphrase): Define NREAD locally asWerner Koch2004-12-174-3/+13
| | | | | | | | size_t or int. * keylist.c (list_keyblock_print): Make field width an int. * keyedit.c (show_key_with_all_names): Ditto.
* * configure.ac: Check for arpa/nameser.h.David Shaw2004-12-162-1/+5
|
* * configure.ac: Check for arpa/nameser.h.David Shaw2004-12-162-1/+7
| | | | | | * srv.h: Don't include arpa/nameser.h unless we have it. Include "types.h" for u16.
* post release updatesWerner Koch2004-12-162-1/+5
|
* Minor fixesV1-4-0Werner Koch2004-12-162-6/+7
|
* Add a note on how to send translations.Werner Koch2004-12-163-45/+70
|
* About to release 1.4.0Werner Koch2004-12-1629-8358/+8488
|
* * gpg.sgml: Document --require-secmem/--no-require-secmem. Note that theDavid Shaw2004-12-162-31/+37
| | | | | sign flags (l, t, nr) can be mixed. Remove --nrsign-key.
* * g10.c (main): Add --require-secmem/--no-require-secmem to cause gpg toDavid Shaw2004-12-166-22/+37
| | | | | | | | | | | exit if it cannot lock memory. Also remove --nrsign-key and --nrlsign-key since this can better be done via --edit-key. * secmem.c (secmem_init): Return a flag to indicate whether we got the lock. * memory.h: Return a flag to indicate whether we got the lock.
* * apdu.c (apdu_send_le, apdu_send_direct), keylist.cDavid Shaw2004-12-155-9/+24
| | | | | | | | | | (status_one_subpacket, print_one_subpacket): Fix some compiler warnings. * g10.c (main): Fix --compression-algo to take a string argument like --compress-algo. * trustdb.c (uid_trust_string_fixed): For safety, check for a pk.
* * keyedit.c (keyedit_menu): Re-remove the N_() markers.David Shaw2004-12-142-43/+45
|
* * trustdb.c (uid_trust_string_fixed): Show uids as revoked if the key isDavid Shaw2004-12-143-119/+196
| | | | | | | | | | | | | revoked. * keyedit.c (show_key_with_all_names): Don't show validity for secret key UIDs. * keyedit.c (parse_sign_type): New. Figure out the flags (local, nonrevoke, trust) for a signature. (keyedit_menu): Call it here so we can mix and match flags, and don't need "nrltsign", "ltsign", "tnrsign", etc, etc, etc.
* post release updatesWerner Koch2004-12-142-2/+9
|
* automake updates, removed one debug outputV1-3-93Werner Koch2004-12-142-1/+2
|
* Prepared for last 1.4 release candidateWerner Koch2004-12-1443-14205/+12300
|
* (read_passphrase_from_fd): Fixed memory leak.Werner Koch2004-12-132-1/+9
| | | | | Noted by Andrei Darashenka.
* (keys): Removed my old 621CC013 keyWerner Koch2004-12-123-1251/+1916
| | | | | | which expires at the end of this year. Add g10 Code's source code signing key 37D92FFB.
* * keyserver.c (parse_preferred_keyserver): Force preferred keyserverDavid Shaw2004-12-122-1/+6
| | | | | subpackets to have a URI scheme specified.
* * options.h, g10.c (main), textfilter.c (standard): Use --rfc2440 orDavid Shaw2004-12-115-6/+11
| | | | | | | | --openpgp directly to determine the end of line hashing rule. * trustdb.c (uid_trust_string_fixed): Show uids as expired if the key is expired.
* * sv.po: Take the update done for 1.2.6.Werner Koch2004-12-1030-22247/+23629
| | | | | * zh_CN.po, fr.po, cs.po, ja.po: Updated.