aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/pmkey-import-alt.py
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2018-08-28 06:35:06 +0000
committerAndre Heinecke <[email protected]>2018-08-28 06:35:06 +0000
commit3bdf8be6d2c57319399fe14e27e52b323a17750a (patch)
tree3a96860b22273de90d5e2ce2b33ebf81a78227c9 /lang/python/examples/howto/pmkey-import-alt.py
parentjson: Allow NULL request in encode and chunk (diff)
downloadgpgme-3bdf8be6d2c57319399fe14e27e52b323a17750a.tar.gz
gpgme-3bdf8be6d2c57319399fe14e27e52b323a17750a.zip
json: Delete primary key if subkey gen fails
* src/gpgme-json.c (op_delete): Delete primary key on subkey gen error. -- This can happen for example if the user cancels the pinentry to unlock the primary key when adding the subkey. To avoid an artifact of a pimary key without an encryption capable subkey we delete the created key and treat the whole operation as failed.
Diffstat (limited to 'lang/python/examples/howto/pmkey-import-alt.py')
0 files changed, 0 insertions, 0 deletions