From 05e435aae70596d1ef60af931884bd3085deb556 Mon Sep 17 00:00:00 2001
From: Daniel Huigens
Infinity
if the key doesn't expire, or null
if
Infinity
if the key doesn't expire, or null
if
Infinity
if the key doesn't expire, or null
if
Infinity
if the key doesn't expire, or null
if
read
on an empty PacketList instance.
read
on an empty PacketList instance.
read
on an empty PacketList instance.
read
on an empty PacketList instance.
read
on an empty PacketList instance.
decryptionKeys
, sessionkeys
or passwords<
Source:
-
- openpgp.js, line 332
+ openpgp.js, line 333
@@ -1996,7 +1996,7 @@ This method does not change the original key.
Source:
-
- openpgp.js, line 171
+ openpgp.js, line 172
@@ -2355,7 +2355,7 @@ One of decryptionKeys
or passwords
must be specified.<
Source:
-
- openpgp.js, line 580
+ openpgp.js, line 581
@@ -3117,7 +3117,7 @@ must be specified. If signing keys are specified, those will be used to sign the
Source:
-
- openpgp.js, line 263
+ openpgp.js, line 264
@@ -3405,7 +3405,7 @@ This method does not change the original key.
Source:
-
- openpgp.js, line 205
+ openpgp.js, line 206
@@ -4025,7 +4025,7 @@ At least one of encryptionKeys
or passwords
must be sp
Source:
-
- openpgp.js, line 550
+ openpgp.js, line 551
@@ -4241,7 +4241,7 @@ At least one of encryptionKeys
or passwords
must be sp
Source:
-
- openpgp.js, line 712
+ openpgp.js, line 713
@@ -4834,7 +4834,7 @@ default to main key options, except for sign
parameter that default
Source:
-
- openpgp.js, line 56
+ openpgp.js, line 56
@@ -5182,7 +5182,7 @@ default to main key options, except for sign
parameter that default
Source:
-
- openpgp.js, line 517
+ openpgp.js, line 518
@@ -5366,7 +5366,7 @@ default to main key options, except for sign
parameter that default
Source:
@@ -5651,7 +5651,7 @@ default to main key options, except for sign
parameter that default
Source:
@@ -5939,7 +5939,7 @@ default to main key options, except for sign
parameter that default
Source:
@@ -6227,7 +6227,7 @@ default to main key options, except for sign
parameter that default
Source:
@@ -6521,7 +6521,7 @@ default to main key options, except for sign
parameter that default
Source:
-
- message.js, line 793
+ message.js, line 805
@@ -6809,7 +6809,7 @@ default to main key options, except for sign
parameter that default
Source:
@@ -7097,7 +7097,7 @@ default to main key options, except for sign
parameter that default
Source:
@@ -7385,7 +7385,7 @@ default to main key options, except for sign
parameter that default
Source:
@@ -7714,7 +7714,8 @@ default to main key options, except for sign
parameter that default
- Override the creation date of the key signatures
+ Override the creation date of the key signatures. If the key was previously used to sign messages, it is recommended
+to set the same date as the key creation time to ensure that old message signatures will still be verifiable using the reformatted key.
@@ -7846,7 +7847,7 @@ default to main key options, except for sign
parameter that default
Source:
-
- openpgp.js, line 99
+ openpgp.js, line 100
@@ -8375,7 +8376,7 @@ If a revocation certificate is passed, the reasonForRevocation parameter will be
Source:
-
- openpgp.js, line 140
+ openpgp.js, line 141
@@ -8888,7 +8889,7 @@ If a revocation certificate is passed, the reasonForRevocation parameter will be
Source:
-
- openpgp.js, line 394
+ openpgp.js, line 395
@@ -9050,7 +9051,7 @@ the encoded bytes
Source:
@@ -9512,7 +9513,7 @@ an attribute "data" containing a stream of bytes and "type"
Source:
-
- openpgp.js, line 463
+ openpgp.js, line 464
@@ -9756,7 +9757,7 @@ The new key includes a revocation certificate that must be removed before return
Source:
diff --git a/docs/module-config.html b/docs/module-config.html
index 9080e152..439ec253 100644
--- a/docs/module-config.html
+++ b/docs/module-config.html
@@ -89,7 +89,7 @@
Source:
@@ -247,7 +247,7 @@ Must be an integer value from 0 to 56.
Source:
@@ -365,7 +365,7 @@ Note: not all OpenPGP implementations are compatible with this option.
Source:
@@ -490,7 +490,126 @@ where key flags were ignored when selecting a key for encryption.
Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+(static) allowInsecureVerificationWithReformattedKeys
+
+
+
+
+
+ Allow verification of message signatures with keys whose validity at the time of signing cannot be determined.
+Instead, a verification key will also be consider valid as long as it is valid at the current time.
+This setting is potentially insecure, but it is needed to verify messages signed with keys that were later reformatted,
+and have self-signature's creation date that does not match the primary key creation date.
+
+
+
+
+
+
+
+
+ Properties:
+
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+ Description
+
+
+
+
+
+
+
+
+ allowInsecureDecryptionWithSigningKeys
+
+
+
+
+
+Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+
@@ -611,7 +730,7 @@ This is an insecure setting:
- Source:
@@ -728,7 +847,7 @@ This setting is insecure if the partially decrypted message is
- Source:
@@ -840,7 +959,7 @@ This setting is insecure if the partially decrypted message is
- Source:
@@ -952,7 +1071,7 @@ This setting is insecure if the partially decrypted message is
- Source:
@@ -1064,7 +1183,7 @@ This setting is insecure if the partially decrypted message is
- Source:
@@ -1176,7 +1295,7 @@ This setting is insecure if the partially decrypted message is
- Source:
@@ -1288,7 +1407,7 @@ This setting is insecure if the partially decrypted message is
- Source:
@@ -1405,7 +1524,7 @@ validation error when the notation is marked as critical.
- Source:
@@ -1521,7 +1640,7 @@ validation error when the notation is marked as critical.
- Source:
@@ -1633,7 +1752,7 @@ validation error when the notation is marked as critical.
- Source:
@@ -1750,7 +1869,7 @@ The default is 2047 since due to a bug, previous versions of OpenPGP.js could ge
- Source:
@@ -1867,7 +1986,7 @@ The default is 2047 since due to a bug, previous versions of OpenPGP.js could ge
- Source:
@@ -1984,7 +2103,7 @@ Only has an effect when aeadProtect is set to true.
- Source:
@@ -2096,7 +2215,7 @@ Only has an effect when aeadProtect is set to true.
- Source:
@@ -2208,7 +2327,7 @@ Only has an effect when aeadProtect is set to true.
- Source:
@@ -2320,7 +2439,7 @@ Only has an effect when aeadProtect is set to true.
- Source:
@@ -2436,7 +2555,7 @@ Only has an effect when aeadProtect is set to true.
- Source:
@@ -2552,7 +2671,7 @@ Only has an effect when aeadProtect is set to true.
- Source:
@@ -2668,7 +2787,7 @@ Only has an effect when aeadProtect is set to true.
- Source:
@@ -2784,7 +2903,7 @@ Only has an effect when aeadProtect is set to true.
- Source:
@@ -2896,7 +3015,7 @@ Only has an effect when aeadProtect is set to true.
- Source:
@@ -3013,7 +3132,7 @@ Iteration Count Byte for S2K (String to Key)
- Source:
@@ -3125,7 +3244,7 @@ Iteration Count Byte for S2K (String to Key)
- Source:
@@ -3237,7 +3356,7 @@ Iteration Count Byte for S2K (String to Key)
- Source:
@@ -3355,7 +3474,7 @@ Note: the indutny/elliptic curve library is not designed to be constant time.Source:
@@ -3473,7 +3592,7 @@ Note: not all OpenPGP implementations are compatible with this option.
- Source:
@@ -3585,7 +3704,7 @@ Note: not all OpenPGP implementations are compatible with this option.
- Source:
diff --git a/docs/module-crypto_random-RandomBuffer.html b/docs/module-crypto_random-RandomBuffer.html
index a7d33096..9073aade 100644
--- a/docs/module-crypto_random-RandomBuffer.html
+++ b/docs/module-crypto_random-RandomBuffer.html
@@ -95,7 +95,7 @@
- Source:
@@ -254,7 +254,7 @@
- Source:
@@ -393,7 +393,7 @@
- Source:
@@ -532,7 +532,7 @@
- Source:
diff --git a/docs/module-enums.html b/docs/module-enums.html
index 19e305ed..22a1f3d5 100644
--- a/docs/module-enums.html
+++ b/docs/module-enums.html
@@ -212,7 +212,7 @@
- Source:
@@ -476,7 +476,7 @@
- Source:
@@ -671,7 +671,7 @@
- Source:
@@ -1878,7 +1878,7 @@
- Source:
@@ -2059,7 +2059,7 @@ fingerprint format
- Source:
@@ -2323,7 +2323,7 @@ fingerprint format
- Source:
@@ -2589,7 +2589,7 @@ possession of more than one person.
- Source:
@@ -2784,7 +2784,7 @@ possession of more than one person.
- Source:
@@ -3301,7 +3301,7 @@ possession of more than one person.
- Source:
@@ -3635,7 +3635,7 @@ possession of more than one person.
- Source:
@@ -3853,7 +3853,7 @@ possession of more than one person.
- Source:
@@ -4048,7 +4048,7 @@ possession of more than one person.
- Source:
@@ -4565,7 +4565,7 @@ document) that cannot include a target subpacket.
- Source:
@@ -5266,7 +5266,7 @@ document) that cannot include a target subpacket.
- Source:
@@ -5576,7 +5576,7 @@ document) that cannot include a target subpacket.
- Source:
@@ -5772,7 +5772,7 @@ document) that cannot include a target subpacket.
- Source:
@@ -5854,7 +5854,7 @@ document) that cannot include a target subpacket.
- Source:
@@ -5944,7 +5944,7 @@ document) that cannot include a target subpacket.
- Source:
diff --git a/docs/module-key_Subkey-Subkey.html b/docs/module-key_Subkey-Subkey.html
index b81bacc2..9006a042 100644
--- a/docs/module-key_Subkey-Subkey.html
+++ b/docs/module-key_Subkey-Subkey.html
@@ -170,7 +170,7 @@
- Source:
@@ -280,7 +280,7 @@
- Source:
@@ -393,7 +393,7 @@
- Source:
@@ -510,7 +510,7 @@
- Source:
@@ -627,7 +627,7 @@
- Source:
@@ -740,7 +740,7 @@
- Source:
@@ -941,7 +941,7 @@ Returns null if the subkey is invalid.
- Source:
@@ -1054,7 +1054,7 @@ Returns null if the subkey is invalid.
- Source:
@@ -1171,7 +1171,7 @@ Returns null if the subkey is invalid.
- Source:
@@ -1288,7 +1288,7 @@ Returns null if the subkey is invalid.
- Source:
@@ -1405,7 +1405,7 @@ Returns null if the subkey is invalid.
- Source:
@@ -1522,7 +1522,7 @@ Returns null if the subkey is invalid.
- Source:
@@ -1639,7 +1639,7 @@ Returns null if the subkey is invalid.
- Source:
@@ -1756,7 +1756,7 @@ Returns null if the subkey is invalid.
- Source:
@@ -1872,7 +1872,7 @@ Returns null if the subkey is invalid.
- Source:
@@ -2148,7 +2148,7 @@ Returns null if the subkey is invalid.
- Source:
@@ -2486,7 +2486,7 @@ Returns null if the subkey is invalid.
- Source:
@@ -2598,7 +2598,7 @@ Returns null if the subkey is invalid.
- Source:
@@ -2831,7 +2831,7 @@ Returns null if the subkey is invalid.
- Source:
@@ -3043,7 +3043,7 @@ and valid binding signature.
- Source:
diff --git a/docs/module-key_User-User.html b/docs/module-key_User-User.html
index 0ace7596..ea5affd9 100644
--- a/docs/module-key_User-User.html
+++ b/docs/module-key_User-User.html
@@ -170,7 +170,7 @@
- Source:
-
- key/user.js, line 17
+ key/user.js, line 17
@@ -403,7 +403,7 @@
- Source:
-
- key/user.js, line 59
+ key/user.js, line 59
@@ -515,7 +515,7 @@
- Source:
-
- key/user.js, line 43
+ key/user.js, line 43
@@ -788,7 +788,7 @@
- Source:
-
- key/user.js, line 97
+ key/user.js, line 97
@@ -900,7 +900,7 @@
- Source:
-
- key/user.js, line 30
+ key/user.js, line 30
@@ -1103,7 +1103,7 @@
- Source:
@@ -1284,7 +1284,7 @@ and validity of self signature.
- Source:
@@ -1548,7 +1548,7 @@ and validity of self signature.
- Source:
@@ -1815,7 +1815,7 @@ Signature validity is null if the verification keys do not correspond to the cer
- Source:
diff --git a/docs/module-type_kdf_params-KDFParams.html b/docs/module-type_kdf_params-KDFParams.html
index 9a6b42aa..3c6391df 100644
--- a/docs/module-type_kdf_params-KDFParams.html
+++ b/docs/module-type_kdf_params-KDFParams.html
@@ -163,7 +163,7 @@
- Source:
@@ -322,7 +322,7 @@
- Source:
@@ -434,7 +434,7 @@
- Source:
diff --git a/docs/module-type_keyid-KeyID.html b/docs/module-type_keyid-KeyID.html
index 459e5e50..fcb47aa1 100644
--- a/docs/module-type_keyid-KeyID.html
+++ b/docs/module-type_keyid-KeyID.html
@@ -100,7 +100,7 @@ formed.
- Source:
@@ -294,7 +294,7 @@ formed.
- Source:
@@ -384,7 +384,7 @@ formed.
- Source:
@@ -496,7 +496,7 @@ formed.
- Source:
@@ -657,7 +657,7 @@ formed.
- Source:
@@ -747,7 +747,7 @@ formed.
- Source:
@@ -859,7 +859,7 @@ formed.
- Source:
diff --git a/docs/module-type_s2k-S2K.html b/docs/module-type_s2k-S2K.html
index b17bad87..e5729cd8 100644
--- a/docs/module-type_s2k-S2K.html
+++ b/docs/module-type_s2k-S2K.html
@@ -152,7 +152,7 @@
- Source:
-
- type/s2k.js, line 40
+ type/s2k.js, line 40
@@ -254,7 +254,7 @@
- Source:
-
- type/s2k.js, line 42
+ type/s2k.js, line 42
@@ -324,7 +324,7 @@
- Source:
-
- type/s2k.js, line 46
+ type/s2k.js, line 46
@@ -398,7 +398,7 @@
- Source:
-
- type/s2k.js, line 50
+ type/s2k.js, line 50
@@ -468,7 +468,7 @@
- Source:
-
- type/s2k.js, line 44
+ type/s2k.js, line 44
@@ -600,7 +600,7 @@ hashAlgorithm
- Source:
@@ -762,7 +762,7 @@ hashAlgorithm hash length
- Source:
-
- type/s2k.js, line 65
+ type/s2k.js, line 65
@@ -874,7 +874,7 @@ hashAlgorithm hash length
- Source:
diff --git a/package-lock.json b/package-lock.json
index 6b2b603b..b23b2a5a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "openpgp",
- "version": "5.0.0",
+ "version": "5.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index 059e6830..217aef74 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "openpgp",
"description": "OpenPGP.js is a Javascript implementation of the OpenPGP protocol. This is defined in RFC 4880.",
- "version": "5.0.0",
+ "version": "5.0.1",
"license": "LGPL-3.0+",
"homepage": "https://openpgpjs.org/",
"engines": {