Home GnuPG
Diffusion GPGME 14cbbb3d702b

python bindings: export secret keys
14cbbb3d702bUnpublished

Unpublished Commit ยท Learn More

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

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
rM870c317120e0: python bindings: export public keys
Branches
Unknown
Tags
Unknown