aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-04-29Added a copyright year for files changed this year.Werner Koch1-1/+1
2002-04-11* misc.c (pct_expando), options.skel: Use %t to indicate type of a photoDavid Shaw1-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.
2002-04-10Add KEYEXPIRED, EXPSIG, and EXPKEYSIG. AddDavid Shaw1-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.
2002-03-17--openpgp implies --allow-non-selfsigned-uidDavid Shaw1-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.
2002-03-07Some minor fixes for revocation keys: print a warning if a key is importedDavid Shaw1-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.
2002-02-10For --sig-policy-url and --cert-policy-url, clarify what is a sig and whatDavid Shaw1-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.
2002-01-24Only check preferences against keys with v4 self sigs as v3 sigs have noDavid Shaw1-2/+4
prefs Only put in the fake IDEA preference with --pgp2 mode Print "Expired" for expired but good signatures.
2002-01-20* passphrase.c (passphrase_to_dek): Add tryagain_text arg to beWerner Koch1-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.
2001-12-28Add an outofband indicator to the keyserver protocol.David Shaw1-1/+1
Use signature flags for exportability check rather than re-parsing the subpacket.
2001-12-21* g10.c. options.h : New option --show-keyringWerner Koch1-2/+2
* getkey.c (get_ctx_handle): New. * keylist.c (list_one): Implement option here. By David Champion.
2001-12-18Much stricter checking of the keyserver URIDavid Shaw1-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.
2001-12-17Fix capitalization issuesDavid Shaw1-1/+2
2001-12-07Sig expiration codeDavid Shaw1-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
2001-12-06Generic keyserver API codeDavid Shaw1-3/+3
2001-11-08Tweaked v3 -c decryption, let --force-v4-certs use SHA-1 for all RSA keys.Werner Koch1-5/+26
2001-09-24Revamped the trustDBWerner Koch1-3/+3
2001-09-20Code cleanupsWerner Koch1-42/+5
2001-09-19Bug fixes and Timo's patchesWerner Koch1-2/+2
2001-09-18Check for garbled packetsWerner Koch1-1/+2
2001-09-06Revamped the keyring codeWerner Koch1-1/+1
2001-08-31bug fixesWerner Koch1-5/+32
2001-08-20Implemented -cs and some fixes to the rfc1991 symmetric only modeWerner Koch1-12/+23
2001-08-09reworked the way hased data is stored and added a "primary" commandWerner Koch1-3/+2
DCVS: ----------------------------------------------------------------------
2001-07-26migration to autoconf 2.52 and bugfixesWerner Koch1-4/+6
2001-05-28just released another snapshotWerner Koch1-1/+1
2001-04-19Fixes for W32Werner Koch1-7/+7
2001-04-05Improved pipemode and tweaked handling of multiple signatures.Werner Koch1-19/+73
2001-03-28Fixed nasty Hash bugWerner Koch1-1/+3
2001-03-27Fixed a bugs; e.g. in --list-secret-keysWerner Koch1-5/+7
2001-03-24Verify created signatures.Werner Koch1-0/+2
2001-03-13Keyserver access is now supported under W32Werner Koch1-1/+2
2001-03-12worked on solving some bugsWerner Koch1-84/+32
2001-03-08Changed and added copyright noticesWerner Koch1-1/+1
2001-03-03Fixed the new key selection codeWerner Koch1-1/+2
2001-01-18Changes for MingW32/CPD 0.3 and some bug fixesWerner Koch1-2/+4
2000-12-28Add missing stub, fixed comment typosWerner Koch1-1/+1
2000-12-191.0.4c snapshotWerner Koch1-35/+116
2000-12-11Pipemode now works for detached binary signatures.Werner Koch1-0/+37
2000-11-30Fixed the detached signature bug.Werner Koch1-0/+12
Minor modifications for W32.
2000-11-15Some new features for use with gpgmeWerner Koch1-0/+3
2000-10-17Debian updates, minor fixes.Werner Koch1-1/+9
2000-10-16More multiple signature fixesWerner Koch1-0/+32
2000-10-14More fixes to the multiple sig problem.Werner Koch1-2/+11
2000-10-13Fixed serious bug related to multiple cleartext signatures.Werner Koch1-13/+48
2000-10-04See ChangeLog: Wed Oct 4 15:50:18 CEST 2000 Werner KochWerner Koch1-0/+5
2000-07-27See ChangeLog: Thu Jul 27 12:01:00 CEST 2000 Werner KochWerner Koch1-2/+20
2000-06-28See ChangeLog: Wed Jun 28 11:54:44 CEST 2000 Werner KochWerner Koch1-12/+21
2000-06-09See ChangeLog: Fri Jun 9 10:09:52 CEST 2000 Werner KochWerner Koch1-1/+1
2000-06-05See ChangeLog: Mon Jun 5 12:37:43 CEST 2000 Werner KochWerner Koch1-1/+5
2000-05-12See ChangeLog: Fri May 12 14:01:20 CEST 2000 Werner KochWerner Koch1-1/+1