Home GnuPG
Diffusion GPGME a5b91b21f561

python bindings: export secret keys

Description

python bindings: export secret keys

* The holy grail: a function to export secret keys.
* GPGME will still invoke pinentry and gpg-agent as usual to authorise
  the export.
* Mostly similar to the two previous export functions for public keys
  except that it will return None if the result had a length of zero
  bytes.  Meaning that the difference between the specified pattern
  (if any) not matching available keys and an incorrect passphrase is
  not able to be determined from this function (or the underlying one
  for that matter).
  • Signed-off-by: Ben McGinnes <ben@adversary.org>

Details

Provenance
BenMAuthored on Jun 27 2018, 11:16 AM
Parents
rM7faef33d13fa: python bindings: export public keys
Branches
Unknown
Tags
Unknown