aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Typo fixesWerner Koch2005-04-055-7/+12
|
* Changes to make use of code taken from libassuan. This replaces theWerner Koch2005-04-0523-615/+2428
| | | | | | | old ad-hoc connection code to gpg-agent. We do need this for the forthcoming diversion of card code to an already running gpg-agent with card-support.
* * mainproc.c (proc_plaintext): Properly handle SIG+LITERAL (old-style PGP)David Shaw2005-04-012-19/+41
| | | | | signatures that use hashes other than SHA-1, RIPEMD160, or MD5.
* (keygen_set_std_prefs): Explain the chosen order ofWerner Koch2005-04-011-1/+13
| | | | | AES key sizes.
* * exec.h, exec.c (set_exec_path): Remove some dead code and change allDavid Shaw2005-03-315-23/+16
| | | | | callers. We no longer need to append to $PATH.
* * keydb.c (keydb_add_resource): Clarify meaning of flags. Add newWerner Koch2005-03-313-6/+24
| | | | | | flag 4. Use log_info for errors registering the default secret key. * g10.c (main): Flag the default keyrings.
* * keyserver.c (keyserver_spawn): Don't mess about with the $PATH.David Shaw2005-03-312-9/+42
| | | | | | Rather, call keyserver helpers with the full path. This fixes some PATH-inspired DLL problems on W32. Noted by Carlo Luciano Bianco.
* * w32installer.nsi: Allow including of WINPT source. IncludeWerner Koch2005-03-304-15/+112
| | | | | | | libiconv source. * mk-w32-dist: Add code to detect presence of source. Calculate a build number; add option --build-number to overide.
* (pin_cb): Print a warning if the info string hack isWerner Koch2005-03-306-18/+31
| | | | | not there. This may happen due to typos in the translation.
* (rndw32_gather_random_fast): While adding data use theWerner Koch2005-03-232-5/+12
| | | | | | size of the object and not the one of its address. Bug reported by Sascha Kiefer.
* * gpgkeys_ldap.c, ksutil.h, ksutil.c (print_nocr): Moved fromDavid Shaw2005-03-227-17/+34
| | | | | | | | | gpgkeys_ldap.c. Print a string, but strip out any CRs. * gpgkeys_finger.c (get_key), gpgkeys_hkp.c (get_key), gpgkeys_http.c (get_key): Use it here when outputting key material to canonicalize line endings.
* * gpgv.c: Stubs for tty_enable_completion() & tty_disable_completion().David Shaw2005-03-214-3/+27
| | | | | | | | | * openfile.c (ask_outfile_name): Enable readline completion when prompting for an output filename. * plaintext.c (ask_for_detached_datafile): Enable readline completion when prompting for a detached sig datafile.
* * keyedit.c (command_generator, keyedit_completion): ChangedWerner Koch2005-03-214-15/+34
| | | | | | indentation. * card-util.c (command_generator, card_edit_completion): Ditto.
* * readline.m4: Check for completion functionality.David Shaw2005-03-213-7/+12
| | | | | * ldap.m4: Comments.
* * card-util.c (command_generator, card_edit_completion)David Shaw2005-03-202-14/+76
| | | | | | | [GNUPG_MAJOR_VERSION==1 && HAVE_LIBREADLINE]: New functions to enable command completion in the --card-edit menu. (card_edit): Call them here.
* * gpgkeys_ldap.c (main): Fix three wrong calls to fail_all(). NotedDavid Shaw2005-03-192-3/+8
| | | | | by Stefan Bellon.
* * keyedit.c (command_generator, keyedit_completion) [HAVE_LIBREADLINE]:David Shaw2005-03-182-3/+59
| | | | | | New functions to enable command completion in the --edit-key menu. (keyedit_menu): Call them here.
* * ttyio.c (tty_enable_completion, tty_disable_completion): Enable andDavid Shaw2005-03-184-1/+47
| | | | | | disable readline completion. (init_ttyfp): Completion is disabled by default.
* * getkey.c (get_seckey_byname2): If no explicit default key is set, don'tDavid Shaw2005-03-172-4/+13
| | | | | pick a disabled default. Noted by David Crick.
* * ksutil.c (parse_ks_options): Handle verbose=nnn.David Shaw2005-03-173-6/+15
| | | | | | * Makefile.am: Calculate GNUPG_LIBEXECDIR directly. Do not redefine $libexecdir.
* * Makefile.am: Calculate GNUPG_LIBEXECDIR directly. Do not redefineDavid Shaw2005-03-172-12/+7
| | | | | $libexecdir.
* * options.h, keyserver.c (parse_keyserver_options, keyserver_spawn): Don'tDavid Shaw2005-03-173-22/+18
| | | | | | treat 'verbose' and 'include-disabled' as special. Just pass them through silently to the keyserver helper.
* * gpgkeys_curl.c, gpgkeys_finger.c, gpgkeys_ldap.c: Start usingDavid Shaw2005-03-176-464/+239
| | | | | | | | parse_ks_options and remove a lot of common code. * ksutil.h, ksutil.c (parse_ks_options): Parse OPAQUE, and default debug with no arguments to 1.
* * configure.ac: Move the LDAP detecting code to m4/ldap.m4.David Shaw2005-03-173-64/+10
|
* * ldap.m4: New. Moved from configure.ac.David Shaw2005-03-172-0/+92
|
* * gpgkeys_ldap.c: Include lber.h if configure determines we need it.David Shaw2005-03-172-0/+6
|
* * ksutil.h, ksutil.c (ks_action_to_string): New. (free_ks_options): OnlyDavid Shaw2005-03-163-13/+31
| | | | | free if options exist.
* (parse_ccid_descriptor): Make SCM workaroundWerner Koch2005-03-162-28/+76
| | | | | | | | | | | | | reader type specific. (scan_or_find_devices): Do not check the interface subclass in the SPR532 kludge, as this depends on the firmware version. (ccid_get_atr): Get the Slot status first. This solves the problem with readers hanging on recent Linux 2.6.x. (bulk_in): Add argument TIMEOUT and changed all callers to pass an appropriate one. Change the standard timeout from 10 to 5 seconds. (ccid_slot_status): Add a retry code with an initial short timeout. (do_close_reader): Do an usb_reset before closing the reader.
* * ksutil.h, ksutil.c (init_ks_options, free_ks_options,David Shaw2005-03-163-1/+238
| | | | | | parse_ks_options): Pull a lot of duplicated code into a single options parser for all keyserver helpers.
* Post release preparationsWerner Koch2005-03-153-2/+6
|
* Preparing a releaseV1-4-1Werner Koch2005-03-1531-6042/+6067
|
* * card-util.c (card_status): Use isotimestamp and not theWerner Koch2005-03-147-4/+77
| | | | | | | | localized asctimestamp to match the timezone used in the key information. * miscutil.c (isotimestamp): New.
* * cardglue.c (pin_cb): Disable debug output.Werner Koch2005-03-1414-40/+141
| | | | | | | | * mk-w32-dist: Check for patch files. * w32installer.nsi: Translated a few more strings. Print a warning if permssions are not suitable for the installation. Add Uninstaller entries.
* * configure.ac: New option --enable-noexecstack.Werner Koch2005-03-118-3/+49
| | | | | | * Makefile.am (ASFLAGS): Renamed to AM_CCASFLAGS and added the variable for non exectubale stack options. Adapted users.
* * keyserver.c (parse_keyserver_options): Accept honor-http-proxy as anDavid Shaw2005-03-102-0/+11
| | | | | alias for http-proxy.
* * delkey.c (do_delete_key, delete_keys): Fix problem with --expertDavid Shaw2005-03-102-22/+38
| | | | | preventing --delete-secret-and-public-keys from deleting secret keys.
* (keyedit_menu) [W32]: Run the trustdb stale checkWerner Koch2005-03-102-1/+19
| | | | | earlier.
* (secmem_realloc): Take control information into accountWerner Koch2005-03-103-5/+28
| | | | | when checking whether a resize is needed.
* * primegen.c (is_prime): Free A2. Noted by [email protected].Werner Koch2005-03-0711-394/+420
| | | | | | | | | | | | | | | | | | | Fixes #423. * DETAILS: Document new status codes. * cardglue.c (agent_scd_pkdecrypt, agent_scd_pksign) (agent_scd_genkey, agent_scd_setattr, agent_scd_change_pin) (agent_scd_checkpin, agent_openpgp_storekey): Make sure to send a SC_OP_FAILURE after card operations which might change data. * card-util.c (change_pin): Send a SC_OP_SUCCESS after a PIN has been changed. (change_name): Removed a debug output. * status.h, status.c: New codes BAD_PASSPHRASE_PIN, SC_OP_FAILURE and SC_OP_SUCCESS. * de.po: Updated. Translation is still in the works, though.
* * libcurl.m4: Use $LIBS instead of $LDFLAGS. This should help buildDavid Shaw2005-03-012-4/+9
| | | | | problems on Mingw32.
* * keyedit.c (keyedit_menu): Only print the key signing hint when signingDavid Shaw2005-02-242-1/+8
| | | | | from a place where it is useful (i.e. --edit-key and not --sign-key).
* * gnupg.spec.in: Fix problem with storing the gpgkeys helpers inDavid Shaw2005-02-172-3/+12
| | | | | libexec, but calling them in libexec/gnupg.
* about to release 1.4.1rc2RC-1-4-1rc2Werner Koch2005-02-1626-2099/+2258
|
* * card-util.c (fetch_url): Fetch the key from the defaultWerner Koch2005-02-1637-14566/+14259
| | | | | | | | keyserver if no URL is available. * w32installer.nsi: Added page to select the language. * mk-w32-dist: Create the opt.ini using the available languages.
* * w32installer.nsi: Added page to select the language.Werner Koch2005-02-163-47/+167
| | | | | * mk-w32-dist: Create the opt.ini using the available languages.
* * gpg.sgml: Add bkuptocard command for --edit-key.Werner Koch2005-02-159-41/+222
| | | | | | | | * passphrase.c (agent_get_passphrase): Don't call free_public_key if PK is NULL. (passphrase_clear_cache): Ditto. Removed debug output. (passphrase_to_dek): Ditto.
* * curl-shim.c (curl_easy_perform): Fix compile warning.David Shaw2005-02-125-2/+67
| | | | | | * curl-shim.h, gpgkeys_curl.c (main), gpgkeys_ldap.c (main): Add ca-cert-file option, to pass in the SSL cert.
* * curl-shim.h, curl-shim.c: New. This is code to fake the curl API inDavid Shaw2005-02-115-0/+243
| | | | | | | | terms of the current HTTP iobuf API. * gpgkeys_curl.c [FAKE_CURL], Makefile.am: If FAKE_CURL is set, link with the iobuf code rather than libcurl.
* * configure.ac: Add --enable-fake-curl option to help test no-curl HTTP.David Shaw2005-02-113-7/+25
| | | | | * NEWS: Note Mister/Zuccherato CFB countermeasures.
* Disable the "quick check" bytes for PK decryptions. This is inDavid Shaw2005-02-105-13/+32
| | | | | regards to the Mister and Zuccherato attack on OpenPGP CFB mode.