Home GnuPG
Diffusion GnuPG 160862978628

kbx: Implement keybox_lock for use by gpg.
160862978628Unpublished

Unpublished Commit · Learn More

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

Description

kbx: Implement keybox_lock for use by gpg.

* kbx/keybox-defs.h: Include dotlock.h and logging.h.
(CONST_KB_NAME): Remove.  Replace usage by KB_NAME.
(struct keybox_name): Add field "lockhd".
* kbx/keybox-init.c (keybox_register_file): Init LOCKHD.
(keybox_lock): Chnage to return gpg_error_t.  Implement locking.

The keybox locking for gpg was not implemented - This needs to be
fixed of course.

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

Details

Provenance
wernerAuthored on Jan 13 2016, 10:16 AM
Parents
rG9dc355ad3ae0: gpg: Make sure to mark a duplicate registered keybox as primary.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG160862978628: kbx: Implement keybox_lock for use by gpg. (authored by Werner Koch <wk@gnupg.org>).Jan 13 2016, 10:43 AM