From cfd07798087f671c134eef056229bb30e08cc77c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 6 Apr 2018 11:01:46 +0200 Subject: [PATCH] doc: Add a code comment about back signatures. -- --- g10/keydb.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/g10/keydb.h b/g10/keydb.h index 627564c3c..cc99241f5 100644 --- a/g10/keydb.h +++ b/g10/keydb.h @@ -26,7 +26,9 @@ #include "../common/util.h" #include "packet.h" -/* What qualifies as a certification (rather than a signature?) */ +/* What qualifies as a certification (key-signature in contrast to a + * data signature)? Note that a back signature is special and can be + * made by key and data signatures capable subkeys.) */ #define IS_CERT(s) (IS_KEY_SIG(s) || IS_UID_SIG(s) || IS_SUBKEY_SIG(s) \ || IS_KEY_REV(s) || IS_UID_REV(s) || IS_SUBKEY_REV(s)) #define IS_SIG(s) (!IS_CERT(s))