aboutsummaryrefslogtreecommitdiffstats
path: root/doc/DETAILS
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-09-27 08:05:07 +0000
committerWerner Koch <[email protected]>2019-09-27 08:05:07 +0000
commit4be79b5abeae82b9840e6aa93874f743e13c6df7 (patch)
tree2d9310b43f277203adcd14858cd593f9b7004bd7 /doc/DETAILS
parentkbx: First take on a cache for the keyboxd. (diff)
downloadgnupg-4be79b5abeae82b9840e6aa93874f743e13c6df7.tar.gz
gnupg-4be79b5abeae82b9840e6aa93874f743e13c6df7.zip
kbx,gpg: Allow lookup using a UBID.
* common/userids.c (classify_user_id): Detect UBIDs. * kbx/backend-cache.c (blob_table_put): Store the public key type. (be_cache_search): Add search mode for UBIDs. * kbx/backend.h (struct db_request_part_s): Add cache.seqno_ubid. * g10/keydb.c (keydb_search_desc_dump): Fix printing of keygrip. Add ubid printing. * g10/call-keyboxd.c (keydb_search): Support search by UBID. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc/DETAILS')
-rw-r--r--doc/DETAILS9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/DETAILS b/doc/DETAILS
index ed5cadec6..0610108f4 100644
--- a/doc/DETAILS
+++ b/doc/DETAILS
@@ -1144,10 +1144,11 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
*** PUBKEY_INFO <n> <ubid>
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 which is a SHA-1 digest the entire
- blob here formatted in hex.. The consumer of this status line
- should be prepared to see a <ubid> of up to 64 characters.
-
+ and <ubid> the Unique Blob ID (UBID) which is a SHA-1 digest the
+ entire blob here formatted in hex. The consumer of this status
+ line should be prepared to see a <ubid> of up to 64 characters.
+ Note that the keyboxd SEARCH command can be used to lookup the
+ public key using the <ubid> prefixed with a caret (^).
* Format of the --attribute-fd output