aboutsummaryrefslogtreecommitdiffstats
path: root/g10 (unfollow)
Commit message (Collapse)AuthorFilesLines
2005-05-31 * keydb.h [!ENABLE_AGENT_SUPPORT]: Define dummy types.Werner Koch6-11/+60
* cardglue.c (assuan_strerror, assuan_transact): Dummy functions if not build with agent support. * zh_TW.po, zh_CN.po, es.po, ro.po: Updated. * tr.po: Updated from TP. Note: this is an exception in general translations from the Robot are not anymore accepted. * regcomp.c (MB_CUR_MAX) [_WIN32]: Define it only if not defined.
2005-05-31Updated FSF street address and preparations for a release candidate.Werner Koch79-81/+172
2005-05-31* trustdb.h, trustdb.c (clean_subkeys_from_key): New. Walk throughDavid Shaw4-20/+129
the subkeys on a key, and mark any that aren't usable for deletion. Note that a signing subkey is never marked for deletion since these keys are still useful after expiration or revocation. * keyedit.c (menu_clean_subkeys_from_key): New function to call clean_subkeys_from_key() on a key. Note that the strings here are not marked for translation yet. The UI is still in flux, and there is no point in annoying the translators twice. (keyedit_menu): Call it here as part of the "clean" command.
2005-05-30* trustdb.h, trustdb.c (clean_uids_from_key): New. Walk through theDavid Shaw4-14/+144
user IDs on a key, and mark any that aren't valid for deletion. * keyedit.c (menu_clean_uids_from_key): New function to call clean_uids_from_key() on a key. (keyedit_menu): Call it from here as part of the "clean" command.
2005-05-27* g10.c (main): Default {export|import}-unusable-sigs to off until theDavid Shaw2-2/+7
"clean" UI can be finished.
2005-05-24* passphrase.c (ask_passphrase): Unescape the description string.Werner Koch6-44/+59
* cardglue.c (unescape_status_string): Removed. Changed all caller to use ... * misc.c (unescape_percent_string): New.
2005-05-24(add_notation_data): Check number of at-signs.Werner Koch1-1/+1
2005-05-24(add_notation_data): Check number of at-signs.Werner Koch2-1/+11
2005-05-23* app-openpgp.c, app-common.h: Again updated from gnupg 1.9 CVS.Werner Koch4-232/+22
* cardglue.c (open_card): Check USE_AGENT. (agent_scd_checkpin): Implemented Assuan part. (agent_scd_change_pin): Ditto.
2005-05-23* cardglue.c (open_card): Check USE_AGENT.Werner Koch4-75/+190
* g10.c (main): Option --debug-ccid-driver may now be given several times increase the debug level. * ccid-driver.c (parse_ccid_descriptor): Mark SCR335 FW version 5.14 as good. (do_close_reader): Never do a reset. The caller should instead make sure that the reader has been closed properly. The new retry code in ccid_slot_status will make sure that the readersatrts up fine even if the last process didn't closed the USB connection properly. (ccid_get_atr): For certain readers try switching to ISO mode. Thanks to Ludovic Rousseau for this hint and the magic numbers. (print_command_failed): New. (bulk_in): Use it here. Add new arg NO_DEBUG. (ccid_slot_status): Disabled debugging.
2005-05-21* cardglue.c (send_status_info): Make CTRL optional.Werner Koch8-195/+554
(agent_scd_writekey, inq_writekey_parms): New. (agent_openpgp_storekey): Removed. * cardglue.h: Add a few more error code mappings. * keygen.c (copy_mpi): Removed. (save_unprotected_key_to_card): Changed to use agent_scd_writekey. * app-common.h, app-openpgp.c, tlv.c, tlv.h: Updated from newer version in gnupg 1.9 CVS.
2005-05-20(ccid_transceive): Arghhh. The seqno is anotherWerner Koch10-225/+1086
bit in the R-block than in the I block, this was wrong at one place. Fixes bug #419 and hopefully several others.
2005-05-14* build-packet.c (do_comment): Removed. (build_packet): IgnoreDavid Shaw5-41/+41
comment packets. * export.c (do_export_stream): Don't export comment packets any longer. * options.h, g10.c (main): Remove --sk-comments and --no-sk-comments options, and replace with no-op.
2005-05-11* keygen.c (write_selfsigs): Rename from write_selfsig. Write the sameDavid Shaw3-19/+52
selfsig into both the pk and sk, so that someone importing their sk (which will get an autoconvert to the pk) won't end up with two selfsigs. (do_generate_keypair): Call it from here. * parse-packet.c (can_handle_critical_notation): New. Check for particular notation tags that we will accept when critical. Currently, that's only [email protected], since we know how to handle it (pass it through to a mail program). (can_handle_critical): Call it from here. (parse_one_sig_subpkt): Sanity check that notations are well-formed in that the internal lengths add up to the size of the subpacket.
2005-05-07(do_close_reader): Don't do a reset before close.Werner Koch2-1/+8
Some folks reported that it makes the SCR335 hang less often. Look at the source on how to re-enable it.
2005-05-06* main.h, keygen.c (parse_expire_string, ask_expire_interval), sign.cDavid Shaw6-62/+65
(sign_file, clearsign_file, sign_symencrypt_file), g10.c (main), keyedit.c (sign_uids): Use seconds rather than days internally to calculate expiration. We no longer need the day-based code as we don't generate v3 keys.
2005-05-06* sign.c (sign_file, clearsign_file, sign_symencrypt_file): Use theDavid Shaw2-6/+11
default sig expire value when signing in batchmode.
2005-05-05* Makefile.am, packet.h, main.h, comment.c: Remove comment.c. We don'tDavid Shaw5-111/+3
use any of these functions any longer.
2005-05-05* keygen.c (start_tree): New function to "prime" a KBNODE list.David Shaw4-46/+34
(do_generate_keypair): Use it here rather than creating and deleting a comment packet. * keygen.c (gen_elg, gen_dsa): Do not put public factors in secret key as a comment. * options.h, encode.c (encode_simple, encode_crypt), keygen.c (do_create): Remove disabled comment packet code.
2005-05-05* keygen.c (keygen_set_std_prefs): Add SHA256 and BZip2 to defaultDavid Shaw2-3/+22
preferences.
2005-05-05* options.h, g10.c (main): Add new --default-sig-expire andDavid Shaw7-48/+129
--default-cert-expire options. Suggested by Florian Weimer. * main.h, keygen.c (parse_expire_string, ask_expire_interval): Use defaults passed in, or "0" to control what default expiration is. * keyedit.c (sign_uids), sign.c (sign_file, clearsign_file, sign_symencrypt_file): Call them here, so that default expiration is used when --ask-xxxxx-expire is off.
2005-05-03* passphrase.c (agent_get_passphrase): Add new arg CACHEID.Werner Koch8-34/+174
Changed all callers. (ask_passphrase): Add new arg CACHEID and use it in agent mode. Changed all callers. (passphrase_clear_cache): New arg CACHEID. Changed all callers. * cardglue.c (format_cacheid): New. (pin_cb): Compute a cache ID. (agent_scd_pksign, agent_scd_pkdecrypt): Use it. (agent_clear_pin_cache): New. * card-util.c (change_pin): Clear the PIN cache. (check_pin_for_key_operation): Ditto.
2005-04-24* trustdb.h, trustdb.c (mark_usable_uid_certs): Add flags for theDavid Shaw4-21/+164
no-pubkey and chosen revocation cases. (clean_uid): New function to clean a user ID of unusable (as defined by mark_usable_uid_certs) certs. * keyedit.c (keyedit_menu, menu_clean_uids): Call it here for new "clean" command that removes unusable sigs from a key.
2005-04-24* trustdb.h, keyedit.c (keyedit_menu, menu_select_uid_namehash): AllowDavid Shaw3-2/+53
specifying user ID via the namehash from --with-colons --fixed-list-mode --list-keys. Suggested by Peter Palfrader.
2005-04-22* keyedit.c (sign_uids, keyedit_menu): When the user requests to signDavid Shaw2-17/+36
a key without specifying which user IDs to sign, and declines to sign all user IDs, walk through the set of user IDs and prompt for which to sign.
2005-04-22* mainproc.c (symkey_decrypt_seskey): There is no need to have anDavid Shaw2-33/+40
extra check for a bad passphrase and/or unknown cipher algorithm here. We'll fail quite happily later, and usually with a better error message to boot.
2005-04-17* keyserver.c (keyserver_spawn): Free some memory.David Shaw3-1/+31
* sign.c (hash_for): Comments.
2005-04-11* g10.c (main, add_notation_data, add_policy_url)Werner Koch5-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.
2005-04-07* ccid-driver.c (ccid_slot_status): Fixed debug messages.Werner Koch4-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.
2005-04-05Changes to make use of code taken from libassuan. This replaces theWerner Koch3-570/+230
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.
2005-04-01* mainproc.c (proc_plaintext): Properly handle SIG+LITERAL (old-style PGP)David Shaw2-19/+41
signatures that use hashes other than SHA-1, RIPEMD160, or MD5.
2005-04-01(keygen_set_std_prefs): Explain the chosen order ofWerner Koch1-1/+13
AES key sizes.
2005-03-31* exec.h, exec.c (set_exec_path): Remove some dead code and change allDavid Shaw5-23/+16
callers. We no longer need to append to $PATH.
2005-03-31* keydb.c (keydb_add_resource): Clarify meaning of flags. Add newWerner Koch3-6/+24
flag 4. Use log_info for errors registering the default secret key. * g10.c (main): Flag the default keyrings.
2005-03-31* keyserver.c (keyserver_spawn): Don't mess about with the $PATH.David Shaw2-9/+42
Rather, call keyserver helpers with the full path. This fixes some PATH-inspired DLL problems on W32. Noted by Carlo Luciano Bianco.
2005-03-30(pin_cb): Print a warning if the info string hack isWerner Koch6-18/+31
not there. This may happen due to typos in the translation.
2005-03-21* gpgv.c: Stubs for tty_enable_completion() & tty_disable_completion().David Shaw4-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.
2005-03-21* keyedit.c (command_generator, keyedit_completion): ChangedWerner Koch3-14/+33
indentation. * card-util.c (command_generator, card_edit_completion): Ditto.
2005-03-20* card-util.c (command_generator, card_edit_completion)David Shaw2-14/+76
[GNUPG_MAJOR_VERSION==1 && HAVE_LIBREADLINE]: New functions to enable command completion in the --card-edit menu. (card_edit): Call them here.
2005-03-18* keyedit.c (command_generator, keyedit_completion) [HAVE_LIBREADLINE]:David Shaw2-3/+59
New functions to enable command completion in the --edit-key menu. (keyedit_menu): Call them here.
2005-03-17* getkey.c (get_seckey_byname2): If no explicit default key is set, don'tDavid Shaw2-4/+13
pick a disabled default. Noted by David Crick.
2005-03-17* Makefile.am: Calculate GNUPG_LIBEXECDIR directly. Do not redefineDavid Shaw2-12/+7
$libexecdir.
2005-03-17* options.h, keyserver.c (parse_keyserver_options, keyserver_spawn): Don'tDavid Shaw3-22/+18
treat 'verbose' and 'include-disabled' as special. Just pass them through silently to the keyserver helper.
2005-03-16(parse_ccid_descriptor): Make SCM workaroundWerner Koch2-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.
2005-03-14* card-util.c (card_status): Use isotimestamp and not theWerner Koch2-3/+7
localized asctimestamp to match the timezone used in the key information. * miscutil.c (isotimestamp): New.
2005-03-14* cardglue.c (pin_cb): Disable debug output.Werner Koch6-3/+33
* 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.
2005-03-10* keyserver.c (parse_keyserver_options): Accept honor-http-proxy as anDavid Shaw2-0/+11
alias for http-proxy.
2005-03-10* delkey.c (do_delete_key, delete_keys): Fix problem with --expertDavid Shaw2-22/+38
preventing --delete-secret-and-public-keys from deleting secret keys.
2005-03-10(keyedit_menu) [W32]: Run the trustdb stale checkWerner Koch2-1/+19
earlier.
2005-03-07* primegen.c (is_prime): Free A2. Noted by [email protected].Werner Koch5-23/+81
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.