Home GnuPG
Diffusion GPGME da5343a9d2c8

cpp: Ensure that hasSecret is correct after update
da5343a9d2c8Unpublished

Unpublished Commit · Learn More

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

Description

cpp: Ensure that hasSecret is correct after update

* lang/cpp/src/key.cpp (Key::update): Check for
a secret key first before listing public keys.

This is a performance delay but the update should
only be called in a non gui thread anyway. The information
if we have the secret key for this key is important to provide
after update.

Details

Provenance
aheineckeAuthored on Dec 16 2016, 7:09 PM
Parents
rM85e05537e153: cpp: Fix addrSpec for keys without email
Branches
Unknown
Tags
Unknown

Event Timeline

Andre Heinecke <aheinecke@intevation.de> committed rMda5343a9d2c8: cpp: Ensure that hasSecret is correct after update (authored by Andre Heinecke <aheinecke@intevation.de>).Dec 16 2016, 7:09 PM