diff --git a/docs/AEADEncryptedDataPacket.html b/docs/AEADEncryptedDataPacket.html index 1e1678fe..89e6eb80 100644 --- a/docs/AEADEncryptedDataPacket.html +++ b/docs/AEADEncryptedDataPacket.html @@ -98,7 +98,7 @@ AEAD Protected Data Packet

Source:
@@ -200,7 +200,7 @@ AEAD Protected Data Packet

Source:
@@ -270,7 +270,7 @@ AEAD Protected Data Packet

Source:
@@ -475,7 +475,7 @@ AEAD Protected Data Packet

Source:
@@ -717,7 +717,7 @@ AEAD Protected Data Packet

Source:
@@ -888,7 +888,7 @@ AEAD Protected Data Packet

Source:
@@ -1007,7 +1007,7 @@ AEAD Protected Data Packet

Source:
diff --git a/docs/Argon2S2K.html b/docs/Argon2S2K.html index 71db5758..9816949a 100644 --- a/docs/Argon2S2K.html +++ b/docs/Argon2S2K.html @@ -152,7 +152,7 @@
Source:
@@ -258,7 +258,7 @@
Source:
@@ -332,7 +332,7 @@
Source:
@@ -406,7 +406,7 @@
Source:
@@ -480,7 +480,7 @@
Source:
@@ -612,7 +612,7 @@ hashAlgorithm

Source:
@@ -791,7 +791,7 @@ hashAlgorithm

Source:
@@ -903,7 +903,7 @@ hashAlgorithm

Source:
diff --git a/docs/CleartextMessage.html b/docs/CleartextMessage.html index 6f620e61..d514a841 100644 --- a/docs/CleartextMessage.html +++ b/docs/CleartextMessage.html @@ -168,7 +168,7 @@ See https://tools.ietf.o
Source:
@@ -346,7 +346,7 @@ See https://tools.ietf.o
Source:
@@ -461,7 +461,7 @@ See https://tools.ietf.o
Source:
@@ -573,7 +573,7 @@ See https://tools.ietf.o
Source:
@@ -631,7 +631,7 @@ See https://tools.ietf.o -

(async) sign(privateKeys, signatureopt, signingKeyIDsopt, dateopt, userIDsopt, notationsopt, configopt) → {Promise.<CleartextMessage>}

+

(async) sign(signingKeys, recipientKeys, signatureopt, signingKeyIDsopt, dateopt, signingKeyIDsopt, recipientUserIDsopt, notationsopt, configopt) → {Promise.<CleartextMessage>}

@@ -679,7 +679,7 @@ See https://tools.ietf.o - privateKeys + signingKeys @@ -712,6 +712,41 @@ See https://tools.ietf.o + + + recipientKeys + + + + + +Array.<Key> + + + + + + + + + + + + + + + + + + + + + +

recipient keys to get the signing preferences from

+ + + + signature @@ -827,7 +862,7 @@ See https://tools.ietf.o - userIDs + signingKeyIDs @@ -862,6 +897,43 @@ See https://tools.ietf.o + + + recipientUserIDs + + + + + +Array + + + + + + + + + <optional>
+ + + + + + + + + + + + + + +

User IDs associated with recipientKeys to get the signing preferences from

+ + + + notations @@ -974,7 +1046,7 @@ See
https://tools.ietf.o
Source:
@@ -1211,7 +1283,7 @@ See https://tools.ietf.o
Source:
diff --git a/docs/CompressedDataPacket.html b/docs/CompressedDataPacket.html index 56aee417..715ec0cc 100644 --- a/docs/CompressedDataPacket.html +++ b/docs/CompressedDataPacket.html @@ -160,7 +160,7 @@ a Signature or One-Pass Signature packet, and contains a literal data packet.

Source:
@@ -266,7 +266,7 @@ a Signature or One-Pass Signature packet, and contains a literal data packet.

Source:
@@ -343,7 +343,7 @@ a Signature or One-Pass Signature packet, and contains a literal data packet.

Source:
@@ -417,7 +417,7 @@ a Signature or One-Pass Signature packet, and contains a literal data packet.

Source:
@@ -499,7 +499,7 @@ a Signature or One-Pass Signature packet, and contains a literal data packet.

Source:
@@ -651,7 +651,7 @@ read by read_packet

Source:
@@ -836,7 +836,7 @@ read by read_packet

Source:
@@ -926,7 +926,7 @@ read by read_packet

Source:
diff --git a/docs/Key.html b/docs/Key.html index 4f4585c1..592c360b 100644 --- a/docs/Key.html +++ b/docs/Key.html @@ -96,7 +96,7 @@ Can contain additional subkeys, signatures, user ids, user attributes.

Source:
@@ -333,7 +333,7 @@ if it is a valid revocation signature.

Source:
@@ -514,7 +514,7 @@ if it is a valid revocation signature.

Source:
@@ -626,7 +626,7 @@ if it is a valid revocation signature.

Source:
@@ -738,7 +738,7 @@ if it is a valid revocation signature.

Source:
@@ -1006,7 +1006,7 @@ if it is a valid revocation signature.

Source:
@@ -1225,7 +1225,7 @@ Returns Infinity if the key doesn't expire, or null if
Source:
@@ -1333,7 +1333,7 @@ Returns Infinity if the key doesn't expire, or null if
Source:
@@ -1445,7 +1445,7 @@ Returns Infinity if the key doesn't expire, or null if
Source:
@@ -1557,7 +1557,7 @@ Returns Infinity if the key doesn't expire, or null if
Source:
@@ -1735,7 +1735,7 @@ If no keyID is given, returns all keys, starting with the primary key.

Source:
@@ -1977,7 +1977,7 @@ algorithm preferences, and so on.

Source:
@@ -2220,7 +2220,7 @@ algorithm preferences, and so on.

Source:
@@ -2425,7 +2425,7 @@ algorithm preferences, and so on.

Source:
@@ -2717,7 +2717,7 @@ algorithm preferences, and so on.

Source:
@@ -2911,7 +2911,7 @@ If no keyID is given, returns all subkeys.

Source:
@@ -3023,7 +3023,7 @@ If no keyID is given, returns all subkeys.

Source:
@@ -3135,7 +3135,7 @@ If no keyID is given, returns all subkeys.

Source:
@@ -3412,7 +3412,7 @@ If no keyID is given, returns all subkeys.

Source:
@@ -3596,7 +3596,7 @@ If no keyID is given, returns all subkeys.

Source:
@@ -3811,7 +3811,7 @@ If no keyID is given, returns all subkeys.

Source:
@@ -4081,7 +4081,7 @@ If no keyID is given, returns all subkeys.

Source:
@@ -4193,7 +4193,7 @@ If no keyID is given, returns all subkeys.

Source:
@@ -4434,7 +4434,7 @@ a private key is returned.

Source:
@@ -4677,7 +4677,7 @@ a private key is returned.

Source:
@@ -4918,7 +4918,7 @@ and valid self signature. Throws if the primary key is invalid.

Source:
@@ -5201,7 +5201,7 @@ and valid self signature. Throws if the primary key is invalid.

Source:
@@ -5314,7 +5314,7 @@ Signature validity is null if the verification keys do not correspond to the cer
Source:
diff --git a/docs/LiteralDataPacket.html b/docs/LiteralDataPacket.html index 70c71a40..14870d20 100644 --- a/docs/LiteralDataPacket.html +++ b/docs/LiteralDataPacket.html @@ -147,7 +147,7 @@ further interpreted.

Source:
@@ -326,7 +326,7 @@ further interpreted.

Source:
@@ -441,7 +441,7 @@ further interpreted.

Source:
@@ -623,7 +623,7 @@ with normalized end of line to \n

Source:
@@ -790,7 +790,7 @@ with normalized end of line to \n

Source:
@@ -977,7 +977,7 @@ with normalized end of line to \n

Source:
@@ -1116,7 +1116,7 @@ with normalized end of line to \n

Source:
@@ -1302,7 +1302,7 @@ will be normalized to \r\n and by default text is converted to UTF8

Source:
@@ -1392,7 +1392,7 @@ will be normalized to \r\n and by default text is converted to UTF8

Source:
@@ -1507,7 +1507,7 @@ will be normalized to \r\n and by default text is converted to UTF8

Source:
diff --git a/docs/MarkerPacket.html b/docs/MarkerPacket.html index 28d65ca3..cbe36d19 100644 --- a/docs/MarkerPacket.html +++ b/docs/MarkerPacket.html @@ -106,7 +106,7 @@ software is necessary to process the message.

Source:
@@ -265,7 +265,7 @@ software is necessary to process the message.

Source:
diff --git a/docs/Message.html b/docs/Message.html index f93d7717..b0433107 100644 --- a/docs/Message.html +++ b/docs/Message.html @@ -146,7 +146,7 @@ See https://tools.iet
Source:
@@ -661,7 +661,7 @@ See https://tools.iet
Source:
@@ -933,7 +933,7 @@ See https://tools.iet
Source:
@@ -1140,7 +1140,7 @@ See https://tools.iet
Source:
@@ -1291,7 +1291,7 @@ See https://tools.iet
Source:
@@ -1495,7 +1495,7 @@ See https://tools.iet
Source:
@@ -1800,7 +1800,7 @@ See https://tools.iet
Source:
@@ -2105,7 +2105,7 @@ See https://tools.iet
Source:
@@ -2545,7 +2545,7 @@ See https://tools.iet
Source:
@@ -2657,7 +2657,7 @@ See https://tools.iet
Source:
@@ -2769,7 +2769,7 @@ See https://tools.iet
Source:
@@ -2884,7 +2884,7 @@ See https://tools.iet
Source:
@@ -2999,7 +2999,7 @@ See https://tools.iet
Source:
@@ -3111,7 +3111,7 @@ See https://tools.iet
Source:
@@ -3172,7 +3172,7 @@ See https://tools.iet -

