aboutsummaryrefslogtreecommitdiffstats
path: root/g10/revoke.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1999-03-20 10:53:39 +0000
committerWerner Koch <[email protected]>1999-03-20 10:53:39 +0000
commitfb8dbdbd95ecad16676ae717df38e06e0a1e40ec (patch)
treee2cdda28c57d62deef9fb87981cc1b49f064a4c3 /g10/revoke.c
parentSee ChangeLog: Wed Mar 17 13:09:03 CET 1999 Werner Koch (diff)
downloadgnupg-fb8dbdbd95ecad16676ae717df38e06e0a1e40ec.tar.gz
gnupg-fb8dbdbd95ecad16676ae717df38e06e0a1e40ec.zip
See ChangeLog: Sat Mar 20 11:53:40 CET 1999 Werner Koch
Diffstat (limited to 'g10/revoke.c')
-rw-r--r--g10/revoke.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/g10/revoke.c b/g10/revoke.c
index 88af788a9..6467b8482 100644
--- a/g10/revoke.c
+++ b/g10/revoke.c
@@ -62,6 +62,19 @@ gen_revoke( const char *uname )
}
+ /* FIXME: ask for the reason of revocation
+ 0x00 - No reason specified (key revocations or cert revocations)
+ Does not make sense!
+
+ 0x01 - Key is superceded (key revocations)
+ 0x02 - Key material has been compromised (key revocations)
+ 0x03 - Key is no longer used (key revocations)
+ 0x20 - User id information is no longer valid (cert revocations)
+
+ Following the revocation code is a string of octets which gives
+ information about the reason for revocation in human-readable form
+ */
+
memset( &afx, 0, sizeof afx);
memset( &zfx, 0, sizeof zfx);
init_packet( &pkt );