summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2020-09-10 16:41:49 +0200
committerWerner Koch <wk@gnupg.org>2020-09-11 12:10:05 +0200
commit616c60d93dfab27dde00e1489c6c51340ec93b6c (patch)
treef11192f5947c856acb4256979821d688a918a9c3 /doc
parentdoc: Update and extend module overview (diff)
downloadgnupg2-616c60d93dfab27dde00e1489c6c51340ec93b6c.tar.xz
gnupg2-616c60d93dfab27dde00e1489c6c51340ec93b6c.zip
keyboxd: Add ephemeral and revoked flag to the sqlite backend.
* kbx/backend-support.c (be_return_pubkey): Add args is_ephemeral and is_revoked. Adjust callers. * kbx/backend-sqlite.c: Alter table pubkey to add new columns. (run_select_statement): Add new column to all selects. (be_sqlite_search): Return the new flags. -- For existing test databases the new column can be added with: alter table pubkey add ephemeral integer not null default 0; alter table pubkey add revoked integer not null default 0; Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/DETAILS6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/DETAILS b/doc/DETAILS
index bab961499..b8f360e35 100644
--- a/doc/DETAILS
+++ b/doc/DETAILS
@@ -1171,7 +1171,7 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
Status codes are also used between the components of the GnuPG
system via the Assuan S lines. Some of them are documented here:
-*** PUBKEY_INFO <n> <ubid>
+*** PUBKEY_INFO <n> <ubid> <flags>
The type of the public key in the following D-lines or
communicated via a pipe. <n> is the value of =enum pubkey_types=
and <ubid> the Unique Blob ID (UBID) which is the fingerprint of
@@ -1179,6 +1179,10 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
that the keyboxd SEARCH command can be used to lookup the public
key using the <ubid> prefixed with a caret (^).
+ <flags> is a string extra information about the blob. The first
+ byte is either '-' for standard key or 'e' for an ephemeral key.
+ The second byte is either '-' or 'r' for a known revoked key.
+
*** KEYPAIRINFO <grip> <keyref> [<usage>] [<keytime>]
This status is emitted by scdaemon and gpg-agent to convey brief