aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * keyedit.c (show_key_with_all_names), keylist.c (list_keyblock_print):David Shaw2002-06-151-4/+13
| | | | | | | | | | Show "[expired]" before expired uids. * keyedit.c (show_key_with_all_names_colon), mainproc.c (list_node), keylist.c (list_keyblock_colon): Use "uat" for user attribute packets instead of "uid". Also use '<count> <length>' rather than the fake user id string.
* 2002-06-05 Timo Schulz <[email protected]>Timo Schulz2002-06-051-1/+1
| | | | | | | * encode.c (encode_simple): Ignore the new mode for RFC1991. * mainproc.c (symkey_sesskey_decrypt): Better check for weird keysizes.
* 2002-06-05 Timo Schulz <[email protected]>Timo Schulz2002-06-051-4/+5
| | | | | | | * encode.c (encode_sesskey): New. (encode_simple): Use it here. But by default we use the compat mode which supress to generate encrypted session keys.
* *** empty log message ***Timo Schulz2002-06-051-2/+0
|
* 2002-06-05 Timo Schulz <[email protected]>Timo Schulz2002-06-051-0/+27
| | | | | | * mainproc.c (symkey_decrypt_sesskey): New. (proc_symkey_enc): Support for encrypted session keys.
* * packet.h, parse-packet.c (enum_sig_subpkt): Report back fromDavid Shaw2002-06-031-2/+2
| | | | | | | | | | enum_sig_subpkt when a subpacket is critical and change all callers in keylist.c (show_policy_url, show_notation), mainproc.c (print_notation_data), and pkclist.c (do_show_revocation_reason). * keylist.c (show_policy_url, show_notation): Display if the policy or notation is critical.
* * mainproc.c (proc_symkey_enc): Avoid segv in case the parserWerner Koch2002-05-111-1/+3
| | | | | encountered an invalid packet.
* 2002-05-04 Timo Schulz <[email protected]>Timo Schulz2002-05-051-0/+3
| | | | | | * mainproc.c (proc_symkey_enc): Don't ask for a passphrase in the list only mode.
* Added a copyright year for files changed this year.Werner Koch2002-04-291-1/+1
|
* * misc.c (pct_expando), options.skel: Use %t to indicate type of a photoDavid Shaw2002-04-111-1/+2
| | | | | | | | | | | | | | | | | | | ID (in this version, it's always "jpeg"). Also tweak string expansion loop to minimize reallocs. * mainproc.c (do_check_sig): Variable type fix. * keyedit.c (menu_set_primary_uid): Differentiate between true user IDs and attribute user IDs when making one of them primary. That is, if we are making a user ID primary, we alter user IDs. If we are making an attribute packet primary, we alter attribute packets. This matches the language in the latest attribute packet draft. * keyedit.c (sign_uids): No need for the empty string hack. * getkey.c (fixup_uidnode): Only accept preferences from the hashed segment of the self-sig.
* Add KEYEXPIRED, EXPSIG, and EXPKEYSIG. AddDavid Shaw2002-04-101-16/+27
| | | | | | | | | | | | | | | | "deprecated-use-keyexpired-instead" to SIGEXPIRED. Start transition from SIGEXPIRED to KEYEXPIRED, since the actual event is signature verification by an expired key and not an expired signature. Rename do_signature_check as signature_check2, make public, and change all callers. Use status EXPSIG for an expired, but good, signature. Add the expiration time (or 0) to the VALIDSIG status line. Use status KEYEXPSIG for a good signature from an expired key. Remove checks for no arguments now that argparse does it.
* --openpgp implies --allow-non-selfsigned-uidDavid Shaw2002-03-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | If none of the uids are primary (because none are valid) then pick the first to be primary (but still invalid). This is for cosmetics in case some display needs to print a user ID from a non-selfsigned key. Also use --allow-non-selfsigned-uid to make such a key valid and not --always-trust. The key is *not* automatically trusted via --allow-non-selfsigned-uid. Make sure non-selfsigned uids print [uncertain] on verification even though one is primary now. If the main key is not valid, then neither are the subkeys. Allow --allow-non-selfsigned-uid to work on completely unsigned keys. Print the uids in UTF8. Remove mark_non_selfsigned_uids_valid() Show revocation key as UTF8. Allow --not-dash-escaped to work with v3 keys.
* Some minor fixes for revocation keys: print a warning if a key is importedDavid Shaw2002-03-071-1/+1
| | | | | | | | | | that has been revoked by designated revoker, but the designated revoker is not present to verify the revocation (whew!). This applies to all ways to get a key into the system: --import --recv-keys, and --search-keys. If auto-key-retrieve is set, try and retrieve the revocation key. Also, auto-key-retrieve is now a keyserver-option.
* For --sig-policy-url and --cert-policy-url, clarify what is a sig and whatDavid Shaw2002-02-101-1/+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.
* Only check preferences against keys with v4 self sigs as v3 sigs have noDavid Shaw2002-01-241-2/+4
| | | | | | | prefs Only put in the fake IDEA preference with --pgp2 mode Print "Expired" for expired but good signatures.
* * passphrase.c (passphrase_to_dek): Add tryagain_text arg to beWerner Koch2002-01-201-2/+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.
* Add an outofband indicator to the keyserver protocol.David Shaw2001-12-281-1/+1
| | | | | | Use signature flags for exportability check rather than re-parsing the subpacket.
* * g10.c. options.h : New option --show-keyringWerner Koch2001-12-211-2/+2
| | | | | | * getkey.c (get_ctx_handle): New. * keylist.c (list_one): Implement option here. By David Champion.
* Much stricter checking of the keyserver URIDavid Shaw2001-12-181-1/+1
| | | | | | | IDEA warning for pk messages encrypted with IDEA (symmetric is already done) Print IDEA warning for each occurance except for secret key protection and unknown cipher from an encrypted message.
* Fix capitalization issuesDavid Shaw2001-12-171-1/+2
|
* Sig expiration codeDavid Shaw2001-12-071-0/+10
| | | | | | | 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
* Generic keyserver API codeDavid Shaw2001-12-061-3/+3
|
* Tweaked v3 -c decryption, let --force-v4-certs use SHA-1 for all RSA keys.Werner Koch2001-11-081-5/+26
|
* Revamped the trustDBWerner Koch2001-09-241-3/+3
|
* Code cleanupsWerner Koch2001-09-201-42/+5
|
* Bug fixes and Timo's patchesWerner Koch2001-09-191-2/+2
|
* Check for garbled packetsWerner Koch2001-09-181-1/+2
|
* Revamped the keyring codeWerner Koch2001-09-061-1/+1
|
* bug fixesWerner Koch2001-08-311-5/+32
|
* Implemented -cs and some fixes to the rfc1991 symmetric only modeWerner Koch2001-08-201-12/+23
|
* reworked the way hased data is stored and added a "primary" commandWerner Koch2001-08-091-3/+2
| | | | | DCVS: ----------------------------------------------------------------------
* migration to autoconf 2.52 and bugfixesWerner Koch2001-07-261-4/+6
|
* just released another snapshotWerner Koch2001-05-281-1/+1
|
* Fixes for W32Werner Koch2001-04-191-7/+7
|
* Improved pipemode and tweaked handling of multiple signatures.Werner Koch2001-04-051-19/+73
|
* Fixed nasty Hash bugWerner Koch2001-03-281-1/+3
|
* Fixed a bugs; e.g. in --list-secret-keysWerner Koch2001-03-271-5/+7
|
* Verify created signatures.Werner Koch2001-03-241-0/+2
|
* Keyserver access is now supported under W32Werner Koch2001-03-131-1/+2
|
* worked on solving some bugsWerner Koch2001-03-121-84/+32
|
* Changed and added copyright noticesWerner Koch2001-03-081-1/+1
|
* Fixed the new key selection codeWerner Koch2001-03-031-1/+2
|
* Changes for MingW32/CPD 0.3 and some bug fixesWerner Koch2001-01-181-2/+4
|
* Add missing stub, fixed comment typosWerner Koch2000-12-281-1/+1
|
* 1.0.4c snapshotWerner Koch2000-12-191-35/+116
|
* Pipemode now works for detached binary signatures.Werner Koch2000-12-111-0/+37
|
* Fixed the detached signature bug.Werner Koch2000-11-301-0/+12
| | | | | Minor modifications for W32.
* Some new features for use with gpgmeWerner Koch2000-11-151-0/+3
|
* Debian updates, minor fixes.Werner Koch2000-10-171-1/+9
|
* More multiple signature fixesWerner Koch2000-10-161-0/+32
|