aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/import-key.py
diff options
context:
space:
mode:
authorBen McGinnes <[email protected]>2018-06-27 09:16:29 +0000
committerBen McGinnes <[email protected]>2018-06-28 08:51:47 +0000
commita5b91b21f561d7b13ddcb62fca3749ed92ea8720 (patch)
tree3ef28ca91567d4c6a6d6af9677738c0b161544d5 /lang/python/examples/howto/import-key.py
parentpython bindings: export public keys (diff)
downloadgpgme-a5b91b21f561d7b13ddcb62fca3749ed92ea8720.tar.gz
gpgme-a5b91b21f561d7b13ddcb62fca3749ed92ea8720.zip
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 <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions