Home GnuPG
Diffusion GPGME e5c7fc3e0228

cpp: Allow export of secret subkeys

Description

cpp: Allow export of secret subkeys

* lang/cpp/src/context.h (enum Context::ExportMode): Add value
ExportSecretSubkey.
(class Context): Add member functions exportSecretSubkeys and
startSecretSubkeyExport.
* lang/cpp/src/context.cpp (Context::exportPublicKeys,
Context::startPublicKeyExport): Return error if ExportSecretSubkey
mode flag is set.
(Context::exportSecretSubkeys, Context::startSecretSubkeyExport):
Implement.
  • GnuPG-bug-id: T5757

Details

Provenance
ikloeckerAuthored on Jan 4 2022, 3:50 PM
Parents
rM88ad37ea96e4: qt: Remove obsolete QGpgMESecretKeyExportJob
Branches
Unknown
Tags
Unknown
Tasks
Unknown Object (Maniphest Task)