Home GnuPG

Cpp: Use fpr field for primaryFingerprint

Description

Cpp: Use fpr field for primaryFingerprint

* lang/cpp/src/key.cpp (Key::primaryFingerprint): Return
fpr value if available.

Should not be necessary but we might have an incomplete
key without subkeys but the fingerprint already set in
gpgme's data type.

Details

Provenance
aheineckeAuthored on Aug 24 2016, 1:57 PM
Parents
rGPGMEPP967d8e0aa600: Cpp: Move tofuinfo from signature to userid
Branches
Unknown
Tags
Unknown