Home GnuPG
Diffusion GnuPG 3c439c0447f8

gpg: Add push/pop found state feature to keydb.
3c439c0447f8Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: Add push/pop found state feature to keydb.

* g10/keydb.c (keydb_handle): Add field saved_found.
(keydb_new): Init new field.
(keydb_push_found_state, keydb_pop_found_state): New.
* g10/keyring.c (kyring_handle): Add field saved_found.
(keyring_push_found_state, keyring_pop_found_state): New.

We have the same feature in gpgsm. It is very useful to check for an
unambiguous user id with a follow up update of the keyblock.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 8 2015, 3:51 PM
Parents
rGb772e459fa91: gpg: Minor code merging in keyedit.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG3c439c0447f8: gpg: Add push/pop found state feature to keydb. (authored by Werner Koch <wk@gnupg.org>).May 8 2015, 3:51 PM