diff options
author | Werner Koch <[email protected]> | 2018-09-19 09:51:31 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-09-19 09:51:31 +0000 |
commit | c569adb5e3e3082bd68cdc34a2d349b7c28d3768 (patch) | |
tree | 90edc7ad677342709a74a978adb42db8e17c09f8 /lang/js/src/permittedOperations.js | |
parent | js: add configuration option on startup (diff) | |
download | gpgme-c569adb5e3e3082bd68cdc34a2d349b7c28d3768.tar.gz gpgme-c569adb5e3e3082bd68cdc34a2d349b7c28d3768.zip |
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 <[email protected]>
Diffstat (limited to 'lang/js/src/permittedOperations.js')
-rw-r--r-- | lang/js/src/permittedOperations.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lang/js/src/permittedOperations.js b/lang/js/src/permittedOperations.js index c3c72ca1..09a17834 100644 --- a/lang/js/src/permittedOperations.js +++ b/lang/js/src/permittedOperations.js @@ -348,9 +348,6 @@ export const permittedOperations = { algo: { allowed: ['string'] }, - 'subkey-algo': { - allowed: ['string'] - }, expires: { allowed: ['number'], } |