aboutsummaryrefslogtreecommitdiffstats
path: root/g10 (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-11-09* passphrase.c (agent_send_all_options): Use tty_get_ttyname toWerner Koch2-2/+7
get the default ttyname.
2002-11-08* keyring.h, keyring.c (keyring_register_filename): Return the pointer ifDavid Shaw6-29/+89
a given keyring is registered twice. * keydb.h, keydb.c (keydb_add_resource): Use flags to indicate a default keyring. (keydb_locate_writable): Prefer the default keyring if possible. * g10.c (main): Add --default-keyring option.
2002-11-07* options.h, g10.c (main), trustdb.c (ask_ownertrust): AddDavid Shaw4-6/+35
--force-ownertrust option for debugging purposes. This allows setting a whole keyring to a given trust during an --update-trustdb. Not for normal use - it's just easier than hitting "4" all the time to test a large trustdb.
2002-11-06* pubkey-enc.c (get_session_key): With hidden recipients or try a givenDavid Shaw6-13/+57
passphrase against all secret keys rather than trying all secret keys in turn. Don't if --try-all-secrets or --status-fd is enabled. * passphrase.c (passphrase_to_dek): Mode 1 means do a regular passphrase query, but don't prompt with the key info. * seckey-cert.c (do_check, check_secret_key): A negative ask count means to enable passphrase mode 1. * keydb.h, getkey.c (enum_secret_keys): Add flag to include secret-parts-missing keys (or not) in the list.
2002-11-05* keyserver.c (keyserver_search_prompt): When --with-colons is enabled,David Shaw2-8/+16
don't try and fit the search output to the screen size - just dump the whole list.
2002-11-05* keyserver.c (keyserver_search_prompt): When --with-colons is enabled,David Shaw2-3/+27
just dump the raw keyserver protocol to stdout and don't print the menu.
2002-11-04* trustdb.c (trust_model_string, check_trustdb, update_trustdb,David Shaw2-23/+54
validate_one_keyblock): It's not clear what a trustdb rebuild or check means with a trust model other than "classic" or "openpgp", so disallow this.
2002-11-03* options.h, g10.c (main): Add --trust-model option. Current models areDavid Shaw7-16/+45
"openpgp" which is classic+trustsigs, "classic" which is classic only, and "always" which is the same as the current option --always-trust (which still works). Default is "openpgp". * trustdb.c (validate_one_keyblock): Use "openpgp" trust model to enable trust sigs. * gpgv.c (main), mainproc.c (check_sig_and_print), pkclist.c (do_we_trust, do_we_trust_pre, check_signatures_trust): Use new --trust-model option in place of --always-trust.
2002-11-03* keyedit.c (sign_mk_attrib, trustsig_prompt, sign_uids, keyedit_menu):David Shaw4-39/+191
Prompt for and create a trust signature with "tsign". This is functional, but needs better UI text. * build-packet.c (build_sig_subpkt): Able to build trust and regexp subpackets. * pkclist.c (do_edit_ownertrust): Comment.
2002-11-03* keygen.c (set_one_pref, keygen_set_std_prefs): Allow using the fullDavid Shaw5-85/+130
algorithm name (CAST5, SHA1) rather than the short form (S3, H2). * main.h, keygen.c (keygen_get_std_prefs), keyedit.c (keyedit_menu): Return and use a fake uid packet rather than a string since we already have a nice parser/printer in keyedit.c:show_prefs. * main.h, misc.c (string_to_compress_algo): New.
2002-11-01* g10.c (main): Add --no-throw-keyid.David Shaw6-12/+69
* keydb.h, encode.c (write_pubkey_enc_from_list), g10.c (main), pkclist.c (build_pk_list): Add --hidden-recipient (-R) and --hidden-encrypt-to, which do a single-user variation on --throw-keyid. The "hide this key" flag is carried in bit 0 of the pk_list flags field. * keyserver.c (parse_keyrec): Fix shadowing warning.
2002-10-31added RISC OS module loading supportStefan Bellon6-13/+37
2002-10-31* build-packet.c (do_plaintext), encode.c (encode_sesskey, encode_simple,David Shaw4-5/+12
encode_crypt), sign.c (write_plaintext_packet): Use wipememory() instead of memset() to wipe sensitive memory as the memset() might be optimized away.
2002-10-30* trustdb.c (check_regexp): Modern regexps require REG_EXTENDED.David Shaw2-1/+5
2002-10-30* packet.h, trustdb.h, trustdb.c (trust_string): New. Return a stringDavid Shaw9-37/+334
like "fully trusted", "marginally trusted", etc. (get_min_ownertrust): New. Return minimum ownertrust. (update_min_ownertrust): New. Set minimum ownertrust. (check_regexp): New. Check a regular epression against a user ID. (ask_ownertrust): Allow specifying a minimum value. (get_ownertrust_info): Follow the minimum ownertrust when returning a letter. (clear_validity): Remove minimum ownertrust when a key becomes invalid. (release_key_items): Release regexp along with the rest of the info. (validate_one_keyblock, validate_keys): Build a trust sig chain while validating. Call check_regexp for regexps. Use the minimum ownertrust if the user does not specify a genuine ownertrust. * pkclist.c (do_edit_ownertrust): Only allow user to select a trust level greater than the minimum value. * parse-packet.c (can_handle_critical): Can handle critical trust and regexp subpackets. * trustdb.h, trustdb.c (clear_ownertrusts), delkey.c (do_delete_key), import.c (import_one): Rename clear_ownertrust to clear_ownertrusts and have it clear the min_ownertrust value as well. * keylist.c (list_keyblock_print): Indent uid to match pub and sig.
2002-10-29* keyedit.c (print_and_check_one_sig, show_key_and_fingerprint,David Shaw7-11/+56
menu_addrevoker), keylist.c (list_keyblock_print, print_fingerprint): Show "T" or the trust depth for trust signatures, and add spaces to some strings to make room for it. * packet.h, parse-packet.c (dump_sig_subpkt, parse_one_sig_subpkt, parse_signature): Parse trust signature values. * tdbio.h, tdbio.c (tdbio_read_record, tdbio_write_record): Reserve a byte for the minimum ownertrust value (for use with trust signatures).
2002-10-29tidied RISC OS filetype supportStefan Bellon5-52/+45
2002-10-28filetype support for RISC OSStefan Bellon4-8/+66
2002-10-23* main.h, import.c (sec_to_pub_keyblock, import_secret_one,David Shaw4-5/+85
parse_import_options), g10.c (main): New import-option "convert-sk-to-pk" to convert a secret key into a public key during import. It is on by default.
2002-10-23* pubkey-enc.c (get_it): Fix segv, test for revoked only when PKWerner Koch2-1/+6
has been assigned.
2002-10-182002-10-18 Timo Schulz <[email protected]>Timo Schulz5-57/+69
* keylist.c: (print_pubkey_info): New. (print_seckey_info): New. * main.h: Prototypes for the new functions. * delkey.c (do_delete_key): Use it here. * revoke.c (gen_desig_revoke): Ditto.
2002-10-17* pkclist.c (do_edit_ownertrust): Show all user IDs. This shouldWerner Koch2-0/+35
be enhanced to also show the current trust level. Suggested by Florian Weimer.
2002-10-17* g10.c (main): Handle --strict and --no-strict from the command lineDavid Shaw2-0/+15
before the options file is loaded.
2002-10-15* g10.c (main): Disable --textmode when encrypting (symmetric or pk) inDavid Shaw2-0/+17
--pgp2 mode as PGP 2 can't handle the unknown length literal packet. Reported by Michael Richardson.
2002-10-14* keyserver-internal.h, keyserver.c (print_keyrec, parse_keyrec,David Shaw3-205/+403
show_prompt, keyserver_search_prompt, keyserver_spawn): Go to version 1 of the keyserver protocol. This is a better design, similar to --with-colons, that allows for keys with multiple user IDs rather than using multiple keys. It also matches the machine readable pksd format. Also use a prettier --search-keys listing format that can fill different size windows (currently set at 24 lines).
2002-10-12* keygen.c (print_status_key_created): New.Werner Koch2-1/+27
(do_generate_keypair): Use it to print the fingerprint. (generate_subkeypair): Likewise.
2002-10-11* keyedit.c (menu_addrevoker): Properly back out if the signature fails.David Shaw2-4/+44
Also, do not allow appointing the same revoker twice, and report ALREADY_SIGNED if the user tries it.
2002-10-07And changelog :)David Shaw1-0/+10
2002-10-07* import.c (import_keys_internal): Missed one s/inp/inp2/.David Shaw3-9/+15
* keylist.c (print_capabilities): Properly indicate per-key capabilities of sign&encrypt primary keys that have secret-parts-missing (i.e. no capabilities at all) * mainproc.c (symkey_decrypt_sesskey): Fix compiler warning.
2002-10-04* getkey.c (get_pubkey_direct): Don't cache keys retrieved via thisDavid Shaw3-4/+14
function as they may not have all their fields filled in. * sig-check.c (signature_check2): Use new is_primary flag to check rather than comparing main_keyid with keyid as this still works in the case of a not fully filled in pk.
2002-10-04* import.c (import_keys_internal): s/inp/inp2/ to avoid shadowingWerner Koch3-13/+22
warning. * passphrase.c (agent_get_passphrase): Fixed signed/unsigned char problem in %-escaping. Noted by Ingo Kl�cker.
2002-10-03* options.h, g10.c (main): Add --strict and --no-strict to switch theDavid Shaw3-0/+10
log_warning severity level from info to error.
2002-10-03* keylist.c (print_capabilities): Secret-parts-missing keys should showDavid Shaw4-5/+26
that fact in the capabilities, and only primary signing keys can certify other keys. * packet.h, parse_packet.c (parse_key): Add is_primary flag for public keys (it already exists for secret keys).
2002-10-02* import.c (import_secret_one): Check for an illegal (>110) protectionDavid Shaw7-15/+42
cipher when importing a secret key. * keylist.c (list_keyblock_print): Show a '#' for a secret-parts-missing key. * parse_packet.c (parse_key): Some comments. * revoke.c (gen_revoke): Remove some debugging code. * trustdb.c (verify_own_keys): Make trusted-key a non-deprecated option again. * seckey-cert.c (do_check): Don't give the IDEA warning unless the cipher in question is in fact IDEA.
2002-10-01* import.c (import_one): Make sure that a newly imported key starts with aDavid Shaw2-1/+14
clean ownertrust.
2002-10-01* getkey.c (get_pubkey_direct): New.Werner Koch2-1/+66
(merge_selfsigs_main): Use it here to look for an ultimately trusted key. Using the full get_pubkey might lead to an infinitive recursion.
2002-09-30* keyserver.c (parse_keyserver_uri): Force the keyserver URI scheme toDavid Shaw2-0/+13
lowercase to be case-insensitive.
2002-09-282002-09-28 David Shaw <[email protected]>David Shaw4-14/+40
* export.c (do_export_stream): Comment. * sig-check.c (check_key_signature2): Properly handle a non-designated revocation import. 2002-09-26 Werner Koch <[email protected]> * g10.c (set_homedir): New. Changed all direct assignments to use this. * gpgv.c (set_homedir): Ditto.
2002-09-25* Makefile.am: Link gpg with EGDLIBS (i.e. NETLIBS) as EGD uses sockets.David Shaw2-1/+7
Remove the old NETLIBS variable since the keyserver stuff is no longer internal.
2002-09-24* import.c (import_keys_stream): Fix compiler type warning.David Shaw4-11/+19
* keyring.c (keyring_rebuild_cache), sig-check.c (check_key_signature2), import.c (import, chk_self_sigs): Minor language cleanups.
2002-09-23added fast-import to import-optionsStefan Bellon5-21/+33
2002-09-22avoid function cloneStefan Bellon2-50/+40
2002-09-21added trustdb update/check for stream import as wellStefan Bellon2-3/+16
2002-09-21trustdb checks/updates after importStefan Bellon2-1/+16
2002-09-20comment type fixWerner Koch1-1/+1
2002-09-19From stable branchDavid Shaw3-13/+23
* keyserver.c (keyserver_spawn): Properly handle line truncation. Don't leak memory (~10-20 bytes) on searches. (keyserver_search_prompt): Cleanup. * keylist.c (list_keyblock_colon): Show 1F direct key signatures in --with-colons listing.
2002-09-17From stable branchDavid Shaw4-26/+102
* keyedit.c (menu_addrevoker): The direct key signature for revocation keys must be at least v4 to carry the revocation key subpacket. Add a PGP 2.x warning for revocation keys. * g10.c (check_permissions): Rearrange strings to make translating easier (don't incorporate string parts). * keyedit.c (sign_uids): Make strings translatable. * sig-check.c (check_key_signature2): Make string translatable.
2002-09-13Import from stable branch.David Shaw5-71/+100
2002-09-13 David Shaw <[email protected]> * getkey.c (check_revocation_keys): Move.... * main.h, sig-check.c (check_revocation_keys): to here. Also return the signature_check error code rather than 0/1 and cache the sig result. * sig-check.c (check_key_signature2): Divert to check_revocation_keys if a revocation sig is made by someone other than the pk owner. * getkey.c (merge_selfsigs_main): Tidy. 2002-09-13 Werner Koch <[email protected]> * g10.c (main) [__MINGW32__]: Activate oLoadExtension.
2002-09-12* Makefile.am, hkp.c, hkp.h, keyserver.c (keyserver_work): Remove internalDavid Shaw5-681/+6
HKP support.
2002-09-12* keyserver.c (keyserver_spawn): Remove whitespace after keyserverDavid Shaw2-5/+11
commands.