Home GnuPG
Diffusion GnuPG 5e1a844ae9b6

sm: Fix cert storage for ephemeral certs
5e1a844ae9b6Unpublished

Unpublished Commit · Learn More

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

Description

sm: Fix cert storage for ephemeral certs

* sm/keydb.c (keydb_store_cert): Clear ephemeral flag for
existing certs if store should not be ephemeral.

Previously keydb_store_cert would ignore ephemeral certificates
when asked to store a non ephemeral certificate and insert
it again without the flags. This resulted in duplicated
certificates in the keybox.

  • GnuPG-bug-id: T1921
  • Signed-off-by: Andre Heinecke <aheinecke@intevation.de>

Details

Provenance
aheineckeAuthored on Jun 24 2015, 6:55 PM
wernerCommitted on Jun 25 2015, 1:03 PM
Parents
rG54a0ed3d9b10: Allow use of debug flag names for all tools.
Branches
Unknown
Tags
Unknown