mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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 <wk@gnupg.org>
This commit is contained in:
parent
280e9c9cfa
commit
4be79b5abe
7 changed files with 64 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue