aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keydb.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-06-20* keydb.h, pkclist.c (select_algo_from_prefs): Allow passing a suggestedDavid Shaw1-1/+2
algorithm which will be used if available. * encode.c (encode_crypt, encrypt_filter), sign.c (sign_file): Use new select_algo_from_prefs feature to check if forcing an algorithm would violate the recipient preferences. * photoid.c (get_default_photo_command, show_photos): Use different default viewers on different platforms. Currently we have Win 9x, Win NT (2k, xp), Mac OSX, RISC OS, and "everybody else". These are #ifdefs as much as possible to avoid clutter. * g10.c (strusage, build_list), keyedit.c (show_prefs), main.h, misc.c (compress_algo_to_string, check_compress_algo), pkclist.c (algo_available), keygen.c (keygen_set_std_prefs): New algo_to_string and check functions for compress algorithms.
2002-06-09* keydb.h, getkey.c (get_user_id_native), import.c (import_one): DisplayDavid Shaw1-0/+1
user ID while importing a key. Note this applies to both --import and keyserver --recv-keys. * exec.c (exec_finish): Log unnatural exit (core dump, killed manually, etc) for fork/exec/pipe child processes.
2002-06-07* options.skel, options.h, main.h, keydb.h, pkclist.c (build_pk_list,David Shaw1-1/+1
expand_groups), g10.c (main, add_group): Add new "group" command to allow one name to expand into multiple keys. For simplicity, and to avoid potential loops, we only expand once - you can't make an alias that points to an alias. * main.h, g10.c (main), keygen.c (build_personal_digest_list): Simplify the default digest list - there is really no need for the other hashes since they will never be used after SHA-1 in the list. * options.skel, options.h, g10.c (main), hkp.c (hkp_ask_import, hkp_export, hkp_search), keyserver.c (parse_keyserver_options, parse_keyserver_uri, keyserver_work, keyserver_refresh): Make the "x-broken-hkp" keyserver scheme into keyserver-option "broken-http-proxy". Move honor_http_proxy into keyserver_options. Canonicalize the three variations of "hkp", "x-hkp", and "x-broken-hkp" into "hkp".
2002-06-04* sign.c (hash_for, sign_file): When encrypting and signing at the sameDavid Shaw1-1/+1
time, consult the various hash prefs to pick a hash algorithm to use. Pass in a 160-bit hint if any of the signing keys are DSA. * keydb.h, pkclist.c (select_algo_from_prefs, algo_available): Pass a "hints" opaque pointer in to let the caller give hints as to what algorithms would be acceptable. The only current hint is for PREFTYPE_HASH to require a 160-bit hash for DSA. Change all callers in encode.c (encode_crypt, encrypt_filter) and sign.c (sign_file). If we settle on MD5 as the best algorithm based solely on recepient keys and SHA1 is also a possibility, use SHA1 unless the user intentionally chose MD5. This is as per 2440:13. * exec.c (make_tempdir): Fix duplicated filename problem.
2002-05-312002-05-31 Timo Schulz <[email protected]>Timo Schulz1-0/+1
* pkclist.c (do_show_revocation_reason): Don't use capital letters for non-interactive output. (show_revocation_reason): Now it is global. * pubkey-enc.c (get_it): Show if the key has been revoked.
2002-05-16* main.h, keygen.c (keygen_add_revkey): Add revocation key subpackets to aDavid Shaw1-0/+2
signature (callable by make_keysig_packet). (write_direct_sig): Write a 1F direct key signature. (parse_revocation_key): Parse a string in algo:fpr:sensitive format into a revocation key. (get_parameter_revkey, do_generate_keypair): Call above functions when prompted from a batch key generation file. * build-packet.c (build_sig_subpkt): Allow multiple revocation key subpackets in a single sig. * keydb.h, getkey.c (get_seckey_byfprint): Same as get_pubkey_byfprint, except for secret keys. We only know the fingerprint of a revocation key, so this is needed to retrieve the secret key needed to issue a revokation. * packet.h, parse-packet.c (parse_signature, parse_revkeys): Split revkey parsing off into a new function that can be used to reparse after manipulating the revkey list. * sign.c (make_keysig_packet): Ability to make 1F direct key signatures.
2002-02-10For --sig-policy-url and --cert-policy-url, clarify what is a sig and whatDavid Shaw1-0/+4
is a cert. A sig has sigclass 0x00, 0x01, 0x02, or 0x40, and everything else is a cert. Add a "nrlsign" for nonrevocable and local key signatures. Add a --no-force-mdc to undo --force-mdc. Add a knob to force --disable-mdc/--no-disable-mdc. Off by default, of course, but is used in --pgp2 and --pgp6 modes. Allow specifying multiple users in the "Enter the user ID" loop. Enter a blank line to stop. Show each key+id as it is added. It is not illegal (though possibly silly) to have multiple policy URLs in a given signature, so print all that are present. More efficient implementation of URL-ifying code for --search on an HKP keyserver.
2002-01-20* passphrase.c (passphrase_to_dek): Add tryagain_text arg to beWerner Koch1-1/+2
used with the agent. Changed all callers. (agent_get_passphrase): Likewise and send it to the agent * seckey-cert.c (do_check): New arg tryagain_text. (check_secret_key): Pass the string to do_check. * keygen.c (ask_passphrase): Set the error text is required. * keyedit.c (change_passphrase): Ditto. * passphrase.c (agent_open): Disable opt.use_agent in case of a problem with the agent. (agent_get_passphrase): Ditto. (passphrase_clear_cache): Ditto.
2001-12-28Add an outofband indicator to the keyserver protocol.David Shaw1-1/+0
Use signature flags for exportability check rather than re-parsing the subpacket.
2001-12-22* keyserver.c (keyserver_spawn): Removed some variablesWerner Koch1-1/+1
declaration due to shadowing warnings. * build-packet.c (build_attribute_subpkt): s/index/idx/ to avoid compiler warnig due to index(3). * getkey.c (get_ctx_handle): Use KEYDB_HANDLE as return value. * keylist.c (list_one): Made resname const. * keyedit.c (keyedit_menu): Allow "addphoto" only when --openpgp is not used. * options.skel: Changed one example photo viewer to qiv.
2001-12-21* g10.c. options.h : New option --show-keyringWerner Koch1-0/+1
* getkey.c (get_ctx_handle): New. * keylist.c (list_one): Implement option here. By David Champion.
2001-12-07Sig expiration codeDavid Shaw1-0/+2
Offer to expire a key signature when the key the user is signing expires Expired sigs cause an error return If --expert is set, prompt for sig duration
2001-09-25Changed signature status cacheWerner Koch1-0/+1
2001-09-24Revamped the trustDBWerner Koch1-1/+2
2001-09-07fixed a stupid C errorWerner Koch1-2/+1
2001-09-06Revamped the keyring codeWerner Koch1-35/+50
2001-08-30MDC feature support and other stuffWerner Koch1-5/+3
2001-05-28just released another snapshotWerner Koch1-0/+1
2001-04-19Fixes for W32Werner Koch1-0/+6
2001-03-27Made genkey work again.Werner Koch1-0/+1
2001-03-08Changed and added copyright noticesWerner Koch1-1/+1
2001-02-08Backported getkey.c from 1.1Werner Koch1-0/+8
2000-11-16GPG agent supportWerner Koch1-0/+1
2000-11-11Paul's LFS pacthes and started with pipemodeWerner Koch1-1/+1
2000-05-12See ChangeLog: Fri May 12 14:01:20 CEST 2000 Werner KochWerner Koch1-1/+1
2000-04-14See ChangeLog: Fri Apr 14 19:37:08 CEST 2000 Werner KochWerner Koch1-0/+1
1999-11-12See ChangeLog: Fri Nov 12 20:33:19 CET 1999 Werner KochWerner Koch1-0/+1
1999-07-01See ChangeLog: Thu Jul 1 12:47:31 CEST 1999 Werner KochWerner Koch1-1/+2
1999-05-22See ChangeLog: Sat May 22 22:47:26 CEST 1999 Werner KochWerner Koch1-0/+5
1999-03-17See ChangeLog: Wed Mar 17 13:09:03 CET 1999 Werner KochWerner Koch1-0/+1
1999-02-19See ChangeLog: Fri Feb 19 15:49:15 CET 1999 Werner KochWerner Koch1-0/+1
1999-02-16See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner KochWerner Koch1-2/+2
1999-01-24See ChangeLog: Sun Jan 24 18:16:26 CET 1999 Werner KochWerner Koch1-3/+7
1999-01-12See ChangeLog: Tue Jan 12 11:17:18 CET 1999 Werner KochWerner Koch1-0/+1
1999-01-07See ChangeLog: Thu Jan 7 18:00:58 CET 1999 Werner KochWerner Koch1-0/+1
1998-12-23See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner KochWerner Koch1-3/+5
1998-12-10See ChangeLog: Thu Dec 10 20:15:36 CET 1998 Werner KochWerner Koch1-0/+1
1998-11-08ready to release 0.4.3V0-4-3Werner Koch1-1/+10
1998-10-21Epxerimenta support for GDBM keyings.Werner Koch1-0/+6
1998-10-17Removed some trashWerner Koch1-0/+16
1998-10-16last local commitWerner Koch1-5/+2
1998-09-28*** empty log message ***Werner Koch1-2/+2
1998-09-18.Werner Koch1-0/+1
1998-09-11*** empty log message ***Werner Koch1-1/+1
1998-08-05intermediate check inWerner Koch1-0/+1
1998-07-29edit-key is now completeWerner Koch1-0/+3
1998-07-21changed trustdb designWerner Koch1-1/+4
1998-07-15syncWerner Koch1-1/+1
1998-07-14syncWerner Koch1-3/+5
1998-07-09fixed severe exploitV0-3-2Werner Koch1-0/+1