Home GnuPG

Add function to check if subkey is primary (sub)key

Description

Add function to check if subkey is primary (sub)key

* src/key.cpp, src/key.h (Subkey::isPrimaryKey): New.

Sometimes it's necessary to know if a subkey is the primary (sub)key.
The new function provides a fast and easy way to check this.

Details

Provenance
ikloeckerAuthored on Wed, Jul 8, 11:27 AM
Parents
rGPGMEPPebbf2e6289c4: Post release updates
Branches
Unknown
Tags
Unknown
References
HEAD -> master
Tasks
T8321: Kleopatra: Subkey backup in key details is not disabled for primary key