(async) sign(signingKeys, signatureopt, signingKeyIDsopt, dateopt, userIDsopt, notationsopt, configopt) → {Promise.<Message>}

+

(async) sign(signingKeys, recipientKeys, signatureopt, signingKeyIDsopt, dateopt, signingUserIDsopt, recipientUserIDsopt, notationsopt, configopt) → {Promise.<Message>}

@@ -3253,6 +3253,41 @@ See https://tools.iet + + + recipientKeys + + + + + +Array.<Key> + + + + + + + + + + + + + + + + + + + + + +

recipient keys to get the signing preferences from

+ + + + signature @@ -3368,13 +3403,13 @@ See https://tools.iet - userIDs + signingUserIDs -Array +Array.<UserID> @@ -3403,6 +3438,43 @@ See https://tools.iet + + + recipientUserIDs + + + + + +Array.<UserID> + + + + + + + + + <optional>
+ + + + + + + + + + + + + + +

User IDs associated with recipientKeys to get the signing preferences from

+ + + + notations @@ -3515,7 +3587,7 @@ See
https://tools.iet
Source:
@@ -3573,7 +3645,7 @@ See https://tools.iet -

(async) signDetached(signingKeys, signatureopt, signingKeyIDsopt, dateopt, userIDsopt, notationsopt, configopt) → {Promise.<Signature>}

+

(async) signDetached(signingKeys, recipientKeys, signatureopt, signingKeyIDsopt, dateopt, signingUserIDsopt, recipientUserIDsopt, notationsopt, configopt) → {Promise.<Signature>}

@@ -3654,6 +3726,41 @@ See https://tools.iet + + + recipientKeys + + + + + +Array.<Key> + + + + + + + + + + + + + + + + + + + + + +

recipient keys to get the signing preferences from

+ + + + signature @@ -3769,13 +3876,13 @@ See https://tools.iet - userIDs + signingUserIDs -Array +Array.<UserID> @@ -3804,6 +3911,43 @@ See https://tools.iet + + + recipientUserIDs + + + + + +Array.<UserID> + + + + + + + + + <optional>
+ + + + + + + + + + + + + + +

User IDs associated with recipientKeys to get the signing preferences from

+ + + + notations @@ -3916,7 +4060,7 @@ See
https://tools.iet
Source:
@@ -4028,7 +4172,7 @@ See https://tools.iet
Source:
@@ -4265,7 +4409,7 @@ See https://tools.iet
Source:
@@ -4531,7 +4675,7 @@ See https://tools.iet
Source:
@@ -4643,7 +4787,7 @@ See https://tools.iet
Source:
diff --git a/docs/OnePassSignaturePacket.html b/docs/OnePassSignaturePacket.html index 93533815..c311d356 100644 --- a/docs/OnePassSignaturePacket.html +++ b/docs/OnePassSignaturePacket.html @@ -101,7 +101,7 @@ can compute the entire signed message in one pass.

Source:
@@ -199,7 +199,7 @@ that describes another signature to be applied to the same message data.

Source:
@@ -273,7 +273,7 @@ that describes another signature to be applied to the same message data.

Source:
@@ -344,7 +344,7 @@ that describes another signature to be applied to the same message data.

Source:
@@ -408,7 +408,7 @@ that describes another signature to be applied to the same message data.

Source:
@@ -482,7 +482,7 @@ that describes another signature to be applied to the same message data.

Source:
@@ -553,7 +553,7 @@ that describes another signature to be applied to the same message data.

Source:
@@ -629,7 +629,7 @@ Signature types are described in
Source:
@@ -693,7 +693,7 @@ Signature types are described in
Source:
@@ -824,7 +824,7 @@ Signature types are described in
Source:
@@ -936,7 +936,7 @@ Signature types are described in
Source:
diff --git a/docs/PacketList.html b/docs/PacketList.html index f4ad9a85..c486d91d 100644 --- a/docs/PacketList.html +++ b/docs/PacketList.html @@ -97,7 +97,7 @@ are stored as numerical indices.

Source:
@@ -345,7 +345,7 @@ Equivalent to calling read on an empty PacketList instance.

Source:
@@ -530,7 +530,7 @@ Equivalent to calling read on an empty PacketList instance.

Source:
@@ -687,7 +687,7 @@ Equivalent to calling read on an empty PacketList instance.

Source:
@@ -859,7 +859,7 @@ Equivalent to calling read on an empty PacketList instance.

Source:
@@ -1097,7 +1097,7 @@ Equivalent to calling read on an empty PacketList instance.

Source:
@@ -1200,7 +1200,7 @@ class instance.

Source:
diff --git a/docs/PaddingPacket.html b/docs/PaddingPacket.html index aedccc51..5fdbb0ba 100644 --- a/docs/PaddingPacket.html +++ b/docs/PaddingPacket.html @@ -97,7 +97,7 @@ Padding Packet

Source:
@@ -256,7 +256,7 @@ Padding Packet

Source:
@@ -427,7 +427,7 @@ Padding Packet

Source:
@@ -517,7 +517,7 @@ Padding Packet

Source:
diff --git a/docs/PrivateKey.html b/docs/PrivateKey.html index 16ea6745..5e0b53ad 100644 --- a/docs/PrivateKey.html +++ b/docs/PrivateKey.html @@ -144,7 +144,7 @@
Source:
@@ -453,7 +453,7 @@ Note: Curve448 and Curve25519 are not widely supported yet.

Source:
@@ -622,7 +622,7 @@ Note: Curve448 and Curve25519 are not widely supported yet.

Source:
@@ -734,7 +734,7 @@ Note: Curve448 and Curve25519 are not widely supported yet.

Source:
@@ -979,7 +979,7 @@ This is useful to retrieve keys for session key decryption

Source:
@@ -1121,7 +1121,7 @@ A dummy key is considered encrypted.

Source:
@@ -1211,7 +1211,7 @@ A dummy key is considered encrypted.

Source:
@@ -1514,7 +1514,7 @@ A dummy key is considered encrypted.

Source:
@@ -1626,7 +1626,7 @@ A dummy key is considered encrypted.

Source:
@@ -1803,7 +1803,7 @@ If only gnu-dummy keys are found, we cannot properly validate so we throw an err
Source:
diff --git a/docs/PublicKey.html b/docs/PublicKey.html index f6717ddd..88674e47 100644 --- a/docs/PublicKey.html +++ b/docs/PublicKey.html @@ -144,7 +144,7 @@
Source:
@@ -315,7 +315,7 @@
Source:
@@ -427,7 +427,7 @@
Source:
@@ -535,7 +535,7 @@
Source:
diff --git a/docs/PublicKeyEncryptedSessionKeyPacket.html b/docs/PublicKeyEncryptedSessionKeyPacket.html index 9d3b1827..825f88c5 100644 --- a/docs/PublicKeyEncryptedSessionKeyPacket.html +++ b/docs/PublicKeyEncryptedSessionKeyPacket.html @@ -107,7 +107,7 @@ decrypt the message.

Source:
@@ -209,7 +209,7 @@ decrypt the message.

Source:
@@ -283,7 +283,7 @@ decrypt the message.

