Set default config.minRSABits
to 2047 (#1392)
Lower the default allowed RSA key size to ensure that (most) keys generated in v4 without WebCrypto are supported (see #1336).
This commit is contained in:
parent
f59b0dec60
commit
f57d3527d3
|
@ -104,10 +104,12 @@ export default {
|
||||||
*/
|
*/
|
||||||
checksumRequired: false,
|
checksumRequired: false,
|
||||||
/**
|
/**
|
||||||
|
* Minimum RSA key size allowed for key generation and message signing, verification and encryption.
|
||||||
|
* The default is 2047 since due to a bug, previous versions of OpenPGP.js could generate 2047-bit keys instead of 2048-bit ones.
|
||||||
* @memberof module:config
|
* @memberof module:config
|
||||||
* @property {Number} minRSABits Minimum RSA key size allowed for key generation and message signing, verification and encryption
|
* @property {Number} minRSABits
|
||||||
*/
|
*/
|
||||||
minRSABits: 2048,
|
minRSABits: 2047,
|
||||||
/**
|
/**
|
||||||
* Work-around for rare GPG decryption bug when encrypting with multiple passwords.
|
* Work-around for rare GPG decryption bug when encrypting with multiple passwords.
|
||||||
* **Slower and slightly less secure**
|
* **Slower and slightly less secure**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user