js: renamed keygen algo option

--

* src/Keyring.js: Confused default-future with future-default

* reverts commit 34be6163f6
This commit is contained in:
Maximilian Krambach 2018-09-20 15:46:03 +02:00
parent 9f19b3aaec
commit ec2d2b78bc

View File

@ -428,7 +428,7 @@ export class GPGME_Keyring {
* documentation for details * documentation for details
*/ */
const supportedKeyAlgos = [ const supportedKeyAlgos = [
'default', 'default-future', 'default', 'future-default',
'rsa', 'rsa2048', 'rsa3072', 'rsa4096', 'rsa', 'rsa2048', 'rsa3072', 'rsa4096',
'dsa', 'dsa2048', 'dsa3072', 'dsa4096', 'dsa', 'dsa2048', 'dsa3072', 'dsa4096',
'elg', 'elg2048', 'elg3072', 'elg4096', 'elg', 'elg2048', 'elg3072', 'elg4096',
@ -436,4 +436,4 @@ const supportedKeyAlgos = [
'cv25519', 'cv25519',
'brainpoolP256r1', 'brainpoolP384r1', 'brainpoolP512r1', 'brainpoolP256r1', 'brainpoolP384r1', 'brainpoolP512r1',
'NIST P-256', 'NIST P-384', 'NIST P-521' 'NIST P-256', 'NIST P-384', 'NIST P-521'
]; ];