Home GnuPG
Diffusion GnuPG 4a326d7c9a3b

gpg: Fix duplicate key import due to legacy key in keyring.
4a326d7c9a3bUnpublished

Unpublished Commit · Learn More

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

Description

gpg: Fix duplicate key import due to legacy key in keyring.

* g10/keydb.c (keydb_search_fpr): Skip legacy keys.

A test case for this problem can be found at

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

Details

Provenance
wernerAuthored on Aug 4 2015, 5:32 PM
Parents
rGf05a63b10428: gpg: Properly handle legacy keys while looking for a secret key.
Branches
Unknown
Tags
Unknown