aboutsummaryrefslogtreecommitdiffstats
path: root/g10/ChangeLog (unfollow)
Commit message (Collapse)AuthorFilesLines
2005-03-14* card-util.c (card_status): Use isotimestamp and not theWerner Koch1-0/+4
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 Koch1-0/+11
* 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 Shaw1-0/+3
alias for http-proxy.
2005-03-10* delkey.c (do_delete_key, delete_keys): Fix problem with --expertDavid Shaw1-0/+6
preventing --delete-secret-and-public-keys from deleting secret keys.
2005-03-10(keyedit_menu) [W32]: Run the trustdb stale checkWerner Koch1-0/+5
earlier.
2005-03-07* primegen.c (is_prime): Free A2. Noted by [email protected].Werner Koch1-0/+12
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.
2005-02-24* keyedit.c (keyedit_menu): Only print the key signing hint when signingDavid Shaw1-0/+6
from a place where it is useful (i.e. --edit-key and not --sign-key).
2005-02-16* card-util.c (fetch_url): Fetch the key from the defaultWerner Koch1-0/+5
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.
2005-02-15* gpg.sgml: Add bkuptocard command for --edit-key.Werner Koch1-0/+17
* 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.
2005-02-10Disable the "quick check" bytes for PK decryptions. This is inDavid Shaw1-0/+9
regards to the Mister and Zuccherato attack on OpenPGP CFB mode.
2005-02-06* trustdb.h, trustdb.c (trustdb_check_or_update): New. If the trustdbDavid Shaw1-0/+14
is dirty and --interactive is set, do an --update-trustdb. If not interactive, do a --check_trustdb unless --no-auto-check-trustdb is set. * import.c (import_keys_internal): Moved from here. * keyserver.c (keyserver_refresh): Call it here after all refreshing has happened so that we don't rebuild after each preferred keyserver set of imports, but do one big rebuild at the end. This is Debian bug #293816, noted by Kurt Roeckx.
2005-02-05* getkey.c (merge_selfsigs_subkey): Merged away definition from theDavid Shaw1-0/+5
backsigs code.
2005-02-03Updated to match the switch to the NSIS installer.Werner Koch1-0/+4
2005-02-01* keygen.c (do_generate_keypair): Write the auth key to the cardDavid Shaw1-0/+9
before the encryption key. This is a partial workaround for a PGP bug (as of this writing, all versions including 8.1), that causes it to try and encrypt to the most recent subkey regardless of whether that subkey is actually an encryption type. In this case, the auth key is an RSA key so it succeeds.
2005-01-28* keyid.c (keyid_from_sk, keyid_from_pk): Use 0xFFFFFFFFFFFFFFFFDavid Shaw1-0/+9
instead of 0x0000000000000000 for the invalid key ID since all-zeroes is reserved for the anonymous recipient. * keyedit.c (change_passphrase), keygen.c (generate_subkeypair): Fix a string ;)
2005-01-27* keygen.c (generate_subkeypair): Detect primary key on-card andWerner Koch1-0/+10
ask for the passphrase. Return an error if the primary key is a plain stub. * keyedit.c (change_passphrase): Don't ever change any stub key. Print a note if a key consists of only stub keys. Reported by Dany Nativel. These are bugs #401 and #402.
2005-01-27Updated to the version from 1.2.7.Werner Koch1-1/+7
2005-01-26* keyserver.c (parse_keyserver_uri): Allow RFC-2732 IPv6 [literalDavid Shaw1-0/+6
address] syntax in keyserver URLs. (keyserver_typemap): Map ftps if we are supporting it.
2005-01-25(do_generate_keypair): Don't continue after an error;Werner Koch1-1/+5
fixed at two places. Why at all didn't I used a goto to cleanup, tsss?
2005-01-25(get_cached_data): New arg GET_IMMEDIATE to bypassWerner Koch1-0/+16
the cache. Changed all callers. (get_one_do): Bypass the cache if the value would have been read directly for v1.1 cards.It makes things a bit slower but obnly for 1.0 cards and there are not that many cards out in the wild. This is required to fix a caching bug when generating new keys; as a side effect of the retrieval of the the C4 DO from the 6E DO the chaced fingerprint will get updated to the old value and later when signing the generated key the checking of the fingerprint fails becuase it won't match the new one. Thanks to Moritz for analyzing this problem. (verify_chv3): Removed the CHV status reread logic because we won't cache the C4 DO anymore.
2005-01-22* keyserver.c (free_keyserver_spec): Fix small leak.David Shaw1-0/+5
(keyserver_typemap): Map https if we are supporting it.
2005-01-20(open_card): Issue new CARDCTRL(4) status.Werner Koch1-1/+3
2005-01-20* gpgv.c (tty_fprintf): New stub.Werner Koch1-0/+8
* 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.
2005-01-20* g10.c (i18n_init) [W32]: Pass registry key to gettextWerner Koch1-0/+10
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.
2005-01-18(public_key_list): Do a trustdb staleness check beforeWerner Koch1-0/+6
opening the keyring. (secret_key_list): Ditto.
2005-01-11* keyedit.c (keyedit_menu): Move command strings outside the function toDavid Shaw1-0/+3
get ready for the readline completion code.
2005-01-10* passphrase.c (readline, agent_send_option, agent_open,David Shaw1-0/+6
agent_get_passphrase, passphrase_clear_cache): Rename readline() to readaline() to keep readline library namespace clear.
2005-01-06* filter.h, armor.c (armor_filter): Use the eol string from the armorDavid Shaw1-0/+11
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.
2005-01-06* g10.c (main): Typo.David Shaw1-0/+9
* 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.
2005-01-03* Makefile.am: Use @LIBUSB@ instead of @LIBUSB_LIBS@David Shaw1-0/+6
* import.c (delete_inv_parts): Comments on import-unusable-sigs.
2005-01-01* options.h, import.c (parse_import_options, delete_inv_parts): AddDavid Shaw1-0/+10
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.
2004-12-30* packet.h, getkey.c (merge_selfsigs_main, sig_to_revoke_info), keyid.cDavid Shaw1-0/+7
(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.
2004-12-28(find_endpoint): New.Werner Koch1-0/+13
(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.
2004-12-24* keyserver.c (keyserver_typemap): Only map HTTP and FTP if libcurl hasDavid Shaw1-0/+5
specifically been selected to handle them.
2004-12-22* options.h, keyserver.c (parse_keyserver_uri): Properly parse auth dataDavid Shaw1-0/+3
from URLs and pass to keyserver helpers.
2004-12-22* keyserver.c (keyserver_typemap): New. Map certain keyserver types to aDavid Shaw1-0/+9
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.
2004-12-21* keyedit.c (menu_set_keyserver_url): Make sure we only operate on theDavid Shaw1-0/+8
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.
2004-12-21* keylist.c (list_keyblock_print): Secret key listings should always showDavid Shaw1-0/+8
everything (expired UIDs, revoked subkeys, etc, etc). * keyedit.c (keyedit_menu): Add additional help for the "sign" flags.
2004-12-20(ask_expire_interval): For better translations chnage 2Werner Koch1-0/+3
strings.
2004-12-20* seckey-cert.c (do_check): Handle case when checksum was okay butWerner Koch1-0/+5
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.
2004-12-20* keyedit.c (keyedit_menu): Invisible alias "passwd" as "password".David Shaw1-0/+13
* 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".
2004-12-19* keygen.c (keygen_get_std_prefs): Set reference count when creating theDavid Shaw1-0/+13
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.
2004-12-19* keyedit.c (menu_revkey): Rename to menu_revsubkey. (menu_revkey): New.David Shaw1-0/+6
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".
2004-12-18Readline fix to be robust against platforms where readline has its ownDavid Shaw1-0/+7
dependencies. We play guess-the-depedency for a while, and try termcap, curses, and ncurses.
2004-12-17* passphrase.c (agent_get_passphrase): Define NREAD locally asWerner Koch1-0/+8
size_t or int. * keylist.c (list_keyblock_print): Make field width an int. * keyedit.c (show_key_with_all_names): Ditto.
2004-12-16* g10.c (main): Add --require-secmem/--no-require-secmem to cause gpg toDavid Shaw1-0/+6
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.
2004-12-15* apdu.c (apdu_send_le, apdu_send_direct), keylist.cDavid Shaw1-0/+11
(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.
2004-12-14* keyedit.c (keyedit_menu): Re-remove the N_() markers.David Shaw1-0/+2
2004-12-14* trustdb.c (uid_trust_string_fixed): Show uids as revoked if the key isDavid Shaw1-0/+13
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.
2004-12-14automake updates, removed one debug outputV1-3-93Werner Koch1-0/+2