aboutsummaryrefslogtreecommitdiffstats
path: root/g10/import.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-04-29Added a copyright year for files changed this year.Werner Koch1-1/+1
2002-04-23* parse-packet.c (parse_plaintext), packet.h, plaintext.cDavid Shaw1-3/+6
(handle_plaintext): Fix bug in handling literal packets with zero-length data (no data was being confused with partial body length). * misc.c (pct_expando), options.skel: %t means extension ("jpg"). %T means MIME type ("image/jpeg"). * import.c (import_one): Only trigger trust update if the keyring is actually changed. * export.c (do_export_stream): Missing a m_free.
2002-03-24Minor tweak to importing to allow more non-signed uids (now thatDavid Shaw1-11/+0
--allow-non-selfsigned-uid allows for completey unsigned uids). Do not choose an attribute packet (i.e. photo) as primary uid. This prevents oddities like "Good signature from [image of size 2671]". This is still not perfect (one can still select an attribute packet as primary in --edit), but is closer to the way the draft is going. The algorithms list should include #110. --pgp2 implies --no-ask-sig-expire and --no-ask-cert-expire as those would cause a v4 sig/cert. Be more lenient in what constitutes a valid armor header (i.e. -----BEGIN blah blah-----) as some Windows programs seem to add spaces at the end. --openpgp makes it strict again
2002-03-17--openpgp implies --allow-non-selfsigned-uidDavid Shaw1-26/+11
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-13Show which user ID a bad self-sig (invald sig or unsupported public keyDavid Shaw1-4/+11
algorithm) resides on.
2002-03-13any valid self-sig should mark a user ID or subkey as valid - otherwise,David Shaw1-13/+16
an attacker could DoS the user by inventing a bogus invalid self-signature.
2002-03-07Some minor fixes for revocation keys: print a warning if a key is importedDavid Shaw1-2/+82
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-28This is the first half of revocation key / designated revokerDavid Shaw1-10/+51
support. That is, it handles all the data to mark a key as revoked if it has been revoked by a designated revoker. The second half (coming later) will contain the code to make someones key your designated revoker and to issue revocations for someone else. Note that this is written so that a revoked revoker can still issue revocations: i.e. If A revokes B, but A is revoked, B is still revoked. I'm not completely convinced this is the proper behavior, but it matches how PGP does it. It does at least have the advantage of much simpler code - my first version of this had lots of loop maintaining code so you could chain revokers many levels deep and if D was revoked, C was not, which meant that B was, and so on. It was sort of scary, actually. This also changes importing to allow bringing in more revocation keys, and exporting to not export revocation keys marked "sensitive". The --edit menu information will show if a revocation key is present.
2001-12-28Add an outofband indicator to the keyserver protocol.David Shaw1-6/+3
Use signature flags for exportability check rather than re-parsing the subpacket.
2001-09-25Changed signature status cacheWerner Koch1-18/+14
2001-09-24Revamped the trustDBWerner Koch1-28/+5
2001-09-19Bug fixes and Timo's patchesWerner Koch1-79/+112
2001-09-06Revamped the keyring codeWerner Koch1-52/+72
2001-08-09reworked the way hased data is stored and added a "primary" commandWerner Koch1-1/+1
DCVS: ----------------------------------------------------------------------
2001-03-08Changed and added copyright noticesWerner Koch1-1/+1
2001-03-05Add self-signature verification cachingWerner Koch1-0/+17
2001-03-03Fixed the new key selection codeWerner Koch1-1/+1
2000-12-07New option --allow-secret-key-importWerner Koch1-8/+18
2000-12-06Mainly changes to the pipe handling under W32Werner Koch1-0/+1
2000-07-27See ChangeLog: Thu Jul 27 17:33:04 CEST 2000 Werner KochWerner Koch1-4/+16
2000-05-12See ChangeLog: Fri May 12 14:01:20 CEST 2000 Werner KochWerner Koch1-1/+1
2000-03-22See ChangeLog: Wed Mar 22 13:50:24 CET 2000 Werner KochWerner Koch1-6/+6
2000-02-15See ChangeLog: Tue Feb 15 08:48:13 CET 2000 Werner KochWerner Koch1-0/+3
1999-11-29See ChangeLog: Mon Nov 29 21:52:11 CET 1999 Werner KochWerner Koch1-1/+2
1999-10-04See ChangeLog: Mon Oct 4 21:23:04 CEST 1999 Werner KochWerner Koch1-27/+57
1999-09-17See ChangeLog: Fri Sep 17 12:56:42 CEST 1999 Werner KochV1-0-1Werner Koch1-4/+2
1999-09-02See ChangeLog: Thu Sep 2 16:40:55 CEST 1999 Werner KochWerner Koch1-24/+28
1999-09-01See ChangeLog: Wed Sep 1 15:30:44 CEST 1999 Werner KochWerner Koch1-9/+9
1999-08-30See ChangeLog: Mon Aug 30 20:38:33 CEST 1999 Werner KochWerner Koch1-3/+3
1999-07-26See ChangeLog: Mon Jul 26 09:34:46 CEST 1999 Werner KochWerner Koch1-2/+2
1999-07-22See ChangeLog: Thu Jul 22 20:03:03 CEST 1999 Werner KochWerner Koch1-2/+29
1999-07-14See ChangeLog: Wed Jul 14 19:42:08 CEST 1999 Werner KochWerner Koch1-0/+24
1999-07-01See ChangeLog: Thu Jul 1 12:47:31 CEST 1999 Werner KochWerner Koch1-7/+4
1999-05-26See ChangeLog: Wed May 26 14:36:29 CEST 1999 Werner KochWerner Koch1-3/+3
1999-05-22See ChangeLog: Sat May 22 22:47:26 CEST 1999 Werner KochWerner Koch1-98/+134
1999-05-19See ChangeLog: Wed May 19 16:04:30 CEST 1999 Werner KochWerner Koch1-6/+41
1999-04-18See ChangeLog: Sun Apr 18 10:11:28 CEST 1999 Werner KochWerner Koch1-26/+30
1999-04-09See ChangeLog: Fri Apr 9 12:26:25 CEST 1999 Werner KochWerner Koch1-0/+4
1999-04-07See ChangeLog: Wed Apr 7 20:51:39 CEST 1999 Werner KochWerner Koch1-1/+4
1999-04-06See ChangeLog: Tue Apr 6 19:58:12 CEST 1999 Werner KochWerner Koch1-1/+6
1999-03-11See ChangeLog: Thu Mar 11 16:39:46 CET 1999 Werner KochWerner Koch1-1/+12
1999-02-19See ChangeLog: Fri Feb 19 15:49:15 CET 1999 Werner KochWerner Koch1-20/+20
1999-01-16See ChangeLog: Sat Jan 16 09:27:30 CET 1999 Werner KochWerner Koch1-12/+27
1999-01-12See ChangeLog: Tue Jan 12 11:17:18 CET 1999 Werner KochWerner Koch1-16/+61
1998-12-29See ChangeLog: Tue Dec 29 14:41:47 CET 1998 Werner KochWerner Koch1-1/+1
1998-12-23See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner KochWerner Koch1-0/+3
1998-12-08See ChangeLog: Tue Dec 8 13:15:16 CET 1998 Werner KochWerner Koch1-39/+190
1998-11-03(Does not compile yet)Werner Koch1-1/+1
1998-10-25some random changesWerner Koch1-32/+103
1998-10-16last local commitWerner Koch1-0/+1