json: Remove subkey-algo from createkey command.
authorWerner Koch <wk@gnupg.org>
Wed, 19 Sep 2018 09:51:31 +0000 (11:51 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 19 Sep 2018 09:51:31 +0000 (11:51 +0200)
commitc569adb5e3e3082bd68cdc34a2d349b7c28d3768
tree90edc7ad677342709a74a978adb42db8e17c09f8
parent7f149586062ebae8114f64078771cb25579f5003
json: Remove subkey-algo from createkey command.

* src/gpgme-json.c (op_createkey): Remove subkey-algo param.
(GPG_AGENT_ALLOWS_KEYGEN_TRHOUGH_BROWSER): Fix typo.
* lang/js/src/Keyring.js: Remove subkey-algo support.
* lang/js/src/permittedOperations.js: Ditto.
--

We do not want to expose details of the protocol's key generation and
thus the subkey-algo does not make sense.  Right now we support only
the default and future-default algorithms.  A user can configure them
anyway using new-default-key-algo in gpg.conf.  Eventually we may
officially support a more flexible way of creating special structured
OpenPGP keys but right now that is not part of the API.

Signed-off-by: Werner Koch <wk@gnupg.org>
AUTHORS
lang/js/src/Keyring.js
lang/js/src/permittedOperations.js
src/gpgme-json.c