1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

gpg: New status code NOTATION_FLAGS.

* common/status.h (STATUS_NOTATION_FLAGS: New.
* g10/packet.h (struct notation): Add flags.human.
(notation_t): New typedef.
* g10/build-packet.c (sig_to_notation): Set flags.human.
* g10/keylist.c (show_notation): Write STATUS_NOTATION_FLAGS.
This commit is contained in:
Werner Koch 2016-05-31 15:43:51 +02:00
parent 903328a3ef
commit 67a4bc8d53
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
5 changed files with 23 additions and 8 deletions

View file

@ -520,14 +520,17 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
letter 'T'.
*** NOTATION_
There are actually two related status codes to convey notation
There are actually three related status codes to convey notation
data:
- NOTATION_NAME <name>
- NOTATION_FLAGS <critical> <human_readable>
- NOTATION_DATA <string>
<name> and <string> are %XX escaped; the data may be split among
several NOTATION_DATA lines.
<name> and <string> are %XX escaped. The data may be split among
several NOTATION_DATA lines. NOTATION_FLAGS is emitted after
NOTATION_NAME and gives the critical and human readable flags;
the flag values are either 0 or 1.
*** POLICY_URL <string>
Note that URL in <string> is %XX escaped.