aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * gpgkeys_hkp.c: New hkp handler that uses curl or curl-shim.David Shaw2005-04-174-782/+328
| | | | | | | * Makefile.am: Build new gpgkeys_hkp. * curl-shim.c (curl_easy_perform): Cleanup.
* * ksutil.h, ksutil.c (curl_writer), gpgkeys_curl.c (get_key): Pass aDavid Shaw2005-04-174-18/+39
| | | | | | context to curl_writer so we can support multiple fetches in a single session.
* * curl-shim.h, curl-shim.c (handle_error, curl_easy_setopt,David Shaw2005-04-173-22/+110
| | | | | curl_easy_perform): Add POST functionality to the curl shim.
* * configure.ac: Remove --disable-old-hkp - use new HKP handler forDavid Shaw2005-04-172-10/+7
| | | | | --with-libcurl or --enable-fake-curl.
* * curl-shim.h, curl-shim.c (curl_escape, curl_free): EmulateDavid Shaw2005-04-163-0/+66
| | | | | curl_escape and curl_free.
* * gpgkeys_curl.c (main): If the http-proxy option is given without anyDavid Shaw2005-04-165-63/+1239
| | | | | | | | | | arguments, try to get the proxy from the environment. * ksutil.h, ksutil.c (curl_err_to_gpg_err, curl_writer): Copy from gpgkeys_curl.c. * gpgkeys_oldhkp.c: Copy from gpgkeys_hkp.c.
* * configure.ac: Add --disable-old-hkp option that can be used alongDavid Shaw2005-04-162-0/+13
| | | | | with --with-libcurl to build the curl version of HKP.
* Check for memrchr()David Shaw2005-04-122-2/+5
|
* Fix minor build problem on OSX (need a replacement for memrchr)David Shaw2005-04-124-0/+59
|
* * g10.c (main, add_notation_data, add_policy_url)Werner Koch2005-04-115-7/+34
| | | | | | | | | | | (add_keyserver_url): Use isascii() to protect the isfoo macros and to replace direct tests. Possible problems noted by Christian Biere. * keyserver.c (parse_keyserver_uri): Ditto. * g10.c (main): Declare --pipemode deprecated. * misc.c (deprecated_command): New.
* * ccid-driver.c (ccid_slot_status): Fixed debug messages.Werner Koch2005-04-074-6/+90
| | | | | | | | | * card-util.c (card_edit): Add command "verify". Enhanced admin command to allow optional arguments "on", "off" and "verify". (card_status): Print private DOs in colon mode. * app-openpgp.c (do_check_pin): Add hack to allow verification of CHV3.
* 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.