mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-11-24 14:35:51 +00:00
Update comment [skip ci]
Co-authored-by: Daniel Huigens <d.huigens@protonmail.com>
This commit is contained in:
parent
b1619871e7
commit
5c8e490c85
@ -56,8 +56,9 @@ export default {
|
||||
*/
|
||||
aeadProtect: false,
|
||||
/**
|
||||
* When reading private keys which were encrypted by OpenPGP.js v5 (or older) using `config.aeadProtect = true`
|
||||
* and `config.v5Keys = false`, this option must be set, otherwise key parsing and/or key decryption will fail.
|
||||
* When reading OpenPGP v4 private keys (e.g. those generated in OpenPGP.js when not setting `config.v5Keys = true`)
|
||||
* which were encrypted by OpenPGP.js v5 (or older) using `config.aeadProtect = true`,
|
||||
* this option must be set, otherwise key parsing and/or key decryption will fail.
|
||||
* Note: only set this flag if you know that the keys are of the legacy type, as non-legacy keys
|
||||
* will be processed incorrectly.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user