* trustdb.c (clean_uids_from_key): Don't keep a valid selfsig around
authorDavid Shaw <dshaw@jabberwocky.com>
Sat, 9 Jul 2005 02:34:04 +0000 (02:34 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Sat, 9 Jul 2005 02:34:04 +0000 (02:34 +0000)
commit8238e7698b4af78ce6363345f25ccef201643f74
tree03b1f714e7ae1d2867068dcaddbacc2934428a04
parentccab129be56be608e9b196aec35ed9969b8c4c78
* trustdb.c (clean_uids_from_key): Don't keep a valid selfsig around
when compacting a uid.  There is no reason to make an attacker's job
easier - this way they only have a revocation which is useless in
bringing the uid back.

* keydb.h, kbnode.c (undelete_kbnode): Removed.  No longer needed.

* import.c (chk_self_sigs): Allow a uid revocation to be enough to
allow importing a particular uid (no self sig needed).  This allows
importing compacted uids.
g10/ChangeLog
g10/import.c
g10/kbnode.c
g10/keydb.h
g10/trustdb.c