Home GnuPG
Diffusion GnuPG 1aad5c6277ea

sm: Always create a keybox header when creating a new keybox.
1aad5c6277eaUnpublished

Unpublished Commit · Learn More

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

Description

sm: Always create a keybox header when creating a new keybox.

* sm/keydb.c (maybe_create_keybox): Create the header blob.

This is required so that g10/keydb.c can properly detect that a keybox
file is actually there. Just writing a 0 zero length keybox file is
not sufficient because a file with that name may also be an old-style
OpenPGP keyring.

  • GnuPG-bug-id: T2275
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 17 2016, 3:15 PM
Parents
rG1dc7f55a4095: doc: Improve documentation of --enable-large-rsa.
Branches
Unknown
Tags
Unknown