Source:
@@ -458,7 +458,7 @@ This is needed for constant-time processing. Expected object of the form: { sess
Source:
@@ -626,7 +626,7 @@ This is needed for constant-time processing. Expected object of the form: { sess
Source:
@@ -794,7 +794,7 @@ This is needed for constant-time processing. Expected object of the form: { sess
Source:
@@ -884,7 +884,7 @@ This is needed for constant-time processing. Expected object of the form: { sess
Source:
diff --git a/docs/PublicKeyPacket.html b/docs/PublicKeyPacket.html index d6cc0850..1cd07687 100644 --- a/docs/PublicKeyPacket.html +++ b/docs/PublicKeyPacket.html @@ -195,7 +195,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -301,7 +301,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -375,7 +375,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -449,7 +449,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -523,7 +523,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -597,7 +597,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -671,7 +671,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -735,7 +735,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -816,7 +816,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -880,7 +880,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -1018,7 +1018,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -1130,7 +1130,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -1220,7 +1220,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -1310,7 +1310,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -1422,7 +1422,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -1530,7 +1530,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -1642,7 +1642,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -1754,7 +1754,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -1866,7 +1866,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -1978,7 +1978,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -2138,7 +2138,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -2250,7 +2250,7 @@ key (sometimes called an OpenPGP certificate).

Source:
@@ -2411,7 +2411,7 @@ key (sometimes called an OpenPGP certificate).

Source:
diff --git a/docs/PublicSubkeyPacket.html b/docs/PublicSubkeyPacket.html index 6bd9cee6..0d363679 100644 --- a/docs/PublicSubkeyPacket.html +++ b/docs/PublicSubkeyPacket.html @@ -193,7 +193,7 @@ services.

Source:
@@ -315,7 +315,7 @@ services.

Source:
@@ -394,7 +394,7 @@ services.

Source:
@@ -473,7 +473,7 @@ services.

Source:
@@ -552,7 +552,7 @@ services.

Source:
@@ -631,7 +631,7 @@ services.

Source:
@@ -710,7 +710,7 @@ services.

Source:
@@ -779,7 +779,7 @@ services.

Source:
@@ -865,7 +865,7 @@ services.

Source:
@@ -934,7 +934,7 @@ services.

Source:
@@ -1072,7 +1072,7 @@ services.

Source:
@@ -1189,7 +1189,7 @@ services.

Source:
@@ -1284,7 +1284,7 @@ services.

Source:
@@ -1379,7 +1379,7 @@ services.

Source:
@@ -1496,7 +1496,7 @@ services.

Source:
@@ -1609,7 +1609,7 @@ services.

Source:
@@ -1726,7 +1726,7 @@ services.

Source:
@@ -1843,7 +1843,7 @@ services.

Source:
@@ -1960,7 +1960,7 @@ services.

Source:
@@ -2077,7 +2077,7 @@ services.

Source:
@@ -2242,7 +2242,7 @@ services.

Source:
@@ -2359,7 +2359,7 @@ services.

Source:
@@ -2525,7 +2525,7 @@ services.

Source:
diff --git a/docs/SecretKeyPacket.html b/docs/SecretKeyPacket.html index 065f5ef8..cbcf7c3c 100644 --- a/docs/SecretKeyPacket.html +++ b/docs/SecretKeyPacket.html @@ -191,7 +191,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -308,7 +308,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -387,7 +387,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -466,7 +466,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -545,7 +545,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -624,7 +624,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -688,7 +688,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -767,7 +767,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -831,7 +831,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -905,7 +905,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -984,7 +984,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -1053,7 +1053,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -1134,7 +1134,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -1208,7 +1208,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -1282,7 +1282,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -1361,7 +1361,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -1430,7 +1430,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -1519,7 +1519,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -1614,7 +1614,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -1709,7 +1709,7 @@ includes the secret-key material after all the public-key fields.

Source:
@@ -1851,7 +1851,7 @@ otherwise calls to this function will throw an error.

Source:
@@ -2065,7 +2065,7 @@ This can be used to remove passphrase protection after calling decrypt().

Source:
@@ -2189,7 +2189,7 @@ This can be used to remove passphrase protection after calling decrypt().

Source:
@@ -2306,7 +2306,7 @@ This can be used to remove passphrase protection after calling decrypt().

Source:
@@ -2419,7 +2419,7 @@ This can be used to remove passphrase protection after calling decrypt().

Source:
@@ -2536,7 +2536,7 @@ This can be used to remove passphrase protection after calling decrypt().

Source:
@@ -2653,7 +2653,7 @@ This can be used to remove passphrase protection after calling decrypt().

Source:
@@ -2770,7 +2770,7 @@ This can be used to remove passphrase protection after calling decrypt().

Source:
@@ -2888,7 +2888,7 @@ Returns false for gnu-dummy keys and null for public keys.

Source:
@@ -2999,7 +2999,7 @@ Returns false for gnu-dummy keys and null for public keys.

Source:
@@ -3114,7 +3114,7 @@ Such keys are:

Source:
@@ -3266,7 +3266,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
@@ -3411,7 +3411,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
@@ -3501,7 +3501,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
@@ -3625,7 +3625,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
@@ -3791,7 +3791,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
diff --git a/docs/SecretSubkeyPacket.html b/docs/SecretSubkeyPacket.html index 567923fa..bd354812 100644 --- a/docs/SecretSubkeyPacket.html +++ b/docs/SecretSubkeyPacket.html @@ -190,7 +190,7 @@ Key packet and has exactly the same format.

Source:
@@ -312,7 +312,7 @@ Key packet and has exactly the same format.

Source:
@@ -391,7 +391,7 @@ Key packet and has exactly the same format.

Source:
@@ -470,7 +470,7 @@ Key packet and has exactly the same format.

Source:
@@ -549,7 +549,7 @@ Key packet and has exactly the same format.

Source:
@@ -628,7 +628,7 @@ Key packet and has exactly the same format.

Source:
@@ -697,7 +697,7 @@ Key packet and has exactly the same format.

Source:
@@ -776,7 +776,7 @@ Key packet and has exactly the same format.

Source:
@@ -845,7 +845,7 @@ Key packet and has exactly the same format.

Source:
@@ -924,7 +924,7 @@ Key packet and has exactly the same format.

Source:
@@ -1003,7 +1003,7 @@ Key packet and has exactly the same format.

Source:
@@ -1072,7 +1072,7 @@ Key packet and has exactly the same format.

Source:
@@ -1158,7 +1158,7 @@ Key packet and has exactly the same format.

Source:
@@ -1237,7 +1237,7 @@ Key packet and has exactly the same format.

Source:
@@ -1316,7 +1316,7 @@ Key packet and has exactly the same format.

Source:
@@ -1395,7 +1395,7 @@ Key packet and has exactly the same format.

Source:
@@ -1464,7 +1464,7 @@ Key packet and has exactly the same format.

Source:
@@ -1558,7 +1558,7 @@ Key packet and has exactly the same format.

Source:
@@ -1653,7 +1653,7 @@ Key packet and has exactly the same format.

Source:
@@ -1748,7 +1748,7 @@ Key packet and has exactly the same format.

Source:
@@ -1895,7 +1895,7 @@ otherwise calls to this function will throw an error.

Source:
@@ -2114,7 +2114,7 @@ This can be used to remove passphrase protection after calling decrypt().

Source:
@@ -2238,7 +2238,7 @@ This can be used to remove passphrase protection after calling decrypt().

Source:
@@ -2355,7 +2355,7 @@ This can be used to remove passphrase protection after calling decrypt().

Source:
@@ -2468,7 +2468,7 @@ This can be used to remove passphrase protection after calling decrypt().

Source:
@@ -2585,7 +2585,7 @@ This can be used to remove passphrase protection after calling decrypt().

Source:
@@ -2702,7 +2702,7 @@ This can be used to remove passphrase protection after calling decrypt().

Source:
@@ -2819,7 +2819,7 @@ This can be used to remove passphrase protection after calling decrypt().

Source:
@@ -2937,7 +2937,7 @@ Returns false for gnu-dummy keys and null for public keys.

Source:
@@ -3053,7 +3053,7 @@ Returns false for gnu-dummy keys and null for public keys.

Source:
@@ -3173,7 +3173,7 @@ Such keys are:

Source:
@@ -3330,7 +3330,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
@@ -3475,7 +3475,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
@@ -3570,7 +3570,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
@@ -3694,7 +3694,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
@@ -3860,7 +3860,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
diff --git a/docs/Signature.html b/docs/Signature.html index 60ea8fd1..1215c0a2 100644 --- a/docs/Signature.html +++ b/docs/Signature.html @@ -144,7 +144,7 @@
Source:
@@ -322,7 +322,7 @@
Source:
@@ -434,7 +434,7 @@
Source:
@@ -546,7 +546,7 @@
Source:
diff --git a/docs/SignaturePacket.html b/docs/SignaturePacket.html index a44a3a8b..75111021 100644 --- a/docs/SignaturePacket.html +++ b/docs/SignaturePacket.html @@ -99,7 +99,7 @@ block of text, and a signature that is a certification of a User ID.

Source:
@@ -201,7 +201,7 @@ block of text, and a signature that is a certification of a User ID.

Source:
@@ -271,7 +271,7 @@ block of text, and a signature that is a certification of a User ID.

Source:
@@ -341,7 +341,7 @@ block of text, and a signature that is a certification of a User ID.

Source:
@@ -423,7 +423,7 @@ block of text, and a signature that is a certification of a User ID.

Source:
@@ -599,7 +599,7 @@ block of text, and a signature that is a certification of a User ID.

Source:
@@ -760,7 +760,7 @@ block of text, and a signature that is a certification of a User ID.

Source:
@@ -1048,7 +1048,7 @@ block of text, and a signature that is a certification of a User ID.

Source:
@@ -1427,7 +1427,7 @@ block of text, and a signature that is a certification of a User ID.

Source:
@@ -1546,7 +1546,7 @@ block of text, and a signature that is a certification of a User ID.

Source:
@@ -1654,7 +1654,7 @@ block of text, and a signature that is a certification of a User ID.

Source:
@@ -1765,7 +1765,7 @@ block of text, and a signature that is a certification of a User ID.

Source:
diff --git a/docs/SymEncryptedIntegrityProtectedDataPacket.html b/docs/SymEncryptedIntegrityProtectedDataPacket.html index 9e1863d8..ef67ec95 100644 --- a/docs/SymEncryptedIntegrityProtectedDataPacket.html +++ b/docs/SymEncryptedIntegrityProtectedDataPacket.html @@ -101,7 +101,7 @@ packet.

Source:
@@ -203,7 +203,7 @@ packet.

Source:
@@ -273,7 +273,7 @@ packet.

Source:
@@ -478,7 +478,7 @@ packet.

Source:
@@ -738,7 +738,7 @@ packet.

Source:
diff --git a/docs/SymEncryptedSessionKeyPacket.html b/docs/SymEncryptedSessionKeyPacket.html index 91f8b57a..3ab8e0e1 100644 --- a/docs/SymEncryptedSessionKeyPacket.html +++ b/docs/SymEncryptedSessionKeyPacket.html @@ -165,7 +165,7 @@ the Symmetric-Key Encrypted Session Key packet.

Source:
@@ -271,7 +271,7 @@ the Symmetric-Key Encrypted Session Key packet.

Source:
@@ -345,7 +345,7 @@ the Symmetric-Key Encrypted Session Key packet.

Source:
@@ -419,7 +419,7 @@ the Symmetric-Key Encrypted Session Key packet.

Source:
@@ -550,7 +550,7 @@ the Symmetric-Key Encrypted Session Key packet.

Source:
@@ -761,7 +761,7 @@ the Symmetric-Key Encrypted Session Key packet.

Source:
@@ -929,7 +929,7 @@ the Symmetric-Key Encrypted Session Key packet.

Source:
@@ -1019,7 +1019,7 @@ the Symmetric-Key Encrypted Session Key packet.

Source:
diff --git a/docs/SymmetricallyEncryptedDataPacket.html b/docs/SymmetricallyEncryptedDataPacket.html index 74cbb54e..3524b8a3 100644 --- a/docs/SymmetricallyEncryptedDataPacket.html +++ b/docs/SymmetricallyEncryptedDataPacket.html @@ -101,7 +101,7 @@ that form whole OpenPGP messages).

Source:
@@ -197,7 +197,7 @@ that form whole OpenPGP messages).

Source:
@@ -271,7 +271,7 @@ that form whole OpenPGP messages).

Source:
@@ -477,7 +477,7 @@ See RFC 4880 9.2 f
Source:
@@ -720,7 +720,7 @@ See RFC 4880 9.2 f
Source:
diff --git a/docs/TrustPacket.html b/docs/TrustPacket.html index ba1e690f..248bd09a 100644 --- a/docs/TrustPacket.html +++ b/docs/TrustPacket.html @@ -105,7 +105,7 @@ other than local keyring files.

Source:
@@ -216,7 +216,7 @@ Currently not implemented as we ignore trust packets

Source:
diff --git a/docs/UserAttributePacket.html b/docs/UserAttributePacket.html index 9781021c..9bab19e4 100644 --- a/docs/UserAttributePacket.html +++ b/docs/UserAttributePacket.html @@ -107,7 +107,7 @@ an implementation may use any method desired.

Source:
@@ -266,7 +266,7 @@ an implementation may use any method desired.

Source:
@@ -427,7 +427,7 @@ an implementation may use any method desired.

Source:
@@ -517,7 +517,7 @@ an implementation may use any method desired.

Source:
diff --git a/docs/UserIDPacket.html b/docs/UserIDPacket.html index ea8111cd..604333df 100644 --- a/docs/UserIDPacket.html +++ b/docs/UserIDPacket.html @@ -100,7 +100,7 @@ specifies the length of the User ID.

Source:
@@ -207,7 +207,7 @@ John Doe john@example.com

Source:
@@ -338,7 +338,7 @@ John Doe john@example.com

Source:
@@ -495,7 +495,7 @@ John Doe john@example.com

Source:
@@ -585,7 +585,7 @@ John Doe john@example.com

Source:
diff --git a/docs/global.html b/docs/global.html index f05ae33e..5e9e6254 100644 --- a/docs/global.html +++ b/docs/global.html @@ -419,7 +419,7 @@
Source:
@@ -632,7 +632,7 @@
Source:
@@ -771,7 +771,7 @@
Source:
@@ -1180,7 +1180,7 @@
Source:
@@ -1761,7 +1761,7 @@ One of decryptionKeys, sessionkeys or passwords<
Source:
@@ -2064,7 +2064,7 @@ This method does not change the original key.

Source:
@@ -2423,7 +2423,7 @@ One of decryptionKeys or passwords must be specified.<
Source:
@@ -3227,7 +3227,7 @@ must be specified. If signing keys are specified, those will be used to sign the
Source:
@@ -3515,7 +3515,7 @@ This method does not change the original key.

Source:
@@ -4135,7 +4135,7 @@ At least one of encryptionKeys or passwords must be sp
Source:
@@ -4351,7 +4351,7 @@ At least one of encryptionKeys or passwords must be sp
Source:
@@ -4952,7 +4952,7 @@ default to main key options, except for sign parameter that default
Source:
@@ -5302,7 +5302,7 @@ default to main key options, except for sign parameter that default
Source:
@@ -5463,7 +5463,7 @@ default to main key options, except for sign parameter that default
Source:
@@ -5602,7 +5602,7 @@ default to main key options, except for sign parameter that default
Source:
@@ -5741,7 +5741,7 @@ default to main key options, except for sign parameter that default
Source:
@@ -5891,7 +5891,7 @@ NB: the return instatiator functions will throw when called if the provided Source:
@@ -6071,7 +6071,7 @@ NB: the return instatiator functions will throw when called if the provided Source:
@@ -6215,7 +6215,7 @@ NB: the return instatiator functions will throw when called if the provided Source:
@@ -6405,7 +6405,7 @@ NB: the return instatiator functions will throw when called if the provided Source:
@@ -6797,7 +6797,7 @@ NB: the return instatiator functions will throw when called if the provided Source:
@@ -7038,7 +7038,7 @@ NB: the return instatiator functions will throw when called if the provided Source:
@@ -7326,7 +7326,7 @@ NB: the return instatiator functions will throw when called if the provided Source:
@@ -7614,7 +7614,7 @@ NB: the return instatiator functions will throw when called if the provided Source:
@@ -7908,7 +7908,7 @@ NB: the return instatiator functions will throw when called if the provided Source:
@@ -8196,7 +8196,7 @@ NB: the return instatiator functions will throw when called if the provided Source:
@@ -8484,7 +8484,7 @@ NB: the return instatiator functions will throw when called if the provided Source:
@@ -8772,7 +8772,7 @@ NB: the return instatiator functions will throw when called if the provided Source:
@@ -9234,7 +9234,7 @@ to set the same date as the key creation time to ensure that old message signatu
Source:
@@ -9763,7 +9763,7 @@ If a revocation certificate is passed, the reasonForRevocation parameter will be
Source:
@@ -9978,7 +9978,7 @@ If a revocation certificate is passed, the reasonForRevocation parameter will be
Source:
@@ -10196,6 +10196,44 @@ If a revocation certificate is passed, the reasonForRevocation parameter will be + + + recipientKeys + + + + + +Key +| + +Array.<Key> + + + + + + + + + + + + + + + + + + + + + +

Array of keys or single to get the signing preferences from

+ + + + format @@ -10403,6 +10441,48 @@ If a revocation certificate is passed, the reasonForRevocation parameter will be + + + recipientUserIDs + + + + + +Object +| + +Array.<Object> + + + + + + + + + <optional>
+ + + + + + + + + + + + primary user IDs + + + + +

Array of user IDs to get the signing preferences from, one per key in recipientKeys

+ + + + signatureNotations @@ -10527,7 +10607,7 @@ If a revocation certificate is passed, the reasonForRevocation parameter will be
Source:
@@ -10689,7 +10769,7 @@ the encoded bytes

Source:
@@ -11151,7 +11231,7 @@ an attribute "data" containing a stream of bytes and "type"
Source:
@@ -11396,7 +11476,7 @@ The new key includes a revocation certificate that must be removed before return
Source:
@@ -11576,7 +11656,7 @@ The new key includes a revocation certificate that must be removed before return
Source:
diff --git a/docs/index.html b/docs/index.html index 6144c371..729b4878 100644 --- a/docs/index.html +++ b/docs/index.html @@ -43,8 +43,8 @@
-

OpenPGP.js BrowserStack Status Join the chat on Gitter

-

OpenPGP.js is a JavaScript implementation of the OpenPGP protocol. It implements the crypto-refresh (superseding RFC4880 and RFC4880bis).

+

OpenPGP.js Join the chat on Gitter

+

OpenPGP.js is a JavaScript implementation of the OpenPGP protocol. It implements RFC 9580 (superseding RFC 4880 and RFC 4880bis).

Table of Contents

  • OpenPGP.js @@ -88,28 +88,38 @@

    The dist/openpgp.min.js (or .mjs) bundle works with recent versions of Chrome, Firefox, Edge and Safari 14+.

  • -

    The dist/node/openpgp.min.mjs (or .cjs) bundle works in Node.js v18+: it is used by default when you import ... from 'openpgp' (resp. require('openpgp')).

    +

    The dist/node/openpgp.min.mjs (or .cjs) bundle works in Node.js v18+: it is used by default when you import ... from 'openpgp' (or require('openpgp'), respectively).

  • -

    Streaming support: the latest versions of Chrome, Firefox, Edge and Safari implement the -Streams specification, including TransformStreams. -These are needed if you use the library with streamed inputs. -In previous versions of OpenPGP.js, WebStreams were automatically polyfilled by the library, +

    Support for the Web Cryptography API's SubtleCrypto is required.

    +
      +
    • In browsers, SubtleCrypto is only available in secure contexts.
    • +
    • In supported versions of Node.js, SubtleCrypto is always available.
    • +
    +
  • +
  • +

    Support for the Web Streams API is required.

    +
      +
    • In browsers: the latest versions of Chrome, Firefox, Edge and Safari support Streams, including TransformStreams. +These are needed if you use the library with stream inputs. +In previous versions of OpenPGP.js, Web Streams were automatically polyfilled by the library, but from v6 this task is left up to the library user, due to the more extensive browser support, and the -polyfilling side-effects. If you're working with older browsers versions which do not implement e.g. TransformStreams, you can manually -load WebStream polyfill. +polyfilling side-effects. If you're working with older browsers versions which do not implement e.g. TransformStreams, you can manually +load the Web Streams polyfill. Please note that when you load the polyfills, the global ReadableStream property (if it exists) gets overwritten with the polyfill version. In some edge cases, you might need to use the native ReadableStream (for example when using it to create a Response object), in which case you should store a reference to it before loading the polyfills. There is also the web-streams-adapter -library to convert back and forth between them.

      +library to convert back and forth between them.
    • +
    • In Node.js: OpenPGP.js v6 no longer supports native Node Readable streams in inputs, and instead expects (and outputs) Node's Web Streams. Node v17+ includes utilities to convert from and to Web Streams.
    • +

Performance

  • -

    Version 3.0.0 of the library introduces support for public-key cryptography using elliptic curves. We use native implementations on browsers and Node.js when available. Elliptic curve cryptography provides stronger security per bits of key, which allows for much faster operations. Currently the following curves are supported:

    +

    Version 3.0.0 of the library introduced support for public-key cryptography using elliptic curves. We use native implementations on browsers and Node.js when available. Compared to RSA, elliptic curve cryptography provides stronger security per bits of key, which allows for much faster operations. Currently the following curves are supported:

    @@ -127,8 +137,8 @@ library to convert back and forth between them.

    - - + + @@ -196,24 +206,21 @@ library to convert back and forth between them.

    ECDH N/A NoYes*If native**NoAlgorithmically
    ed25519
    -

    * when available +

    * when available
    ** these curves are only constant-time if the underlying native implementation is available and constant-time

  • -

    If the user's browser supports native WebCrypto via the window.crypto.subtle API, this will be used. Under Node.js the native crypto module is used.

    +

    The platform's native Web Crypto API is used for performance. On Node.js the native crypto module is also used, in cases where it offers additional functionality.

  • -

    The library implements authenticated encryption (AEAD) as per the "crypto refresh" draft standard using AES-OCB, EAX, or GCM. This makes symmetric encryption faster on platforms with native implementations. However, since the specification is very recent and other OpenPGP implementations are in the process of adopting it, the feature is currently behind a flag. Note: activating this setting can break compatibility with other OpenPGP implementations which have yet to implement the feature. You can enable it by setting openpgp.config.aeadProtect = true. -Note that this setting has a different effect from the one in OpenPGP.js v6, which implemented support for a provisional version of AEAD from RFC4880bis, which was modified in a later draft of the crypto refresh.

    +

    The library implements authenticated encryption (AEAD) as per RFC 9580 using AES-GCM, OCB, or EAX. This makes symmetric encryption faster on platforms with native implementations. However, since the specification is very recent and other OpenPGP implementations are in the process of adopting it, the feature is currently behind a flag. Note: activating this setting can break compatibility with other OpenPGP implementations which have yet to implement the feature. You can enable it by setting openpgp.config.aeadProtect = true. +Note that this setting has a different effect from the one in OpenPGP.js v5, which implemented support for a provisional version of AEAD from RFC 4880bis, which was modified in RFC 9580.

    You can change the AEAD mode by setting one of the following options:

    -
    openpgp.config.preferredAEADAlgorithm = openpgp.enums.aead.ocb; // Default (widest ecosystem support), non-native
    -openpgp.config.preferredAEADAlgorithm = openpgp.enums.aead.gcm; // Native in WebCrypto and Node.js
    +
    openpgp.config.preferredAEADAlgorithm = openpgp.enums.aead.gcm; // Default, native in WebCrypto and Node.js
    +openpgp.config.preferredAEADAlgorithm = openpgp.enums.aead.ocb; // Non-native, but supported across RFC 9580 implementations
     openpgp.config.preferredAEADAlgorithm = openpgp.enums.aead.eax; // Native in Node.js
     
  • -
  • -

    For environments that don't provide native crypto, the library falls back to asm.js AES and AEAD implementations.

    -

Getting started

Node.js

@@ -445,12 +452,8 @@ It's possible to change that behaviour by enabling compression through the confi } })();
-

For more information on using ReadableStreams, see the MDN Documentation on the -Streams API.

-

You can also pass a Node.js Readable -stream, in -which case OpenPGP.js will return a Node.js Readable stream as well, which you -can .pipe() to a Writable stream, for example.

+

For more information on using ReadableStreams (both in browsers and Node.js), see the MDN Documentation on the +Streams API .

Streaming encrypt and decrypt String data with PGP keys

(async () => {
     const publicKeyArmored = `-----BEGIN PGP PUBLIC KEY BLOCK-----
@@ -688,7 +691,7 @@ and a subkey for encryption using Curve25519.

To create your own build of the library, just run the following command after cloning the git repo. This will download all dependencies, run the tests and create a minified bundle under dist/openpgp.min.js to use in your project:

npm install && npm test
 
-

For debugging browser errors, you can run npm start and open http://localhost:8080/test/unittests.html in a browser, or run the following command:

+

For debugging browser errors, run the following command:

npm run browsertest
 

How do I get involved?

diff --git a/docs/module-config.html b/docs/module-config.html index f0eeb13f..9a214e8f 100644 --- a/docs/module-config.html +++ b/docs/module-config.html @@ -89,7 +89,7 @@
Source:
@@ -247,7 +247,7 @@ as a global config setting, but can be used for specific function calls (e.g. de
Source:
@@ -365,7 +365,7 @@ Must be an integer value from 0 to 56.

Source:
@@ -489,7 +489,7 @@ Note: not all OpenPGP implementations are compatible with this option.
Source:
@@ -614,7 +614,7 @@ where key flags were ignored when selecting a key for encryption.

Source:
@@ -733,7 +733,7 @@ and have self-signature's creation date that does not match the primary key crea
Source:
@@ -854,7 +854,7 @@ This is an insecure setting:

Source:
@@ -979,7 +979,7 @@ and deferring checking their integrity until the decrypted stream has been read
Source:
@@ -1091,7 +1091,7 @@ and deferring checking their integrity until the decrypted stream has been read
Source:
@@ -1213,7 +1213,7 @@ See also constantTimePKCS1DecryptionSupportedSymmetricAlgorithms.Source:
@@ -1331,7 +1331,7 @@ However, the more algorithms are added, the slower the decryption procedure beco
Source:
@@ -1443,7 +1443,7 @@ However, the more algorithms are added, the slower the decryption procedure beco
Source:
@@ -1555,7 +1555,7 @@ However, the more algorithms are added, the slower the decryption procedure beco
Source:
@@ -1672,7 +1672,7 @@ validation error when the notation is marked as critical.

Source:
@@ -1788,7 +1788,7 @@ validation error when the notation is marked as critical.

Source:
@@ -1905,7 +1905,7 @@ The default is 2047 since due to a bug, previous versions of OpenPGP.js could ge
Source:
@@ -2022,7 +2022,7 @@ The default is 2047 since due to a bug, previous versions of OpenPGP.js could ge
Source:
@@ -2139,7 +2139,7 @@ Only has an effect when aeadProtect is set to true.

Source:
@@ -2251,7 +2251,7 @@ Only has an effect when aeadProtect is set to true.

Source:
@@ -2363,7 +2363,7 @@ Only has an effect when aeadProtect is set to true.

Source:
@@ -2475,7 +2475,7 @@ Only has an effect when aeadProtect is set to true.

Source:
@@ -2591,7 +2591,7 @@ Only has an effect when aeadProtect is set to true.

Source:
@@ -2707,7 +2707,7 @@ Only has an effect when aeadProtect is set to true.

Source:
@@ -2823,7 +2823,7 @@ Only has an effect when aeadProtect is set to true.

Source:
@@ -2939,7 +2939,7 @@ Only has an effect when aeadProtect is set to true.

Source:
@@ -3154,7 +3154,7 @@ For more details on the choice of parameters, see https://tools.ietf.org/html/rf
Source:
@@ -3273,7 +3273,7 @@ Note: this is the exponent value, not the final number of iterations (refer to s
Source:
@@ -3395,7 +3395,7 @@ Note: Argon2 is the strongest option but not all OpenPGP implementations are com
Source:
@@ -3507,7 +3507,7 @@ Note: Argon2 is the strongest option but not all OpenPGP implementations are com
Source:
@@ -3619,7 +3619,7 @@ Note: Argon2 is the strongest option but not all OpenPGP implementations are com
Source:
@@ -3736,7 +3736,7 @@ When false, certain standard curves will not be supported (depending on the plat
Source:
@@ -3854,7 +3854,7 @@ Note: not all OpenPGP implementations are compatible with this option.
Source:
@@ -3966,7 +3966,7 @@ Note: not all OpenPGP implementations are compatible with this option.
Source:
diff --git a/docs/module-crypto.html b/docs/module-crypto.html index 447bb1b7..0a6eefd8 100644 --- a/docs/module-crypto.html +++ b/docs/module-crypto.html @@ -89,7 +89,7 @@
Source:
diff --git a/docs/module-crypto_aes_kw.html b/docs/module-crypto_aes_kw.html index b1dd518e..0afc8d30 100644 --- a/docs/module-crypto_aes_kw.html +++ b/docs/module-crypto_aes_kw.html @@ -89,7 +89,7 @@
Source:
@@ -308,7 +308,7 @@
Source:
@@ -521,7 +521,7 @@
Source:
diff --git a/docs/module-crypto_cmac.html b/docs/module-crypto_cmac.html index cc9ec4f1..0b899672 100644 --- a/docs/module-crypto_cmac.html +++ b/docs/module-crypto_cmac.html @@ -90,7 +90,7 @@ native AES-CBC using either the WebCrypto API or Node.js' crypto API.

Source:
@@ -195,7 +195,7 @@ The OMAC authors indicate that they will promulgate this modification
Source:
@@ -352,7 +352,7 @@ simplify the implementation.

Source:
diff --git a/docs/module-crypto_crypto.html b/docs/module-crypto_crypto.html index 27f56994..1d3e9391 100644 --- a/docs/module-crypto_crypto.html +++ b/docs/module-crypto_crypto.html @@ -90,7 +90,7 @@ well as key generation and parameter handling for all public-key cryptosystems.<
Source:
@@ -296,7 +296,7 @@ well as key generation and parameter handling for all public-key cryptosystems.<
Source:
@@ -458,7 +458,7 @@ See RFC 4880 9.2 f
Source:
@@ -619,7 +619,7 @@ See RFC 4880 9.2 f
Source:
@@ -848,7 +848,7 @@ See RFC 4880 9.2 f
Source:
@@ -1030,7 +1030,7 @@ See RFC 4880 9.2 f
Source:
@@ -1170,7 +1170,7 @@ See RFC 4880 9.2 f
Source:
@@ -1354,7 +1354,7 @@ See RFC 4880 9.2 f
Source:
@@ -1561,7 +1561,7 @@ See RFC 4880 9.2 f
Source:
@@ -1745,7 +1745,7 @@ See RFC 4880 9.2 f
Source:
@@ -2075,7 +2075,7 @@ See RFC 4880 5.5.3Source:
@@ -2361,7 +2361,7 @@ See RFC 4880 9.1 f
Source:
@@ -2545,7 +2545,7 @@ See RFC 4880 9.1 f
Source:
@@ -2752,7 +2752,7 @@ See RFC 4880 9.1 f
Source:
@@ -2913,7 +2913,7 @@ See RFC 4880 9.1 f
Source:
diff --git a/docs/module-crypto_hash.html b/docs/module-crypto_hash.html index 8c3e17e1..c5343559 100644 --- a/docs/module-crypto_hash.html +++ b/docs/module-crypto_hash.html @@ -89,7 +89,7 @@
Source:
@@ -191,7 +191,7 @@
Source:
@@ -352,7 +352,7 @@
Source:
@@ -513,7 +513,7 @@
Source:
diff --git a/docs/module-crypto_hkdf.html b/docs/module-crypto_hkdf.html index 1f5418fd..ea221dad 100644 --- a/docs/module-crypto_hkdf.html +++ b/docs/module-crypto_hkdf.html @@ -89,7 +89,7 @@
Source:
diff --git a/docs/module-crypto_mode.html b/docs/module-crypto_mode.html index 3c067e26..e6d2c556 100644 --- a/docs/module-crypto_mode.html +++ b/docs/module-crypto_mode.html @@ -89,7 +89,7 @@
Source:
@@ -182,7 +182,7 @@
Source:
@@ -249,7 +249,7 @@
Source:
@@ -316,7 +316,7 @@
Source:
@@ -383,7 +383,7 @@
Source:
diff --git a/docs/module-crypto_mode_cfb.html b/docs/module-crypto_mode_cfb.html index 70dd781f..882a4eee 100644 --- a/docs/module-crypto_mode_cfb.html +++ b/docs/module-crypto_mode_cfb.html @@ -236,7 +236,7 @@
Source:
@@ -477,7 +477,7 @@
Source:
diff --git a/docs/module-crypto_mode_eax.html b/docs/module-crypto_mode_eax.html index d72c957e..a03060b6 100644 --- a/docs/module-crypto_mode_eax.html +++ b/docs/module-crypto_mode_eax.html @@ -90,7 +90,7 @@ native AES-CTR using either the WebCrypto API or Node.js' crypto API.

Source:
@@ -296,7 +296,7 @@ native AES-CTR using either the WebCrypto API or Node.js' crypto API.

Source:
@@ -480,7 +480,7 @@ native AES-CTR using either the WebCrypto API or Node.js' crypto API.

Source:
@@ -665,7 +665,7 @@ native AES-CTR using either the WebCrypto API or Node.js' crypto API.

Source:
diff --git a/docs/module-crypto_mode_gcm.html b/docs/module-crypto_mode_gcm.html index 1b64afe0..cf4c9a9d 100644 --- a/docs/module-crypto_mode_gcm.html +++ b/docs/module-crypto_mode_gcm.html @@ -90,7 +90,7 @@ the WebCrypto api as well as node.js' crypto api.

Source:
@@ -273,7 +273,7 @@ the WebCrypto api as well as node.js' crypto api.

Source:
diff --git a/docs/module-crypto_mode_ocb.html b/docs/module-crypto_mode_ocb.html index b90df5b5..01d34eec 100644 --- a/docs/module-crypto_mode_ocb.html +++ b/docs/module-crypto_mode_ocb.html @@ -89,7 +89,7 @@
Source:
@@ -295,7 +295,7 @@
Source:
@@ -502,7 +502,7 @@
Source:
@@ -686,7 +686,7 @@
Source:
diff --git a/docs/module-crypto_pkcs1.html b/docs/module-crypto_pkcs1.html index 309d1e8d..65b28dbe 100644 --- a/docs/module-crypto_pkcs1.html +++ b/docs/module-crypto_pkcs1.html @@ -89,7 +89,7 @@
Source:
@@ -197,7 +197,7 @@
Source:
@@ -358,7 +358,7 @@
Source:
@@ -578,7 +578,7 @@
Source:
@@ -792,7 +792,7 @@
Source:
diff --git a/docs/module-crypto_public_key.html b/docs/module-crypto_public_key.html index 123b2b83..8ee532c1 100644 --- a/docs/module-crypto_public_key.html +++ b/docs/module-crypto_public_key.html @@ -89,7 +89,7 @@
Source:
@@ -182,7 +182,7 @@
Source:
@@ -249,7 +249,7 @@
Source:
@@ -316,7 +316,7 @@
Source:
@@ -383,7 +383,7 @@
Source:
diff --git a/docs/module-crypto_public_key_dsa.html b/docs/module-crypto_public_key_dsa.html index 52c051a3..55050bcf 100644 --- a/docs/module-crypto_public_key_dsa.html +++ b/docs/module-crypto_public_key_dsa.html @@ -89,7 +89,7 @@
Source:
@@ -188,7 +188,7 @@ Expect y == y'

Source:
@@ -434,7 +434,7 @@ Expect y == y'

Source:
@@ -683,7 +683,7 @@ Expect y == y'

Source:
@@ -1005,7 +1005,7 @@ Expect y == y'

Source:
diff --git a/docs/module-crypto_public_key_elgamal.html b/docs/module-crypto_public_key_elgamal.html index 44ed8b38..93dd3c18 100644 --- a/docs/module-crypto_public_key_elgamal.html +++ b/docs/module-crypto_public_key_elgamal.html @@ -89,7 +89,7 @@
Source:
@@ -188,7 +188,7 @@ Expect y == y'

Source:
@@ -412,7 +412,7 @@ Expect y == y'

Source:
@@ -672,7 +672,7 @@ Note that in OpenPGP, the message needs to be padded with PKCS#1 (same as RSA)Source:
@@ -898,7 +898,7 @@ Note that in OpenPGP, the message needs to be padded with PKCS#1 (same as RSA)Source:
diff --git a/docs/module-crypto_public_key_elliptic.html b/docs/module-crypto_public_key_elliptic.html index 37f56eda..988cdaae 100644 --- a/docs/module-crypto_public_key_elliptic.html +++ b/docs/module-crypto_public_key_elliptic.html @@ -89,7 +89,7 @@
Source:
diff --git a/docs/module-crypto_public_key_elliptic_curve.html b/docs/module-crypto_public_key_elliptic_curve.html index ea23377b..f44e400c 100644 --- a/docs/module-crypto_public_key_elliptic_curve.html +++ b/docs/module-crypto_public_key_elliptic_curve.html @@ -89,7 +89,7 @@
Source:
@@ -201,7 +201,7 @@ NB: this function does not check e.g. whether the point belongs to the curve.

Source:
@@ -340,7 +340,7 @@ NB: this function does not check e.g. whether the point belongs to the curve.

Source:
@@ -497,7 +497,7 @@ NB: this function does not check e.g. whether the point belongs to the curve.

Source:
@@ -723,7 +723,7 @@ NB: this function does not check e.g. whether the point belongs to the curve.

Source:
@@ -926,7 +926,7 @@ NB: this function does not check e.g. whether the point belongs to the curve.

Source:
@@ -1157,7 +1157,7 @@ Not suitable for EdDSA (different secret key format)

Source:
diff --git a/docs/module-crypto_public_key_elliptic_ecdh.html b/docs/module-crypto_public_key_elliptic_ecdh.html index e2ae3b7f..d886f4dd 100644 --- a/docs/module-crypto_public_key_elliptic_ecdh.html +++ b/docs/module-crypto_public_key_elliptic_ecdh.html @@ -91,7 +91,7 @@
Source:
@@ -169,7 +169,7 @@
Source:
@@ -467,7 +467,7 @@
Source:
@@ -720,7 +720,7 @@
Source:
@@ -973,7 +973,7 @@
Source:
@@ -1176,7 +1176,7 @@
Source:
@@ -1337,7 +1337,7 @@
Source:
@@ -1445,7 +1445,7 @@
Source:
@@ -1652,7 +1652,7 @@
Source:
@@ -1859,7 +1859,7 @@
Source:
@@ -1911,6 +1911,147 @@ + + + + + + +

(inner) assertNonZeroArray(sharedSecret)

+ + + + + + +
+

x25519 and x448 produce an all-zero value when given as input a point with small order. +This does not lead to a security issue in the context of ECDH, but it is still unexpected, +hence we throw.

+
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
sharedSecret + + +Uint8Array + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + @@ -2089,7 +2230,7 @@
Source:
@@ -2269,7 +2410,7 @@
Source:
@@ -2472,7 +2613,7 @@
Source:
@@ -2652,7 +2793,7 @@
Source:
@@ -2878,7 +3019,7 @@
Source:
@@ -3058,7 +3199,7 @@
Source:
@@ -3189,7 +3330,7 @@
Source:
@@ -3267,7 +3408,7 @@
Source:
@@ -3565,7 +3706,7 @@
Source:
@@ -3818,7 +3959,7 @@
Source:
@@ -4071,7 +4212,7 @@
Source:
@@ -4274,7 +4415,7 @@
Source:
@@ -4435,7 +4576,7 @@
Source:
@@ -4543,7 +4684,7 @@
Source:
@@ -4750,7 +4891,7 @@
Source:
@@ -4957,7 +5098,7 @@
Source:
@@ -5009,6 +5150,147 @@ + + + + + + +

(inner) assertNonZeroArray(sharedSecret)

+ + + + + + +
+

x25519 and x448 produce an all-zero value when given as input a point with small order. +This does not lead to a security issue in the context of ECDH, but it is still unexpected, +hence we throw.

+
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
sharedSecret + + +Uint8Array + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + @@ -5187,7 +5469,7 @@
Source:
@@ -5367,7 +5649,7 @@
Source:
@@ -5570,7 +5852,7 @@
Source:
@@ -5750,7 +6032,7 @@
Source:
@@ -5976,7 +6258,7 @@
Source:
@@ -6156,7 +6438,7 @@
Source:
diff --git a/docs/module-crypto_public_key_elliptic_ecdsa.html b/docs/module-crypto_public_key_elliptic_ecdsa.html index e3fa7950..0eb1c0a1 100644 --- a/docs/module-crypto_public_key_elliptic_ecdsa.html +++ b/docs/module-crypto_public_key_elliptic_ecdsa.html @@ -89,7 +89,7 @@
Source:
@@ -364,7 +364,7 @@
Source:
@@ -571,7 +571,7 @@
Source:
@@ -847,7 +847,7 @@
Source:
@@ -956,7 +956,7 @@ To be used if no native implementation is available for the given curve/operatio
Source:
diff --git a/docs/module-crypto_public_key_elliptic_eddsa.html b/docs/module-crypto_public_key_elliptic_eddsa.html index 8656469e..e33bc6b0 100644 --- a/docs/module-crypto_public_key_elliptic_eddsa.html +++ b/docs/module-crypto_public_key_elliptic_eddsa.html @@ -89,7 +89,7 @@
Source:
@@ -249,7 +249,7 @@
Source:
@@ -521,7 +521,7 @@
Source:
@@ -751,7 +751,7 @@
Source:
@@ -1027,7 +1027,7 @@
Source:
diff --git a/docs/module-crypto_public_key_elliptic_eddsa_legacy.html b/docs/module-crypto_public_key_elliptic_eddsa_legacy.html index ccd81de7..7624cfca 100644 --- a/docs/module-crypto_public_key_elliptic_eddsa_legacy.html +++ b/docs/module-crypto_public_key_elliptic_eddsa_legacy.html @@ -90,7 +90,7 @@ This key type has been deprecated by the crypto-refresh RFC.

Source:
@@ -365,7 +365,7 @@ This key type has been deprecated by the crypto-refresh RFC.

Source:
@@ -572,7 +572,7 @@ This key type has been deprecated by the crypto-refresh RFC.

Source:
@@ -848,7 +848,7 @@ This key type has been deprecated by the crypto-refresh RFC.

Source:
diff --git a/docs/module-crypto_public_key_rsa.html b/docs/module-crypto_public_key_rsa.html index c11c76a5..91671fb1 100644 --- a/docs/module-crypto_public_key_rsa.html +++ b/docs/module-crypto_public_key_rsa.html @@ -89,7 +89,7 @@
Source:
@@ -411,7 +411,7 @@
Source:
@@ -647,7 +647,7 @@
Source:
@@ -833,7 +833,7 @@
Source:
@@ -1186,7 +1186,7 @@ RSA private prime p, RSA private prime q, u = p ** -1 mod q

Source:
@@ -1462,7 +1462,7 @@ RSA private prime p, RSA private prime q, u = p ** -1 mod q

Source:
@@ -1738,7 +1738,7 @@ RSA private prime p, RSA private prime q, u = p ** -1 mod q

Source:
@@ -1846,7 +1846,7 @@ RSA private prime p, RSA private prime q, u = p ** -1 mod q

Source:
@@ -2123,7 +2123,7 @@ RSA private prime p, RSA private prime q, u = p ** -1 mod q

Source:
@@ -2308,7 +2308,7 @@ RSA private prime p, RSA private prime q, u = p ** -1 mod q

Source:
diff --git a/docs/module-crypto_random.html b/docs/module-crypto_random.html index f0074018..7766a594 100644 --- a/docs/module-crypto_random.html +++ b/docs/module-crypto_random.html @@ -89,7 +89,7 @@
Source:
@@ -272,7 +272,7 @@
Source:
@@ -433,7 +433,7 @@
Source:
diff --git a/docs/module-crypto_signature.html b/docs/module-crypto_signature.html index 74e33e53..fb79baa7 100644 --- a/docs/module-crypto_signature.html +++ b/docs/module-crypto_signature.html @@ -89,7 +89,7 @@
Source:
@@ -276,7 +276,7 @@ See RFC 4880 5.2.2.<
Source:
@@ -555,7 +555,7 @@ for public key and hash algorithms.

Source:
@@ -834,7 +834,7 @@ for public key and hash algorithms.

Source:
diff --git a/docs/module-encoding_base64.html b/docs/module-encoding_base64.html index ae26bfde..b039e702 100644 --- a/docs/module-encoding_base64.html +++ b/docs/module-encoding_base64.html @@ -168,7 +168,7 @@
Source:
@@ -332,7 +332,7 @@
Source:
@@ -499,7 +499,7 @@
Source:
@@ -686,7 +686,7 @@
Source:
diff --git a/docs/module-enums.html b/docs/module-enums.html index 65f76fb0..48b370dd 100644 --- a/docs/module-enums.html +++ b/docs/module-enums.html @@ -235,7 +235,7 @@
Source:
@@ -499,7 +499,7 @@
Source:
@@ -694,7 +694,7 @@
Source:
@@ -1119,7 +1119,7 @@
Source:
@@ -1323,7 +1323,7 @@ fingerprint format

Source:
@@ -1633,7 +1633,7 @@ fingerprint format

Source:
@@ -1899,7 +1899,7 @@ possession of more than one person.

Source:
@@ -2094,7 +2094,7 @@ possession of more than one person.

Source:
@@ -2634,7 +2634,7 @@ possession of more than one person.

Source:
@@ -3060,7 +3060,7 @@ possession of more than one person.

Source:
@@ -3278,7 +3278,7 @@ possession of more than one person.

Source:
@@ -3496,7 +3496,7 @@ possession of more than one person.

Source:
@@ -4013,7 +4013,7 @@ document) that cannot include a target subpacket.

Source:
@@ -4737,7 +4737,7 @@ document) that cannot include a target subpacket.

Source:
@@ -5024,7 +5024,7 @@ document) that cannot include a target subpacket.

Source:
@@ -5220,7 +5220,7 @@ document) that cannot include a target subpacket.

Source:
@@ -5374,7 +5374,7 @@ document) that cannot include a target subpacket.

Source:
@@ -5590,7 +5590,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 bed9f3e6..bee33fb6 100644 --- a/docs/module-key_Subkey-Subkey.html +++ b/docs/module-key_Subkey-Subkey.html @@ -171,7 +171,7 @@
Source:
@@ -281,7 +281,7 @@
Source:
@@ -394,7 +394,7 @@
Source:
@@ -511,7 +511,7 @@
Source:
@@ -628,7 +628,7 @@
Source:
@@ -741,7 +741,7 @@
Source:
@@ -942,7 +942,7 @@ Returns null if the subkey is invalid.

Source:
@@ -1055,7 +1055,7 @@ Returns null if the subkey is invalid.

Source:
@@ -1172,7 +1172,7 @@ Returns null if the subkey is invalid.

Source:
@@ -1289,7 +1289,7 @@ Returns null if the subkey is invalid.

Source:
@@ -1406,7 +1406,7 @@ Returns null if the subkey is invalid.

Source:
@@ -1523,7 +1523,7 @@ Returns null if the subkey is invalid.

Source:
@@ -1640,7 +1640,7 @@ Returns null if the subkey is invalid.

Source:
@@ -1757,7 +1757,7 @@ Returns null if the subkey is invalid.

Source:
@@ -1873,7 +1873,7 @@ Returns null if the subkey is invalid.

Source:
@@ -2149,7 +2149,7 @@ Returns null if the subkey is invalid.

Source:
@@ -2487,7 +2487,7 @@ Returns null if the subkey is invalid.

Source:
@@ -2599,7 +2599,7 @@ Returns null if the subkey is invalid.

Source:
@@ -2832,7 +2832,7 @@ Returns null if the subkey is invalid.

Source:
@@ -3044,7 +3044,7 @@ and valid binding signature.

Source:
diff --git a/docs/module-key_User-User.html b/docs/module-key_User-User.html index c34cc575..a6bb089a 100644 --- a/docs/module-key_User-User.html +++ b/docs/module-key_User-User.html @@ -171,7 +171,7 @@
Source:
@@ -404,7 +404,7 @@
Source:
@@ -516,7 +516,7 @@
Source:
@@ -789,7 +789,7 @@
Source:
@@ -1127,7 +1127,7 @@
Source:
@@ -1239,7 +1239,7 @@
Source:
@@ -1442,7 +1442,7 @@
Source:
@@ -1623,7 +1623,7 @@ and validity of self signature.

Source:
@@ -1887,7 +1887,7 @@ and validity of self signature.

Source:
@@ -2154,7 +2154,7 @@ Signature validity is null if the verification keys do not correspond to the cer
Source:
diff --git a/docs/module-key_helper.html b/docs/module-key_helper.html index b12b096d..56d7acec 100644 --- a/docs/module-key_helper.html +++ b/docs/module-key_helper.html @@ -89,7 +89,7 @@
Source:
@@ -281,7 +281,7 @@
Source:
@@ -518,7 +518,7 @@
Source:
@@ -554,7 +554,7 @@ -

(static) createSignaturePacket(dataToSign, privateKey, signingKeyPacket, signaturePropertiesopt, dateopt, userIDopt, notationsopt, detachedopt, config) → {Promise.<SignaturePacket>}

+

(static) createSignaturePacket(dataToSign, recipientKeys, signingKeyPacket, signaturePropertiesopt, dateopt, userIDopt, notationsopt, detachedopt, config) → {Promise.<SignaturePacket>}

@@ -631,13 +631,13 @@ - privateKey + recipientKeys -PrivateKey +Array.<Key> @@ -655,7 +655,7 @@ -

key to get preferences from

+

keys to get preferences from

@@ -928,7 +928,7 @@
Source:
@@ -1116,7 +1116,7 @@ The expiration time of the signature is ignored.

Source:
@@ -1376,7 +1376,7 @@ The expiration time of the signature is ignored.

Source:
@@ -1648,7 +1648,7 @@ The expiration time of the signature is ignored.

Source:
@@ -1920,7 +1920,7 @@ The expiration time of the signature is ignored.

Source:
@@ -1978,7 +1978,7 @@ The expiration time of the signature is ignored.

-

(async, static) getPreferredHashAlgo(keyopt, keyPacket, dateopt, userIDopt, config) → {Promise.<enums.hash>}

+

(async, static) getPreferredHashAlgo(targetKeysopt, signingKeyPacket, dateopt, targetUserIDopt, config) → {Promise.<enums.hash>}

@@ -1986,7 +1986,7 @@ The expiration time of the signature is ignored.

-

Returns the preferred signature hash algorithm of a key

+

Returns the preferred signature hash algorithm for a set of keys.

@@ -2024,13 +2024,13 @@ The expiration time of the signature is ignored.

- key + targetKeys -Key +Array.<Key> @@ -2050,14 +2050,14 @@ The expiration time of the signature is ignored.

-

The key to get preferences from

+

The keys to get preferences from

- keyPacket + signingKeyPacket @@ -2124,7 +2124,7 @@ The expiration time of the signature is ignored.

- userID + targetUserID @@ -2150,7 +2150,7 @@ The expiration time of the signature is ignored.

-

User ID

+

User IDs corresponding to targetKeys to get preferences from

@@ -2224,7 +2224,7 @@ The expiration time of the signature is ignored.

Source:
@@ -2531,7 +2531,7 @@ The expiration time of the signature is ignored.

Source:
@@ -2830,7 +2830,7 @@ The expiration time of the signature is ignored.

Source:
diff --git a/docs/module-packet_packet.html b/docs/module-packet_packet.html index b44b87f0..c3ae1e19 100644 --- a/docs/module-packet_packet.html +++ b/docs/module-packet_packet.html @@ -89,7 +89,7 @@
Source:
@@ -275,7 +275,7 @@
Source:
@@ -436,7 +436,7 @@
Source:
@@ -621,7 +621,7 @@ string

Source:
@@ -783,7 +783,7 @@ string

Source:
diff --git a/docs/module-type_ecdh_symkey.html b/docs/module-type_ecdh_symkey.html index 02b27bc6..6426f71e 100644 --- a/docs/module-type_ecdh_symkey.html +++ b/docs/module-type_ecdh_symkey.html @@ -89,7 +89,7 @@
Source:
diff --git a/docs/module-type_kdf_params-KDFParams.html b/docs/module-type_kdf_params-KDFParams.html index 9dabe344..02e0adb1 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 470acc8a..97404c0b 100644 --- a/docs/module-type_keyid-KeyID.html +++ b/docs/module-type_keyid-KeyID.html @@ -101,7 +101,7 @@ formed.

Source:
@@ -295,7 +295,7 @@ formed.

Source:
@@ -385,7 +385,7 @@ formed.

Source:
@@ -497,7 +497,7 @@ formed.

Source:
@@ -658,7 +658,7 @@ formed.

Source:
@@ -748,7 +748,7 @@ formed.

Source:
@@ -860,7 +860,7 @@ formed.

Source:
diff --git a/docs/module-type_oid.html b/docs/module-type_oid.html index 524d78c1..7cb3799d 100644 --- a/docs/module-type_oid.html +++ b/docs/module-type_oid.html @@ -100,7 +100,7 @@ sequence of octets is the valid representation of a curve OID.

Source:
diff --git a/docs/module-type_s2k-GenericS2K.html b/docs/module-type_s2k-GenericS2K.html index c557dd41..6a24ca4e 100644 --- a/docs/module-type_s2k-GenericS2K.html +++ b/docs/module-type_s2k-GenericS2K.html @@ -153,7 +153,7 @@
Source:
@@ -262,7 +262,7 @@
Source:
@@ -332,7 +332,7 @@
Source:
@@ -406,7 +406,7 @@
Source:
@@ -480,7 +480,7 @@
Source:
@@ -612,7 +612,7 @@ hashAlgorithm

Source:
@@ -774,7 +774,7 @@ hashAlgorithm hash length

Source:
@@ -886,7 +886,7 @@ hashAlgorithm hash length

Source:
diff --git a/docs/module-type_s2k.html b/docs/module-type_s2k.html index 9121ad81..9e24f7bb 100644 --- a/docs/module-type_s2k.html +++ b/docs/module-type_s2k.html @@ -95,7 +95,7 @@ symmetrically encrypted messages.

Source:
diff --git a/docs/module-type_x25519x448_symkey.html b/docs/module-type_x25519x448_symkey.html index 958650bd..2741d749 100644 --- a/docs/module-type_x25519x448_symkey.html +++ b/docs/module-type_x25519x448_symkey.html @@ -91,7 +91,7 @@ the former includes an algorithm byte preceeding the encrypted session key.

<
Source:
diff --git a/docs/module-util.html b/docs/module-util.html index 7675f6db..98d1b874 100644 --- a/docs/module-util.html +++ b/docs/module-util.html @@ -89,7 +89,7 @@
Source:
diff --git a/package-lock.json b/package-lock.json index ecfdc9f0..9f857ab7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "openpgp", - "version": "6.0.0-beta.3.patch.1", + "version": "6.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "openpgp", - "version": "6.0.0-beta.3.patch.1", + "version": "6.0.0", "license": "LGPL-3.0+", "devDependencies": { "@noble/ciphers": "^1.0.0", diff --git a/package.json b/package.json index 7a3810ed..d2a21b57 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": "6.0.0-beta.3.patch.1", + "version": "6.0.0", "license": "LGPL-3.0+", "homepage": "https://openpgpjs.org/", "engines": {