dshaw committed to gnupg/g10

cvs@cvs.gnupg.org cvs@cvs.gnupg.org
Thu, 28 Feb 2002 22:01:25 +0100


Date:	Thursday February 28, 2002 @ 22:01
Author:	dshaw

Update of /cvs/gnupg/gnupg/g10
In directory trithemius:/tmp/cvs-serv6623

Modified Files:
      Tag: STABLE-BRANCH-1-0
	ChangeLog export.c free-packet.c getkey.c import.c keyedit.c 
	keylist.c packet.h parse-packet.c 
Log Message:
This is the first half of revocation key / designated revoker
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.

File: ChangeLog        	Status: Up-to-date
File: export.c         	Status: Up-to-date
File: free-packet.c    	Status: Up-to-date
File: getkey.c         	Status: Up-to-date
File: import.c         	Status: Up-to-date
File: keyedit.c        	Status: Up-to-date
File: keylist.c        	Status: Up-to-date
File: packet.h         	Status: Up-to-date
File: parse-packet.c   	Status: Up-to-date