Home GnuPG
Diffusion GnuPG a1db83d8a330

gpg: allow import of previously known keys, even without UIDs
a1db83d8a330Unpublished

Unpublished Commit ยท Learn More

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

Description

gpg: allow import of previously known keys, even without UIDs

* g10/import.c (import_one): Accept an incoming OpenPGP certificate that
has no user id, as long as we already have a local variant of the cert
that matches the primary key.

This fixes two of the three broken tests in import-incomplete.scm.

  • GnuPG-Bug-id: T4393
  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Details

Provenance
ValodimAuthored on Jun 13 2019, 9:27 PM
dkgCommitted on Jun 14 2019, 6:07 PM
Parents
rG4c40bfa90bda: tests: add test cases for import without uid
Branches
Unknown
Tags
Unknown