diff options
| author | Werner Koch <[email protected]> | 2019-09-27 11:51:52 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2019-09-27 11:51:52 +0000 |
| commit | 0af1c6447dc0f981ab7306e3bef520f37aded167 (patch) | |
| tree | d5bd0cd69bc8a42fc011cdebd1dd05c6fd0e081a /g10/parse-packet.c | |
| parent | kbx,gpg: Allow lookup using a UBID. (diff) | |
| download | gnupg-0af1c6447dc0f981ab7306e3bef520f37aded167.tar.gz gnupg-0af1c6447dc0f981ab7306e3bef520f37aded167.zip | |
kbx: Store the UBIB in the blob.
* kbx/keybox-blob.c (create_blob_header): New blob flag UBIB.
(create_blob_finish): Write the UBIB.
* kbx/keybox-dump.c (print_ubib): New.
(_keybox_dump_blob): Print UBIB flag.
* kbx/keybox-search.c (has_ubid): Compare the stored UBIB if
available.
--
This make scanning the keybox for a given UBIB much faster once it has
been stored.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/parse-packet.c')
0 files changed, 0 insertions, 0 deletions
