aboutsummaryrefslogtreecommitdiffstats
path: root/g10/import.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * import.c (clean_subkeys, import_one): Only allow at most 1 binding sigDavid Shaw2002-06-181-0/+91
| | | | | | | | and at most 1 revocation sig on a subkey, as per 2440:11.1. * hkp.c (parse_hkp_index, hkp_search): Error if the keyserver returns an unparseable HKP response.
* * keyedit.c (show_key_with_all_names): Display warning if a user tries toDavid Shaw2002-06-141-5/+10
| | | | | | | | | | | | show prefs on a v3 key with a v3 selfsig. * kbnode.c (dump_kbnode): Show if a uid is expired. * import.c (merge_blocks, import_revoke_cert): Show user ID receiving a revocation certificate. * free-packet.c (cmp_user_ids): Properly compare attribute ids.
* * keydb.h, getkey.c (get_user_id_native), import.c (import_one): DisplayDavid Shaw2002-06-091-16/+26
| | | | | | | | | 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.
* * import.c (import_one): When merging with a key we already have, don'tDavid Shaw2002-05-051-2/+0
| | | | | | | | | | | let a key conflict (same keyid but different key) stop the import: just skip the bad key and continue. * exec.c (make_tempdir): Under Win32, don't try environment variables for temp directories - GetTempDir tries environment variables internally, and it's better not to second-guess it in case MS adds some sort of temp dir handling to Windows at some point.
* Added a copyright year for files changed this year.Werner Koch2002-04-291-1/+1
|
* * parse-packet.c (parse_plaintext), packet.h, plaintext.cDavid Shaw2002-04-231-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.
* Minor tweak to importing to allow more non-signed uids (now thatDavid Shaw2002-03-241-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
* --openpgp implies --allow-non-selfsigned-uidDavid Shaw2002-03-171-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.
* Show which user ID a bad self-sig (invald sig or unsupported public keyDavid Shaw2002-03-131-4/+11
| | | | | algorithm) resides on.
* any valid self-sig should mark a user ID or subkey as valid - otherwise,David Shaw2002-03-131-13/+16
| | | | | | an attacker could DoS the user by inventing a bogus invalid self-signature.
* Some minor fixes for revocation keys: print a warning if a key is importedDavid Shaw2002-03-071-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.
* This is the first half of revocation key / designated revokerDavid Shaw2002-02-281-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.
* Add an outofband indicator to the keyserver protocol.David Shaw2001-12-281-6/+3
| | | | | | Use signature flags for exportability check rather than re-parsing the subpacket.
* Changed signature status cacheWerner Koch2001-09-251-18/+14
|
* Revamped the trustDBWerner Koch2001-09-241-28/+5
|
* Bug fixes and Timo's patchesWerner Koch2001-09-191-79/+112
|
* Revamped the keyring codeWerner Koch2001-09-061-52/+72
|
* reworked the way hased data is stored and added a "primary" commandWerner Koch2001-08-091-1/+1
| | | | | DCVS: ----------------------------------------------------------------------
* Changed and added copyright noticesWerner Koch2001-03-081-1/+1
|
* Add self-signature verification cachingWerner Koch2001-03-051-0/+17
|
* Fixed the new key selection codeWerner Koch2001-03-031-1/+1
|
* New option --allow-secret-key-importWerner Koch2000-12-071-8/+18
|
* Mainly changes to the pipe handling under W32Werner Koch2000-12-061-0/+1
|
* See ChangeLog: Thu Jul 27 17:33:04 CEST 2000 Werner KochWerner Koch2000-07-271-4/+16
|
* See ChangeLog: Fri May 12 14:01:20 CEST 2000 Werner KochWerner Koch2000-05-121-1/+1
|
* See ChangeLog: Wed Mar 22 13:50:24 CET 2000 Werner KochWerner Koch2000-03-221-6/+6
|
* See ChangeLog: Tue Feb 15 08:48:13 CET 2000 Werner KochWerner Koch2000-02-151-0/+3
|
* See ChangeLog: Mon Nov 29 21:52:11 CET 1999 Werner KochWerner Koch1999-11-291-1/+2
|
* See ChangeLog: Mon Oct 4 21:23:04 CEST 1999 Werner KochWerner Koch1999-10-041-27/+57
|
* See ChangeLog: Fri Sep 17 12:56:42 CEST 1999 Werner KochV1-0-1Werner Koch1999-09-171-4/+2
|
* See ChangeLog: Thu Sep 2 16:40:55 CEST 1999 Werner KochWerner Koch1999-09-021-24/+28
|
* See ChangeLog: Wed Sep 1 15:30:44 CEST 1999 Werner KochWerner Koch1999-09-011-9/+9
|
* See ChangeLog: Mon Aug 30 20:38:33 CEST 1999 Werner KochWerner Koch1999-08-301-3/+3
|
* See ChangeLog: Mon Jul 26 09:34:46 CEST 1999 Werner KochWerner Koch1999-07-261-2/+2
|
* See ChangeLog: Thu Jul 22 20:03:03 CEST 1999 Werner KochWerner Koch1999-07-221-2/+29
|
* See ChangeLog: Wed Jul 14 19:42:08 CEST 1999 Werner KochWerner Koch1999-07-141-0/+24
|
* See ChangeLog: Thu Jul 1 12:47:31 CEST 1999 Werner KochWerner Koch1999-07-011-7/+4
|
* See ChangeLog: Wed May 26 14:36:29 CEST 1999 Werner KochWerner Koch1999-05-261-3/+3
|
* See ChangeLog: Sat May 22 22:47:26 CEST 1999 Werner KochWerner Koch1999-05-221-98/+134
|
* See ChangeLog: Wed May 19 16:04:30 CEST 1999 Werner KochWerner Koch1999-05-191-6/+41
|
* See ChangeLog: Sun Apr 18 10:11:28 CEST 1999 Werner KochWerner Koch1999-04-181-26/+30
|
* See ChangeLog: Fri Apr 9 12:26:25 CEST 1999 Werner KochWerner Koch1999-04-091-0/+4
|
* See ChangeLog: Wed Apr 7 20:51:39 CEST 1999 Werner KochWerner Koch1999-04-071-1/+4
|
* See ChangeLog: Tue Apr 6 19:58:12 CEST 1999 Werner KochWerner Koch1999-04-061-1/+6
|
* See ChangeLog: Thu Mar 11 16:39:46 CET 1999 Werner KochWerner Koch1999-03-111-1/+12
|
* See ChangeLog: Fri Feb 19 15:49:15 CET 1999 Werner KochWerner Koch1999-02-191-20/+20
|
* See ChangeLog: Sat Jan 16 09:27:30 CET 1999 Werner KochWerner Koch1999-01-161-12/+27
|
* See ChangeLog: Tue Jan 12 11:17:18 CET 1999 Werner KochWerner Koch1999-01-121-16/+61
|
* See ChangeLog: Tue Dec 29 14:41:47 CET 1998 Werner KochWerner Koch1998-12-291-1/+1
|
* See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner KochWerner Koch1998-12-231-0/+3
|