Home GnuPG
Diffusion GPGME 8103eeba809b

json: Add subkey_algo and defaults to createkey

Description

json: Add subkey_algo and defaults to createkey

* src/gpgme-json.c (op_createkey, hlp_createkey): Add subkey_algo
handling.
(hlp_createkey): Fix documentation of expiry.

Due to the funny quick-gen-key interface generating a key
with an explicit algo would result in bad defaults (only an SC key),
without a subkey.

This adds handling that should probably be in GnuPG proper to fix
the semantics of createkey by adding default subkey_algo handling.

Details

Provenance
aheineckeAuthored on Aug 20 2018, 4:38 PM
Parents
rM75bc5e6356ec: Python bindings examples
Branches
Unknown
Tags
Unknown