Home GnuPG
Diffusion GnuPG 4735ab96aa55

gpg: Fix (quick) key generation with --always-trust.
4735ab96aa55Unpublished

Unpublished Commit ยท Learn More

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

Description

gpg: Fix (quick) key generation with --always-trust.

* g10/keygen.c (do_generate_keypair): Only update the ownertrust if we
do have a trust database.
* g10/trustdb.c (have_trustdb): New function.
* g10/trustdb.h (have_trustdb): New prototype.
* tests/openpgp/quick-key-manipulation.scm: Remove workaround.
  • GnuPG-bug-id: T2695
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Mar 2 2017, 2:35 PM
Parents
rGd6f0f3687630: agent: Improve error message for the KEYTOCARD command.
Branches
Unknown
Tags
Unknown