From 5c8e490c85d440e33759b286453ef62269258a1c Mon Sep 17 00:00:00 2001 From: larabr Date: Fri, 12 Jan 2024 16:14:18 +0100 Subject: [PATCH] Update comment [skip ci] Co-authored-by: Daniel Huigens --- src/config/config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/config/config.js b/src/config/config.js index 7676ba17..91f29014 100644 --- a/src/config/config.js +++ b/src/config/config.js @@ -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. */