From f57d3527d384d79b3af6a8926afabe23e6111961 Mon Sep 17 00:00:00 2001 From: larabr Date: Thu, 19 Aug 2021 17:53:06 +0200 Subject: [PATCH 1/5] 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). --- src/config/config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/config/config.js b/src/config/config.js index 44579f5b1..1d56f6c98 100644 --- a/src/config/config.js +++ b/src/config/config.js @@ -104,10 +104,12 @@ export default { */ 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 - * @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. * **Slower and slightly less secure** From 3fa778abe2902e75ae5b1e7f6327467eef91a761 Mon Sep 17 00:00:00 2001 From: larabr Date: Thu, 19 Aug 2021 17:58:16 +0200 Subject: [PATCH 2/5] Add `config.rejectCurves` and prevent generating keys using blacklisted algorithms (#1395) Breaking changes: - throw error on key generation if the requested public key algorithm is included in `config.rejectPublicKeyAlgorithms`; - add `config.rejectCurves` to blacklist a set of ECC curves, to prevent keys using those curves from being generated, or being used to encrypt/decrypt/sign/verify messages. By default, `config.rejectCurves` includes the brainpool curves (`brainpoolP256r1`, `brainpoolP384r1`, `brainpoolP512r1`) and the Bitcoin curve (`secp256k1`). This is because it's unclear whether these curves will be standardised[1], and we prefer to blacklist them already, rather than introduce a breaking change after release. [1] https://gitlab.com/openpgp-wg/rfc4880bis/-/merge_requests/47#note_634199141 --- openpgp.d.ts | 13 ++++++ src/config/config.js | 15 ++++-- src/key/helper.js | 30 ++++++++++-- src/key/key.js | 8 ++-- src/openpgp.js | 3 ++ test/crypto/validate.js | 3 +- test/general/brainpool.js | 88 +++++++++++++++++++++-------------- test/general/config.js | 20 ++++++++ test/general/ecc_secp256k1.js | 11 +++++ test/general/openpgp.js | 7 +-- test/general/streaming.js | 14 ++++-- 11 files changed, 158 insertions(+), 54 deletions(-) diff --git a/openpgp.d.ts b/openpgp.d.ts index a5972551f..1854f88ea 100644 --- a/openpgp.d.ts +++ b/openpgp.d.ts @@ -337,6 +337,7 @@ interface Config { rejectHashAlgorithms: Set; rejectMessageHashAlgorithms: Set; rejectPublicKeyAlgorithms: Set; + rejectCurves: Set; } export var config: Config; @@ -814,6 +815,18 @@ export namespace enums { aedsa = 24, } + enum curve { + p256 = 'p256', + p384 = 'p384', + p521 = 'p521', + ed25519 = 'ed25519', + curve25519 = 'curve25519', + secp256k1 = 'secp256k1', + brainpoolP256r1 = 'brainpoolP256r1', + brainpoolP384r1 = 'brainpoolP384r1', + brainpoolP512r1 = 'brainpoolP512r1' + } + export type symmetricNames = 'plaintext' | 'idea' | 'tripledes' | 'cast5' | 'blowfish' | 'aes128' | 'aes192' | 'aes256' | 'twofish'; enum symmetric { plaintext = 0, diff --git a/src/config/config.js b/src/config/config.js index 1d56f6c98..9451063eb 100644 --- a/src/config/config.js +++ b/src/config/config.js @@ -181,8 +181,11 @@ export default { */ knownNotations: ['preferred-email-encoding@pgp.com', 'pka-address@gnupg.org'], /** + * Whether to use the indutny/elliptic library for curves (other than Curve25519) that are not supported by the available native crypto API. + * When false, certain standard curves will not be supported (depending on the platform). + * Note: the indutny/elliptic curve library is not designed to be constant time. * @memberof module:config - * @property {Boolean} useIndutnyElliptic Whether to use the indutny/elliptic library. When false, certain curves will not be supported. + * @property {Boolean} useIndutnyElliptic */ useIndutnyElliptic: true, /** @@ -198,9 +201,15 @@ export default { */ rejectMessageHashAlgorithms: new Set([enums.hash.md5, enums.hash.ripemd, enums.hash.sha1]), /** - * Reject insecure public key algorithms for message encryption, signing or verification + * Reject insecure public key algorithms for key generation and message encryption, signing or verification * @memberof module:config * @property {Set} rejectPublicKeyAlgorithms {@link module:enums.publicKey} */ - rejectPublicKeyAlgorithms: new Set([enums.publicKey.elgamal, enums.publicKey.dsa]) + rejectPublicKeyAlgorithms: new Set([enums.publicKey.elgamal, enums.publicKey.dsa]), + /** + * Reject non-standard curves for key generation, message encryption, signing or verification + * @memberof module:config + * @property {Set} rejectCurves {@link module:enums.curve} + */ + rejectCurves: new Set([enums.curve.brainpoolP256r1, enums.curve.brainpoolP384r1, enums.curve.brainpoolP512r1, enums.curve.secp256k1]) }; diff --git a/src/key/helper.js b/src/key/helper.js index 6cb48d65c..a24d3f1cc 100644 --- a/src/key/helper.js +++ b/src/key/helper.js @@ -391,13 +391,35 @@ export function isValidDecryptionKeyPacket(signature, config) { (signature.keyFlags[0] & enums.keyFlags.encryptStorage) !== 0; } -export function checkKeyStrength(keyPacket, config) { +/** + * Check key against blacklisted algorithms and minimum strength requirements. + * @param {SecretKeyPacket|PublicKeyPacket| + * SecretSubkeyPacket|PublicSubkeyPacket} keyPacket + * @param {Config} config + * @throws {Error} if the key packet does not meet the requirements + */ +export function checkKeyRequirements(keyPacket, config) { const keyAlgo = enums.write(enums.publicKey, keyPacket.algorithm); if (config.rejectPublicKeyAlgorithms.has(keyAlgo)) { throw new Error(`${keyPacket.algorithm} keys are considered too weak.`); } - const rsaAlgos = new Set([enums.publicKey.rsaEncryptSign, enums.publicKey.rsaSign, enums.publicKey.rsaEncrypt]); - if (rsaAlgos.has(keyAlgo) && util.uint8ArrayBitLength(keyPacket.publicParams.n) < config.minRSABits) { - throw new Error(`RSA keys shorter than ${config.minRSABits} bits are considered too weak.`); + const algoInfo = keyPacket.getAlgorithmInfo(); + switch (keyAlgo) { + case enums.publicKey.rsaEncryptSign: + case enums.publicKey.rsaSign: + case enums.publicKey.rsaEncrypt: + if (algoInfo.bits < config.minRSABits) { + throw new Error(`RSA keys shorter than ${config.minRSABits} bits are considered too weak.`); + } + break; + case enums.publicKey.ecdsa: + case enums.publicKey.eddsa: + case enums.publicKey.ecdh: + if (config.rejectCurves.has(algoInfo.curve)) { + throw new Error(`Support for ${keyPacket.algorithm} keys using curve ${algoInfo.curve} is disabled.`); + } + break; + default: + break; } } diff --git a/src/key/key.js b/src/key/key.js index 2bb1bd2f5..72dd09b8f 100644 --- a/src/key/key.js +++ b/src/key/key.js @@ -254,7 +254,7 @@ class Key { await helper.getLatestValidSignature( [bindingSignature.embeddedSignature], subkey.keyPacket, enums.signature.keyBinding, dataToVerify, date, config ); - helper.checkKeyStrength(subkey.keyPacket, config); + helper.checkKeyRequirements(subkey.keyPacket, config); return subkey; } catch (e) { exception = e; @@ -266,7 +266,7 @@ class Key { const primaryUser = await this.getPrimaryUser(date, userID, config); if ((!keyID || primaryKey.getKeyID().equals(keyID)) && helper.isValidSigningKeyPacket(primaryKey, primaryUser.selfCertification, config)) { - helper.checkKeyStrength(primaryKey, config); + helper.checkKeyRequirements(primaryKey, config); return this; } } catch (e) { @@ -298,7 +298,7 @@ class Key { const dataToVerify = { key: primaryKey, bind: subkey.keyPacket }; const bindingSignature = await helper.getLatestValidSignature(subkey.bindingSignatures, primaryKey, enums.signature.subkeyBinding, dataToVerify, date, config); if (helper.isValidEncryptionKeyPacket(subkey.keyPacket, bindingSignature)) { - helper.checkKeyStrength(subkey.keyPacket, config); + helper.checkKeyRequirements(subkey.keyPacket, config); return subkey; } } catch (e) { @@ -312,7 +312,7 @@ class Key { const primaryUser = await this.getPrimaryUser(date, userID, config); if ((!keyID || primaryKey.getKeyID().equals(keyID)) && helper.isValidEncryptionKeyPacket(primaryKey, primaryUser.selfCertification)) { - helper.checkKeyStrength(primaryKey, config); + helper.checkKeyRequirements(primaryKey, config); return this; } } catch (e) { diff --git a/src/openpgp.js b/src/openpgp.js index b3f4867e6..a77739c1c 100644 --- a/src/openpgp.js +++ b/src/openpgp.js @@ -21,6 +21,7 @@ import { CleartextMessage } from './cleartext'; import { generate, reformat, getPreferredAlgo } from './key'; import defaultConfig from './config'; import util from './util'; +import { checkKeyRequirements } from './key/helper'; ////////////////////// @@ -63,10 +64,12 @@ export async function generateKey({ userIDs = [], passphrase = '', type = 'ecc', if (type === 'rsa' && rsaBits < config.minRSABits) { throw new Error(`rsaBits should be at least ${config.minRSABits}, got: ${rsaBits}`); } + const options = { userIDs, passphrase, type, rsaBits, curve, keyExpirationTime, date, subkeys }; try { const { key, revocationCertificate } = await generate(options, config); + key.getKeys().forEach(({ keyPacket }) => checkKeyRequirements(keyPacket, config)); return { privateKey: formatObject(key, format, config), diff --git a/test/crypto/validate.js b/test/crypto/validate.js index 691572d98..5475d990f 100644 --- a/test/crypto/validate.js +++ b/test/crypto/validate.js @@ -81,7 +81,8 @@ async function cloneKeyPacket(key) { } async function generatePrivateKeyObject(options) { - const { privateKey } = await openpgp.generateKey({ ...options, userIDs: [{ name: 'Test', email: 'test@test.com' }], format: 'object' }); + const config = { rejectCurves: new Set() }; + const { privateKey } = await openpgp.generateKey({ ...options, userIDs: [{ name: 'Test', email: 'test@test.com' }], format: 'object', config }); return privateKey; } diff --git a/test/general/brainpool.js b/test/general/brainpool.js index 30c16b2cf..5c0c958c7 100644 --- a/test/general/brainpool.js +++ b/test/general/brainpool.js @@ -10,12 +10,23 @@ const input = require('./testInputs.js'); const expect = chai.expect; module.exports = () => (openpgp.config.ci ? describe.skip : describe)('Brainpool Cryptography @lightweight', function () { - //only x25519 crypto is fully functional in lightbuild - if (!openpgp.config.useIndutnyElliptic && !util.getNodeCrypto()) { - before(function() { + let rejectCurvesVal; + before(function() { + //only x25519 crypto is fully functional in lightbuild + if (!openpgp.config.useIndutnyElliptic && !util.getNodeCrypto()) { this.skip(); // eslint-disable-line no-invalid-this - }); - } + } + }); + + beforeEach(function () { + rejectCurvesVal = openpgp.config.rejectCurves; + openpgp.config.rejectCurves = new Set(); + }); + + afterEach(function () { + openpgp.config.rejectCurves = rejectCurvesVal; + }); + const data = { romeo: { id: 'fa3d64c9bcf338bc', @@ -282,39 +293,46 @@ EJ4QcD/oQ6x1M/8X/iKQCtxZP8RnlrbH7ExkNON5s5g= function omnibus() { it('Omnibus BrainpoolP256r1 Test', async function() { - const testData = input.createSomeMessage(); - const testData2 = input.createSomeMessage(); + const { rejectCurves } = openpgp.config; + openpgp.config.rejectCurves = new Set(); - const { privateKey: hi, publicKey: pubHi } = await openpgp.generateKey({ userIDs: { name: 'Hi', email: 'hi@hel.lo' }, curve: 'brainpoolP256r1', format: 'object' }); - const { privateKey: bye, publicKey: pubBye } = await openpgp.generateKey({ userIDs: { name: 'Bye', email: 'bye@good.bye' }, curve: 'brainpoolP256r1', format: 'object' }); + try { + const testData = input.createSomeMessage(); + const testData2 = input.createSomeMessage(); - const cleartextMessage = await openpgp.sign({ message: await openpgp.createCleartextMessage({ text: testData }), signingKeys: hi }); - await openpgp.verify({ - message: await openpgp.readCleartextMessage({ cleartextMessage }), - verificationKeys: pubHi - }).then(output => expect(output.signatures[0].verified).to.eventually.be.true); - // Verifying detached signature - await openpgp.verify({ - message: await openpgp.createMessage({ text: util.removeTrailingSpaces(testData) }), - verificationKeys: pubHi, - signature: (await openpgp.readCleartextMessage({ cleartextMessage })).signature - }).then(output => expect(output.signatures[0].verified).to.eventually.be.true); + const { privateKey: hi, publicKey: pubHi } = await openpgp.generateKey({ userIDs: { name: 'Hi', email: 'hi@hel.lo' }, curve: 'brainpoolP256r1', format: 'object' }); + const { privateKey: bye, publicKey: pubBye } = await openpgp.generateKey({ userIDs: { name: 'Bye', email: 'bye@good.bye' }, curve: 'brainpoolP256r1', format: 'object' }); - // Encrypting and signing - const encrypted = await openpgp.encrypt({ - message: await openpgp.createMessage({ text: testData2 }), - encryptionKeys: [pubBye], - signingKeys: [hi] - }); - // Decrypting and verifying - return openpgp.decrypt({ - message: await openpgp.readMessage({ armoredMessage: encrypted }), - decryptionKeys: bye, - verificationKeys: [pubHi] - }).then(async output => { - expect(output.data).to.equal(testData2); - await expect(output.signatures[0].verified).to.eventually.be.true; - }); + const cleartextMessage = await openpgp.sign({ message: await openpgp.createCleartextMessage({ text: testData }), signingKeys: hi }); + await openpgp.verify({ + message: await openpgp.readCleartextMessage({ cleartextMessage }), + verificationKeys: pubHi + }).then(output => expect(output.signatures[0].verified).to.eventually.be.true); + // Verifying detached signature + await openpgp.verify({ + message: await openpgp.createMessage({ text: util.removeTrailingSpaces(testData) }), + verificationKeys: pubHi, + signature: (await openpgp.readCleartextMessage({ cleartextMessage })).signature + }).then(output => expect(output.signatures[0].verified).to.eventually.be.true); + + // Encrypting and signing + const encrypted = await openpgp.encrypt({ + message: await openpgp.createMessage({ text: testData2 }), + encryptionKeys: [pubBye], + signingKeys: [hi] + }); + // Decrypting and verifying + return openpgp.decrypt({ + message: await openpgp.readMessage({ armoredMessage: encrypted }), + decryptionKeys: bye, + verificationKeys: [pubHi] + }).then(async output => { + expect(output.data).to.equal(testData2); + await expect(output.signatures[0].verified).to.eventually.be.true; + }); + } finally { + openpgp.config.rejectCurves = rejectCurves; + } }); } diff --git a/test/general/config.js b/test/general/config.js index 4c8814ddc..acaffbeb4 100644 --- a/test/general/config.js +++ b/test/general/config.js @@ -230,6 +230,15 @@ vAFM3jjrAQDgJPXsv8PqCrLGDuMa/2r6SgzYd03aw/xt1WM6hgUvhQD+J54Z await expect(openpgp.encrypt({ message, encryptionKeys: [key], config: { rejectPublicKeyAlgorithms: new Set([openpgp.enums.publicKey.ecdh]) } })).to.be.eventually.rejectedWith(/ecdh keys are considered too weak/); + + await expect(openpgp.encrypt({ + message, encryptionKeys: [key], config: { rejectCurves: new Set([openpgp.enums.curve.curve25519]) } + })).to.be.eventually.rejectedWith(/Support for ecdh keys using curve curve25519 is disabled/); + + const echdEncrypted = await openpgp.encrypt({ + message, encryptionKeys: [key], config: { rejectCurves: new Set([openpgp.enums.curve.ed25519]) } + }); + expect(echdEncrypted).to.match(/---BEGIN PGP MESSAGE---/); } finally { openpgp.config.aeadProtect = aeadProtectVal; openpgp.config.preferredCompressionAlgorithm = preferredCompressionAlgorithmVal; @@ -295,6 +304,9 @@ vAFM3jjrAQDgJPXsv8PqCrLGDuMa/2r6SgzYd03aw/xt1WM6hgUvhQD+J54Z await expect(openpgp.sign({ message, signingKeys: [key], config: { rejectPublicKeyAlgorithms: new Set([openpgp.enums.publicKey.eddsa]) } })).to.be.eventually.rejectedWith(/eddsa keys are considered too weak/); + await expect(openpgp.sign({ + message, signingKeys: [key], config: { rejectCurves: new Set([openpgp.enums.curve.ed25519]) } + })).to.be.eventually.rejectedWith(/Support for eddsa keys using curve ed25519 is disabled/); }); it('openpgp.verify', async function() { @@ -339,6 +351,14 @@ vAFM3jjrAQDgJPXsv8PqCrLGDuMa/2r6SgzYd03aw/xt1WM6hgUvhQD+J54Z }; const { signatures: [sig4] } = await openpgp.verify(opt4); await expect(sig4.verified).to.be.rejectedWith(/eddsa keys are considered too weak/); + + const opt5 = { + message: await openpgp.readMessage({ armoredMessage: signed }), + verificationKeys: [key], + config: { rejectCurves: new Set([openpgp.enums.curve.ed25519]) } + }; + const { signatures: [sig5] } = await openpgp.verify(opt5); + await expect(sig5.verified).to.be.eventually.rejectedWith(/Support for eddsa keys using curve ed25519 is disabled/); }); describe('detects unknown config property', async function() { diff --git a/test/general/ecc_secp256k1.js b/test/general/ecc_secp256k1.js index 893d98c70..69ef38ee2 100644 --- a/test/general/ecc_secp256k1.js +++ b/test/general/ecc_secp256k1.js @@ -12,6 +12,17 @@ module.exports = () => describe('Elliptic Curve Cryptography for secp256k1 curve this.skip(); // eslint-disable-line no-invalid-this }); } + + let rejectCurvesVal; + beforeEach(() => { + rejectCurvesVal = openpgp.config.rejectCurves; + openpgp.config.rejectCurves = new Set(); + }); + + afterEach(() => { + openpgp.config.rejectCurves = rejectCurvesVal; + }); + const data = { romeo: { id: 'c2b12389b401a43d', diff --git a/test/general/openpgp.js b/test/general/openpgp.js index 993b22480..878f94b27 100644 --- a/test/general/openpgp.js +++ b/test/general/openpgp.js @@ -3724,10 +3724,11 @@ amnR6g== const curves = ['secp256k1' , 'p256', 'p384', 'p521', 'curve25519', 'brainpoolP256r1', 'brainpoolP384r1', 'brainpoolP512r1']; curves.forEach(curve => { it(`sign/verify with ${curve}`, async function() { + const config = { rejectCurves: new Set() }; const plaintext = 'short message'; - const { privateKey: key } = await openpgp.generateKey({ curve, userIDs: { name: 'Alice', email: 'info@alice.com' }, format: 'object' }); - const signed = await openpgp.sign({ signingKeys:[key], message: await openpgp.createCleartextMessage({ text: plaintext }) }); - const verified = await openpgp.verify({ verificationKeys:[key], message: await openpgp.readCleartextMessage({ cleartextMessage: signed }) }); + const { privateKey: key } = await openpgp.generateKey({ curve, userIDs: { name: 'Alice', email: 'info@alice.com' }, format: 'object', config }); + const signed = await openpgp.sign({ signingKeys:[key], message: await openpgp.createCleartextMessage({ text: plaintext }), config }); + const verified = await openpgp.verify({ verificationKeys:[key], message: await openpgp.readCleartextMessage({ cleartextMessage: signed }), config }); expect(await verified.signatures[0].verified).to.be.true; }); }); diff --git a/test/general/streaming.js b/test/general/streaming.js index ed5243c8c..028dede4e 100644 --- a/test/general/streaming.js +++ b/test/general/streaming.js @@ -383,11 +383,13 @@ function tests() { }); try { + const config = { rejectCurves: new Set() }; const encrypted = await openpgp.encrypt({ message: await openpgp.createMessage({ binary: data }), encryptionKeys: pub, signingKeys: priv, - format: 'binary' + format: 'binary', + config }); expect(stream.isStream(encrypted)).to.equal(expectedType); @@ -396,7 +398,8 @@ function tests() { verificationKeys: pub, decryptionKeys: priv, message, - format: 'binary' + format: 'binary', + config }); expect(stream.isStream(decrypted.data)).to.equal(expectedType); const reader = stream.getReader(decrypted.data); @@ -706,11 +709,13 @@ function tests() { privateKey: await openpgp.readKey({ armoredKey: brainpoolPriv }), passphrase: brainpoolPass }); + const config = { rejectCurves: new Set() }; const signed = await openpgp.sign({ message: await openpgp.createMessage({ binary: data }), signingKeys: priv, - detached: true + detached: true, + config }); expect(stream.isStream(signed)).to.equal(expectedType); const armoredSignature = await stream.readToEnd(signed); @@ -718,7 +723,8 @@ function tests() { const verified = await openpgp.verify({ signature, verificationKeys: pub, - message: await openpgp.createMessage({ text: 'hello world' }) + message: await openpgp.createMessage({ text: 'hello world' }), + config }); expect(verified.data).to.equal('hello world'); expect(verified.signatures).to.exist.and.have.length(1); From a599638ce2a0c7ad534ceae98bbcf30f50f40233 Mon Sep 17 00:00:00 2001 From: larabr Date: Thu, 19 Aug 2021 17:58:52 +0200 Subject: [PATCH 3/5] Docs: clarify content of returned `signatures` value in `openpgp.verify` and `decrypt` --- src/message.js | 2 +- src/openpgp.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/message.js b/src/message.js index 628f8bf60..94ba9c1a4 100644 --- a/src/message.js +++ b/src/message.js @@ -768,7 +768,7 @@ async function createVerificationObject(signature, literalDataList, verification * keyID: module:type/keyid~KeyID, * signature: Promise, * verified: Promise - * }>>} list of signer's keyID and validity of signatures + * }>>} list of signer's keyID and validity of signatures (one entry per signature packet in input) * @async * @private */ diff --git a/src/openpgp.js b/src/openpgp.js index a77739c1c..7a6f3048f 100644 --- a/src/openpgp.js +++ b/src/openpgp.js @@ -324,6 +324,8 @@ export async function encrypt({ message, encryptionKeys, signingKeys, passwords, * }, ... * ] * } + * + * where `signatures` contains a separate entry for each signature packet found in the input message. * @async * @static */ @@ -453,6 +455,8 @@ export async function sign({ message, signingKeys, format = 'armored', detached * }, ... * ] * } + * + * where `signatures` contains a separate entry for each signature packet found in the input message. * @async * @static */ From 4f1c474433ec9c52d1a3e652afd651e2219cd76c Mon Sep 17 00:00:00 2001 From: Daniel Huigens Date: Fri, 20 Aug 2021 15:34:03 +0200 Subject: [PATCH 4/5] 5.0.0-6 --- docs/AEADEncryptedDataPacket.html | 12 +- docs/CleartextMessage.html | 12 +- docs/CompressedDataPacket.html | 18 +- docs/Key.html | 54 ++--- docs/LiteralDataPacket.html | 20 +- docs/MarkerPacket.html | 4 +- docs/Message.html | 40 ++-- docs/OnePassSignaturePacket.html | 18 +- docs/PacketList.html | 14 +- docs/PrivateKey.html | 20 +- docs/PublicKey.html | 8 +- docs/PublicKeyEncryptedSessionKeyPacket.html | 12 +- docs/PublicKeyPacket.html | 46 ++--- docs/PublicSubkeyPacket.html | 46 ++--- docs/SecretKeyPacket.html | 70 +++---- docs/SecretSubkeyPacket.html | 70 +++---- docs/Signature.html | 8 +- docs/SignaturePacket.html | 18 +- ...EncryptedIntegrityProtectedDataPacket.html | 6 +- docs/SymEncryptedSessionKeyPacket.html | 10 +- docs/SymmetricallyEncryptedDataPacket.html | 10 +- docs/TrustPacket.html | 4 +- docs/UserAttributePacket.html | 8 +- docs/UserIDPacket.html | 10 +- docs/global.html | 62 +++--- docs/module-config.html | 193 +++++++++++++++--- docs/module-crypto_random-RandomBuffer.html | 8 +- docs/module-enums.html | 36 ++-- docs/module-key_Subkey-Subkey.html | 40 ++-- docs/module-key_User-User.html | 18 +- docs/module-type_kdf_params-KDFParams.html | 6 +- docs/module-type_keyid-KeyID.html | 14 +- docs/module-type_s2k-S2K.html | 16 +- package-lock.json | 2 +- package.json | 2 +- 35 files changed, 533 insertions(+), 402 deletions(-) diff --git a/docs/AEADEncryptedDataPacket.html b/docs/AEADEncryptedDataPacket.html index 2d02f8160..9a37f6d13 100644 --- a/docs/AEADEncryptedDataPacket.html +++ b/docs/AEADEncryptedDataPacket.html @@ -98,7 +98,7 @@

Source:
@@ -309,7 +309,7 @@
Parameters:
Source:
@@ -540,7 +540,7 @@
Parameters:
Source:
@@ -782,7 +782,7 @@
Parameters:
Source:
@@ -953,7 +953,7 @@
Parameters:
Source:
@@ -1043,7 +1043,7 @@

writeSource:
diff --git a/docs/CleartextMessage.html b/docs/CleartextMessage.html index 530764e04..208b20e49 100644 --- a/docs/CleartextMessage.html +++ b/docs/CleartextMessage.html @@ -168,7 +168,7 @@
Parameters:
Source:
@@ -346,7 +346,7 @@
Parameters:
Source:
@@ -461,7 +461,7 @@

getSi
Source:
@@ -573,7 +573,7 @@

getTextSource:
@@ -937,7 +937,7 @@
Parameters:
Source:
@@ -1174,7 +1174,7 @@
Parameters:
Source:
diff --git a/docs/CompressedDataPacket.html b/docs/CompressedDataPacket.html index c6eec1c4a..37e5f92dd 100644 --- a/docs/CompressedDataPacket.html +++ b/docs/CompressedDataPacket.html @@ -160,7 +160,7 @@
Parameters:
Source:
@@ -266,7 +266,7 @@
Type:
Source:
@@ -343,7 +343,7 @@
Type:
Source:
@@ -407,7 +407,7 @@

deflateLe
Source:
@@ -481,7 +481,7 @@

Type:
Source:
@@ -563,7 +563,7 @@

compressSource:
@@ -715,7 +715,7 @@
Parameters:
Source:
@@ -900,7 +900,7 @@
Parameters:
Source:
@@ -990,7 +990,7 @@

writeSource:
diff --git a/docs/Key.html b/docs/Key.html index 06bb93d0c..adf9d1b4d 100644 --- a/docs/Key.html +++ b/docs/Key.html @@ -96,7 +96,7 @@

new KeySource:
@@ -333,7 +333,7 @@
Parameters:
Source:
@@ -514,7 +514,7 @@
Parameters:
Source:
@@ -626,7 +626,7 @@

getAl
Source:
@@ -738,7 +738,7 @@

getCre
Source:
@@ -1006,7 +1006,7 @@

Parameters:
Source:
@@ -1225,7 +1225,7 @@
Parameters:
Source:
@@ -1333,7 +1333,7 @@

getFing
Source:
@@ -1445,7 +1445,7 @@

getKeyIDSource:
@@ -1557,7 +1557,7 @@

getKeyIDsSource:
@@ -1735,7 +1735,7 @@
Parameters:
Source:
@@ -1978,7 +1978,7 @@
Parameters:
Source:
@@ -2183,7 +2183,7 @@
Parameters:
Source:
@@ -2475,7 +2475,7 @@
Parameters:
Source:
@@ -2669,7 +2669,7 @@
Parameters:
Source:
@@ -2781,7 +2781,7 @@

getUserIDs<
Source:
@@ -2893,7 +2893,7 @@

h
Source:
@@ -3170,7 +3170,7 @@

Parameters:
Source:
@@ -3354,7 +3354,7 @@
Parameters:
Source:
@@ -3569,7 +3569,7 @@
Parameters:
Source:
@@ -3839,7 +3839,7 @@
Parameters:
Source:
@@ -3951,7 +3951,7 @@

toPacketL
Source:
@@ -4192,7 +4192,7 @@

Parameters:
Source:
@@ -4435,7 +4435,7 @@
Parameters:
Source:
@@ -4676,7 +4676,7 @@
Parameters:
Source:
@@ -4959,7 +4959,7 @@
Parameters:
Source:
@@ -5072,7 +5072,7 @@

writeSource:
diff --git a/docs/LiteralDataPacket.html b/docs/LiteralDataPacket.html index 3a21e93f1..7ab3198c1 100644 --- a/docs/LiteralDataPacket.html +++ b/docs/LiteralDataPacket.html @@ -147,7 +147,7 @@
Parameters:
Source:
@@ -326,7 +326,7 @@
Parameters:
Source:
@@ -441,7 +441,7 @@

getFilenam
Source:
@@ -623,7 +623,7 @@

Parameters:
Source:
@@ -790,7 +790,7 @@
Parameters:
Source:
@@ -986,7 +986,7 @@
Parameters:
Source:
@@ -1125,7 +1125,7 @@
Parameters:
Source:
@@ -1332,7 +1332,7 @@
Parameters:
Source:
@@ -1422,7 +1422,7 @@

writeSource:
@@ -1537,7 +1537,7 @@

writeHeade
Source:
diff --git a/docs/MarkerPacket.html b/docs/MarkerPacket.html index 7d2947bab..787d22365 100644 --- a/docs/MarkerPacket.html +++ b/docs/MarkerPacket.html @@ -106,7 +106,7 @@

new Marke
Source:
@@ -265,7 +265,7 @@

Parameters:
Source:
diff --git a/docs/Message.html b/docs/Message.html index 68e87f3c2..54910fde2 100644 --- a/docs/Message.html +++ b/docs/Message.html @@ -146,7 +146,7 @@
Parameters:
Source:
@@ -661,7 +661,7 @@
Parameters:
Source:
@@ -933,7 +933,7 @@
Parameters:
Source:
@@ -1140,7 +1140,7 @@
Parameters:
Source:
@@ -1291,7 +1291,7 @@
Parameters:
Source:
@@ -1495,7 +1495,7 @@
Parameters:
Source:
@@ -1800,7 +1800,7 @@
Parameters:
Source:
@@ -2072,7 +2072,7 @@
Parameters:
Source:
@@ -2512,7 +2512,7 @@
Parameters:
Source:
@@ -2624,7 +2624,7 @@

ge
Source:
@@ -2736,7 +2736,7 @@

getFilenam
Source:
@@ -2851,7 +2851,7 @@

getLite
Source:
@@ -2966,7 +2966,7 @@

getSi
Source:
@@ -3078,7 +3078,7 @@

getTextSource:
@@ -3445,7 +3445,7 @@
Parameters:
Source:
@@ -3809,7 +3809,7 @@
Parameters:
Source:
@@ -3921,7 +3921,7 @@

unwra
Source:
@@ -4158,7 +4158,7 @@

Parameters:
Source:
@@ -4424,7 +4424,7 @@
Parameters:
Source:
@@ -4536,7 +4536,7 @@

writeSource:
diff --git a/docs/OnePassSignaturePacket.html b/docs/OnePassSignaturePacket.html index 1580e6471..f69cfadc9 100644 --- a/docs/OnePassSignaturePacket.html +++ b/docs/OnePassSignaturePacket.html @@ -101,7 +101,7 @@

Source:
@@ -199,7 +199,7 @@

flagsSource:
@@ -263,7 +263,7 @@

hashAlgo
Source:
@@ -334,7 +334,7 @@

issuerKeyI
Source:
@@ -398,7 +398,7 @@

pub
Source:
@@ -471,7 +471,7 @@

signatur
Source:
@@ -535,7 +535,7 @@

versionSource:
@@ -666,7 +666,7 @@
Parameters:
Source:
@@ -778,7 +778,7 @@

writeSource:
diff --git a/docs/PacketList.html b/docs/PacketList.html index 6ce4f98fc..77a905231 100644 --- a/docs/PacketList.html +++ b/docs/PacketList.html @@ -97,7 +97,7 @@

new PacketL
Source:
@@ -345,7 +345,7 @@

Parameters:
Source:
@@ -530,7 +530,7 @@
Parameters:
Source:
@@ -687,7 +687,7 @@
Parameters:
Source:
@@ -859,7 +859,7 @@
Parameters:
Source:
@@ -1097,7 +1097,7 @@
Parameters:
Source:
@@ -1200,7 +1200,7 @@

writeSource:
diff --git a/docs/PrivateKey.html b/docs/PrivateKey.html index 09bb16ad8..3bd9a1d8e 100644 --- a/docs/PrivateKey.html +++ b/docs/PrivateKey.html @@ -144,7 +144,7 @@
Parameters:
Source:
@@ -445,7 +445,7 @@
Parameters:
Source:
@@ -614,7 +614,7 @@
Parameters:
Source:
@@ -726,7 +726,7 @@

cle
Source:
@@ -971,7 +971,7 @@

Parameters:
Source:
@@ -1084,7 +1084,7 @@

isDecrypte
Source:
@@ -1174,7 +1174,7 @@

isPrivateSource:
@@ -1477,7 +1477,7 @@
Properties
Source:
@@ -1589,7 +1589,7 @@

toPublicSource:
@@ -1766,7 +1766,7 @@
Parameters:
Source:
diff --git a/docs/PublicKey.html b/docs/PublicKey.html index 07354876b..a3eab121f 100644 --- a/docs/PublicKey.html +++ b/docs/PublicKey.html @@ -144,7 +144,7 @@
Parameters:
Source:
@@ -315,7 +315,7 @@
Parameters:
Source:
@@ -427,7 +427,7 @@

isPrivateSource:
@@ -535,7 +535,7 @@

toPublicSource:
diff --git a/docs/PublicKeyEncryptedSessionKeyPacket.html b/docs/PublicKeyEncryptedSessionKeyPacket.html index cd34d8a50..e0ae1c272 100644 --- a/docs/PublicKeyEncryptedSessionKeyPacket.html +++ b/docs/PublicKeyEncryptedSessionKeyPacket.html @@ -107,7 +107,7 @@

Source:
@@ -209,7 +209,7 @@
Type:
Source:
@@ -341,7 +341,7 @@
Parameters:
Source:
@@ -509,7 +509,7 @@
Parameters:
Source:
@@ -677,7 +677,7 @@
Parameters:
Source:
@@ -767,7 +767,7 @@

writeSource:
diff --git a/docs/PublicKeyPacket.html b/docs/PublicKeyPacket.html index f54805ffb..379eca459 100644 --- a/docs/PublicKeyPacket.html +++ b/docs/PublicKeyPacket.html @@ -195,7 +195,7 @@
Parameters:
Source:
@@ -301,7 +301,7 @@
Type:
Source:
@@ -375,7 +375,7 @@
Type:
Source:
@@ -449,7 +449,7 @@
Type:
Source:
@@ -523,7 +523,7 @@
Type:
Source:
@@ -597,7 +597,7 @@
Type:
Source:
@@ -671,7 +671,7 @@
Type:
Source:
@@ -735,7 +735,7 @@

readPubl
Source:
@@ -816,7 +816,7 @@

Type:
Source:
@@ -880,7 +880,7 @@

writePu
Source:
@@ -1018,7 +1018,7 @@

Parameters:
Source:
@@ -1130,7 +1130,7 @@

(async) Source:
@@ -1220,7 +1220,7 @@

(a
Source:
@@ -1310,7 +1310,7 @@

getAl
Source:
@@ -1422,7 +1422,7 @@

getCre
Source:
@@ -1530,7 +1530,7 @@

getFing
Source:
@@ -1642,7 +1642,7 @@

ge
Source:
@@ -1754,7 +1754,7 @@

getKeyIDSource:
@@ -1866,7 +1866,7 @@

h
Source:
@@ -1978,7 +1978,7 @@

isDecrypte
Source:
@@ -2138,7 +2138,7 @@

Parameters:
Source:
@@ -2250,7 +2250,7 @@

writeSource:
@@ -2411,7 +2411,7 @@
Parameters:
Source:
diff --git a/docs/PublicSubkeyPacket.html b/docs/PublicSubkeyPacket.html index 82ade7711..80483c0a6 100644 --- a/docs/PublicSubkeyPacket.html +++ b/docs/PublicSubkeyPacket.html @@ -193,7 +193,7 @@
Parameters:
Source:
@@ -315,7 +315,7 @@
Type:
Source:
@@ -394,7 +394,7 @@
Type:
Source:
@@ -473,7 +473,7 @@
Type:
Source:
@@ -552,7 +552,7 @@
Type:
Source:
@@ -631,7 +631,7 @@
Type:
Source:
@@ -710,7 +710,7 @@
Type:
Source:
@@ -779,7 +779,7 @@

readPubl
Source:
@@ -865,7 +865,7 @@

Type:
Source:
@@ -934,7 +934,7 @@

writePu
Source:
@@ -1072,7 +1072,7 @@

Parameters:
Source:
@@ -1189,7 +1189,7 @@

(async) Source:
@@ -1284,7 +1284,7 @@

(a
Source:
@@ -1379,7 +1379,7 @@

getAl
Source:
@@ -1496,7 +1496,7 @@

getCre
Source:
@@ -1609,7 +1609,7 @@

getFing
Source:
@@ -1726,7 +1726,7 @@

ge
Source:
@@ -1843,7 +1843,7 @@

getKeyIDSource:
@@ -1960,7 +1960,7 @@

h
Source:
@@ -2077,7 +2077,7 @@

isDecrypte
Source:
@@ -2242,7 +2242,7 @@

Parameters:
Source:
@@ -2359,7 +2359,7 @@

writeSource:
@@ -2525,7 +2525,7 @@
Parameters:
Source:
diff --git a/docs/SecretKeyPacket.html b/docs/SecretKeyPacket.html index 011889f3b..7cad9b68f 100644 --- a/docs/SecretKeyPacket.html +++ b/docs/SecretKeyPacket.html @@ -191,7 +191,7 @@
Parameters:
Source:
@@ -308,7 +308,7 @@
Type:
Source:
@@ -387,7 +387,7 @@
Type:
Source:
@@ -466,7 +466,7 @@
Type:
Source:
@@ -545,7 +545,7 @@
Type:
Source:
@@ -624,7 +624,7 @@
Type:
Source:
@@ -688,7 +688,7 @@

isEncrypte
Source:
@@ -767,7 +767,7 @@

Type:
Source:
@@ -831,7 +831,7 @@

keyMateria
Source:
@@ -905,7 +905,7 @@

Type:
Source:
@@ -984,7 +984,7 @@
Type:
Source:
@@ -1053,7 +1053,7 @@

readPubl
Source:
@@ -1134,7 +1134,7 @@

Type:
Source:
@@ -1208,7 +1208,7 @@
Type:
Source:
@@ -1282,7 +1282,7 @@
Type:
Source:
@@ -1361,7 +1361,7 @@
Type:
Source:
@@ -1430,7 +1430,7 @@

writePu
Source:
@@ -1519,7 +1519,7 @@

cle
Source:
@@ -1614,7 +1614,7 @@

(async) Source:
@@ -1709,7 +1709,7 @@

(a
Source:
@@ -1851,7 +1851,7 @@
Parameters:
Source:
@@ -2065,7 +2065,7 @@
Parameters:
Source:
@@ -2189,7 +2189,7 @@

getAl
Source:
@@ -2306,7 +2306,7 @@

getCre
Source:
@@ -2419,7 +2419,7 @@

getFing
Source:
@@ -2536,7 +2536,7 @@

ge
Source:
@@ -2653,7 +2653,7 @@

getKeyIDSource:
@@ -2770,7 +2770,7 @@

h
Source:
@@ -2888,7 +2888,7 @@

isDecrypte
Source:
@@ -2999,7 +2999,7 @@

isDummySource:
@@ -3169,7 +3169,7 @@
Parameters:
Source:
@@ -3314,7 +3314,7 @@
Parameters:
Source:
@@ -3404,7 +3404,7 @@

(async) valid
Source:
@@ -3528,7 +3528,7 @@

writeSource:
@@ -3694,7 +3694,7 @@
Parameters:
Source:
diff --git a/docs/SecretSubkeyPacket.html b/docs/SecretSubkeyPacket.html index d19d614a5..0cfca12ee 100644 --- a/docs/SecretSubkeyPacket.html +++ b/docs/SecretSubkeyPacket.html @@ -190,7 +190,7 @@
Parameters:
Source:
@@ -312,7 +312,7 @@
Type:
Source:
@@ -391,7 +391,7 @@
Type:
Source:
@@ -470,7 +470,7 @@
Type:
Source:
@@ -549,7 +549,7 @@
Type:
Source:
@@ -628,7 +628,7 @@
Type:
Source:
@@ -697,7 +697,7 @@

isEncrypte
Source:
@@ -776,7 +776,7 @@

Type:
Source:
@@ -845,7 +845,7 @@

keyMateria
Source:
@@ -924,7 +924,7 @@

Type:
Source:
@@ -1003,7 +1003,7 @@
Type:
Source:
@@ -1072,7 +1072,7 @@

readPubl
Source:
@@ -1158,7 +1158,7 @@

Type:
Source:
@@ -1237,7 +1237,7 @@
Type:
Source:
@@ -1316,7 +1316,7 @@
Type:
Source:
@@ -1395,7 +1395,7 @@
Type:
Source:
@@ -1464,7 +1464,7 @@

writePu
Source:
@@ -1558,7 +1558,7 @@

cle
Source:
@@ -1653,7 +1653,7 @@

(async) Source:
@@ -1748,7 +1748,7 @@

(a
Source:
@@ -1895,7 +1895,7 @@
Parameters:
Source:
@@ -2114,7 +2114,7 @@
Parameters:
Source:
@@ -2238,7 +2238,7 @@

getAl
Source:
@@ -2355,7 +2355,7 @@

getCre
Source:
@@ -2468,7 +2468,7 @@

getFing
Source:
@@ -2585,7 +2585,7 @@

ge
Source:
@@ -2702,7 +2702,7 @@

getKeyIDSource:
@@ -2819,7 +2819,7 @@

h
Source:
@@ -2937,7 +2937,7 @@

isDecrypte
Source:
@@ -3053,7 +3053,7 @@

isDummySource:
@@ -3228,7 +3228,7 @@
Parameters:
Source:
@@ -3373,7 +3373,7 @@
Parameters:
Source:
@@ -3468,7 +3468,7 @@

(async) valid
Source:
@@ -3592,7 +3592,7 @@

writeSource:
@@ -3758,7 +3758,7 @@
Parameters:
Source:
diff --git a/docs/Signature.html b/docs/Signature.html index f93ebcd87..108e1cee8 100644 --- a/docs/Signature.html +++ b/docs/Signature.html @@ -144,7 +144,7 @@
Parameters:
Source:
@@ -322,7 +322,7 @@
Parameters:
Source:
@@ -434,7 +434,7 @@

getSi
Source:
@@ -546,7 +546,7 @@

writeSource:
diff --git a/docs/SignaturePacket.html b/docs/SignaturePacket.html index 2f1d752c3..6b3810e26 100644 --- a/docs/SignaturePacket.html +++ b/docs/SignaturePacket.html @@ -99,7 +99,7 @@

new Si
Source:
@@ -209,7 +209,7 @@

getE
Source:
@@ -385,7 +385,7 @@

Parameters:
Source:
@@ -546,7 +546,7 @@
Parameters:
Source:
@@ -834,7 +834,7 @@
Parameters:
Source:
@@ -1213,7 +1213,7 @@
Parameters:
Source:
@@ -1332,7 +1332,7 @@

Source:
@@ -1440,7 +1440,7 @@

writeParam
Source:
@@ -1551,7 +1551,7 @@

Source:
diff --git a/docs/SymEncryptedIntegrityProtectedDataPacket.html b/docs/SymEncryptedIntegrityProtectedDataPacket.html index 6963a0d30..44f776c8e 100644 --- a/docs/SymEncryptedIntegrityProtectedDataPacket.html +++ b/docs/SymEncryptedIntegrityProtectedDataPacket.html @@ -101,7 +101,7 @@

Source:
@@ -334,7 +334,7 @@
Parameters:
Source:
@@ -565,7 +565,7 @@
Parameters:
Source:
diff --git a/docs/SymEncryptedSessionKeyPacket.html b/docs/SymEncryptedSessionKeyPacket.html index 043c8067d..898deef96 100644 --- a/docs/SymEncryptedSessionKeyPacket.html +++ b/docs/SymEncryptedSessionKeyPacket.html @@ -165,7 +165,7 @@
Parameters:
Source:
@@ -324,7 +324,7 @@
Parameters:
Source:
@@ -535,7 +535,7 @@
Parameters:
Source:
@@ -703,7 +703,7 @@
Parameters:
Source:
@@ -793,7 +793,7 @@

writeSource:
diff --git a/docs/SymmetricallyEncryptedDataPacket.html b/docs/SymmetricallyEncryptedDataPacket.html index 2701a1cf2..3e13193f5 100644 --- a/docs/SymmetricallyEncryptedDataPacket.html +++ b/docs/SymmetricallyEncryptedDataPacket.html @@ -101,7 +101,7 @@

Source:
@@ -197,7 +197,7 @@

encryptedSource:
@@ -271,7 +271,7 @@
Type:
Source:
@@ -477,7 +477,7 @@
Parameters:
Source:
@@ -720,7 +720,7 @@
Parameters:
Source:
diff --git a/docs/TrustPacket.html b/docs/TrustPacket.html index 104d67483..b31e48c9e 100644 --- a/docs/TrustPacket.html +++ b/docs/TrustPacket.html @@ -105,7 +105,7 @@

new TrustP
Source:
@@ -216,7 +216,7 @@

readSource:
diff --git a/docs/UserAttributePacket.html b/docs/UserAttributePacket.html index 877bd130e..94b38ca94 100644 --- a/docs/UserAttributePacket.html +++ b/docs/UserAttributePacket.html @@ -107,7 +107,7 @@

ne
Source:
@@ -266,7 +266,7 @@

Parameters:
Source:
@@ -427,7 +427,7 @@
Parameters:
Source:
@@ -517,7 +517,7 @@

writeSource:
diff --git a/docs/UserIDPacket.html b/docs/UserIDPacket.html index 3ee636f40..f2bb9491a 100644 --- a/docs/UserIDPacket.html +++ b/docs/UserIDPacket.html @@ -100,7 +100,7 @@

new UserI
Source:
@@ -207,7 +207,7 @@

Type:
Source:
@@ -338,7 +338,7 @@
Parameters:
Source:
@@ -495,7 +495,7 @@
Parameters:
Source:
@@ -585,7 +585,7 @@

writeSource:
diff --git a/docs/global.html b/docs/global.html index 20cad1b61..f6015a8e5 100644 --- a/docs/global.html +++ b/docs/global.html @@ -352,7 +352,7 @@
Parameters:
Source:
@@ -565,7 +565,7 @@
Properties
Source:
@@ -704,7 +704,7 @@
Parameters:
Source:
@@ -1113,7 +1113,7 @@
Properties
Source:
@@ -1694,7 +1694,7 @@
Properties
Source:
@@ -1735,7 +1735,9 @@
Returns:
signature: Promise<Signature> }, ... ] -} +} + +where `signatures` contains a separate entry for each signature packet found in the input message. @@ -1994,7 +1996,7 @@
Properties
Source:
@@ -2353,7 +2355,7 @@
Properties
Source:
@@ -3115,7 +3117,7 @@
Properties
Source:
@@ -3403,7 +3405,7 @@
Properties
Source:
@@ -4023,7 +4025,7 @@
Properties
Source:
@@ -4239,7 +4241,7 @@
Parameters:
Source:
@@ -4832,7 +4834,7 @@
Properties
Source:
@@ -5180,7 +5182,7 @@
Properties
Source:
@@ -5364,7 +5366,7 @@
Parameters:
Source:
@@ -5649,7 +5651,7 @@
Properties
Source:
@@ -5937,7 +5939,7 @@
Properties
Source:
@@ -6225,7 +6227,7 @@
Properties
Source:
@@ -6519,7 +6521,7 @@
Properties
Source:
@@ -6807,7 +6809,7 @@
Properties
Source:
@@ -7095,7 +7097,7 @@
Properties
Source:
@@ -7383,7 +7385,7 @@
Properties
Source:
@@ -7844,7 +7846,7 @@
Properties
Source:
@@ -8373,7 +8375,7 @@
Properties
Source:
@@ -8886,7 +8888,7 @@
Properties
Source:
@@ -9048,7 +9050,7 @@
Parameters:
Source:
@@ -9510,7 +9512,7 @@
Properties
Source:
@@ -9550,7 +9552,9 @@
Returns:
signature: Promise<Signature> }, ... ] -} +} + +where `signatures` contains a separate entry for each signature packet found in the input message. @@ -9752,7 +9756,7 @@
Parameters:
Source:
diff --git a/docs/module-config.html b/docs/module-config.html index 1481a9860..f88dc0887 100644 --- a/docs/module-config.html +++ b/docs/module-config.html @@ -89,7 +89,7 @@

Module: config

Source:
@@ -247,7 +247,7 @@
Properties:
Source:
@@ -365,7 +365,7 @@
Properties:
Source:
@@ -490,7 +490,7 @@
Properties:
Source:
@@ -611,7 +611,7 @@
Properties:
Source:
@@ -728,7 +728,7 @@
Properties:
Source:
@@ -840,7 +840,7 @@
Properties:
Source:
@@ -952,7 +952,7 @@
Properties:
Source:
@@ -1064,7 +1064,7 @@
Properties:
Source:
@@ -1176,7 +1176,7 @@
Properties:
Source:
@@ -1288,7 +1288,7 @@
Properties:
Source:
@@ -1405,7 +1405,7 @@
Properties:
Source:
@@ -1521,7 +1521,7 @@
Properties:
Source:
@@ -1633,7 +1633,7 @@
Properties:
Source:
@@ -1656,6 +1656,11 @@

(static) m +
+

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.

+
+ @@ -1704,7 +1709,7 @@

Properties:
-

Minimum RSA key size allowed for key generation and message signing, verification and encryption

+ @@ -1745,7 +1750,7 @@
Properties:
Source:
@@ -1862,7 +1867,7 @@
Properties:
Source:
@@ -1979,7 +1984,7 @@
Properties:
Source:
@@ -2091,7 +2096,7 @@
Properties:
Source:
@@ -2203,7 +2208,7 @@
Properties:
Source:
@@ -2315,7 +2320,123 @@
Properties:
Source:
+ + + + + + + + + + + + + + + + +

(static) rejectCurves

+ + + + +
+

Reject non-standard curves for key generation, message encryption, signing or verification

+
+ + + + + + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
rejectCurves + + +Set.<String> + + + +

module:enums.curve

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -2431,7 +2552,7 @@
Properties:
Source:
@@ -2547,7 +2668,7 @@
Properties:
Source:
@@ -2571,7 +2692,7 @@

(s
-

Reject insecure public key algorithms for message encryption, signing or verification

+

Reject insecure public key algorithms for key generation and message encryption, signing or verification

@@ -2663,7 +2784,7 @@
Properties:
Source:
@@ -2775,7 +2896,7 @@
Properties:
Source:
@@ -2892,7 +3013,7 @@
Properties:
Source:
@@ -3004,7 +3125,7 @@
Properties:
Source:
@@ -3116,7 +3237,7 @@
Properties:
Source:
@@ -3139,6 +3260,12 @@

(static) +
+

Whether to use the indutny/elliptic library for curves (other than Curve25519) that are not supported by the available native crypto API. +When false, certain standard curves will not be supported (depending on the platform). +Note: the indutny/elliptic curve library is not designed to be constant time.

+
+ @@ -3187,7 +3314,7 @@
Properties:
-

Whether to use the indutny/elliptic library. When false, certain curves will not be supported.

+ @@ -3228,7 +3355,7 @@
Properties:
Source:
@@ -3346,7 +3473,7 @@
Properties:
Source:
@@ -3458,7 +3585,7 @@
Properties:
Source:
diff --git a/docs/module-crypto_random-RandomBuffer.html b/docs/module-crypto_random-RandomBuffer.html index 000cf89d9..4dac2e545 100644 --- a/docs/module-crypto_random-RandomBuffer.html +++ b/docs/module-crypto_random-RandomBuffer.html @@ -95,7 +95,7 @@

new Rando
Source:
@@ -254,7 +254,7 @@

Parameters:
Source:
@@ -393,7 +393,7 @@
Parameters:
Source:
@@ -532,7 +532,7 @@
Parameters:
Source:
diff --git a/docs/module-enums.html b/docs/module-enums.html index eb497bfa0..761810135 100644 --- a/docs/module-enums.html +++ b/docs/module-enums.html @@ -212,7 +212,7 @@
Properties:
Source:
@@ -476,7 +476,7 @@
Properties:
Source:
@@ -671,7 +671,7 @@
Properties:
Source:
@@ -1878,7 +1878,7 @@
Properties:
Source:
@@ -2059,7 +2059,7 @@
Properties:
Source:
@@ -2323,7 +2323,7 @@
Properties:
Source:
@@ -2589,7 +2589,7 @@
Properties:
Source:
@@ -2784,7 +2784,7 @@
Properties:
Source:
@@ -3301,7 +3301,7 @@
Properties:
Source:
@@ -3635,7 +3635,7 @@
Properties:
Source:
@@ -3853,7 +3853,7 @@
Properties:
Source:
@@ -4048,7 +4048,7 @@
Properties:
Source:
@@ -4565,7 +4565,7 @@
Properties:
Source:
@@ -5266,7 +5266,7 @@
Properties:
Source:
@@ -5576,7 +5576,7 @@
Properties:
Source:
@@ -5772,7 +5772,7 @@
Properties:
Source:
@@ -5854,7 +5854,7 @@

(static) readSource:
@@ -5944,7 +5944,7 @@

(static) write<
Source:
diff --git a/docs/module-key_Subkey-Subkey.html b/docs/module-key_Subkey-Subkey.html index 2390790ba..04c928d30 100644 --- a/docs/module-key_Subkey-Subkey.html +++ b/docs/module-key_Subkey-Subkey.html @@ -170,7 +170,7 @@

Parameters:
Source:
@@ -280,7 +280,7 @@

cloneSource:
@@ -393,7 +393,7 @@

getAl
Source:
@@ -510,7 +510,7 @@

getAl
Source:
@@ -627,7 +627,7 @@

getCre
Source:
@@ -740,7 +740,7 @@

getCre
Source:
@@ -941,7 +941,7 @@

Parameters:
Source:
@@ -1054,7 +1054,7 @@

getFing
Source:
@@ -1171,7 +1171,7 @@

getFing
Source:
@@ -1288,7 +1288,7 @@

getKeyIDSource:
@@ -1405,7 +1405,7 @@

getKeyIDSource:
@@ -1522,7 +1522,7 @@

h
Source:
@@ -1639,7 +1639,7 @@

h
Source:
@@ -1756,7 +1756,7 @@

isDecrypte
Source:
@@ -1872,7 +1872,7 @@

isDecrypte
Source:
@@ -2148,7 +2148,7 @@

Parameters:
Source:
@@ -2486,7 +2486,7 @@
Properties
Source:
@@ -2598,7 +2598,7 @@

toPacketL
Source:
@@ -2831,7 +2831,7 @@

Parameters:
Source:
@@ -3043,7 +3043,7 @@
Parameters:
Source:
diff --git a/docs/module-key_User-User.html b/docs/module-key_User-User.html index 3a556c65a..08037eb89 100644 --- a/docs/module-key_User-User.html +++ b/docs/module-key_User-User.html @@ -170,7 +170,7 @@
Parameters:
Source:
@@ -403,7 +403,7 @@
Parameters:
Source:
@@ -515,7 +515,7 @@

cloneSource:
@@ -788,7 +788,7 @@
Parameters:
Source:
@@ -900,7 +900,7 @@

toPacketL
Source:
@@ -1103,7 +1103,7 @@

Parameters:
Source:
@@ -1284,7 +1284,7 @@
Parameters:
Source:
@@ -1548,7 +1548,7 @@
Parameters:
Source:
@@ -1815,7 +1815,7 @@
Parameters:
Source:
diff --git a/docs/module-type_kdf_params-KDFParams.html b/docs/module-type_kdf_params-KDFParams.html index fbff2aab1..75e7e75d7 100644 --- a/docs/module-type_kdf_params-KDFParams.html +++ b/docs/module-type_kdf_params-KDFParams.html @@ -163,7 +163,7 @@
Parameters:
Source:
@@ -322,7 +322,7 @@
Parameters:
Source:
@@ -434,7 +434,7 @@

writeSource:
diff --git a/docs/module-type_keyid-KeyID.html b/docs/module-type_keyid-KeyID.html index 69a7741c0..913807f9c 100644 --- a/docs/module-type_keyid-KeyID.html +++ b/docs/module-type_keyid-KeyID.html @@ -100,7 +100,7 @@

new KeyIDSource:
@@ -294,7 +294,7 @@
Parameters:
Source:
@@ -384,7 +384,7 @@

isNullSource:
@@ -496,7 +496,7 @@

isWildcard<
Source:
@@ -657,7 +657,7 @@

Parameters:
Source:
@@ -747,7 +747,7 @@

toHexSource:
@@ -859,7 +859,7 @@

writeSource:
diff --git a/docs/module-type_s2k-S2K.html b/docs/module-type_s2k-S2K.html index 10975c58b..0a314deb7 100644 --- a/docs/module-type_s2k-S2K.html +++ b/docs/module-type_s2k-S2K.html @@ -152,7 +152,7 @@
Parameters:
Source:
@@ -254,7 +254,7 @@
Type:
Source:
@@ -324,7 +324,7 @@
Type:
Source:
@@ -398,7 +398,7 @@
Type:
Source:
@@ -468,7 +468,7 @@
Type:
Source:
@@ -600,7 +600,7 @@
Parameters:
Source:
@@ -762,7 +762,7 @@
Parameters:
Source:
@@ -874,7 +874,7 @@

writeSource:
diff --git a/package-lock.json b/package-lock.json index 75a0375ba..10026648f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "openpgp", - "version": "5.0.0-5", + "version": "5.0.0-6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 3601b9c43..0d44c39bb 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-5", + "version": "5.0.0-6", "license": "LGPL-3.0+", "homepage": "https://openpgpjs.org/", "engines": { From acafb2866128d11dd55b7d0927957cd3880c7422 Mon Sep 17 00:00:00 2001 From: Daniel Huigens Date: Thu, 2 Sep 2021 17:09:02 +0200 Subject: [PATCH 5/5] 5.0.0 --- docs/AEADEncryptedDataPacket.html | 12 ++-- docs/CleartextMessage.html | 12 ++-- docs/CompressedDataPacket.html | 18 ++--- docs/Key.html | 54 +++++++------- docs/LiteralDataPacket.html | 20 +++--- docs/MarkerPacket.html | 4 +- docs/Message.html | 40 +++++------ docs/OnePassSignaturePacket.html | 18 ++--- docs/PacketList.html | 14 ++-- docs/PrivateKey.html | 20 +++--- docs/PublicKey.html | 8 +-- docs/PublicKeyEncryptedSessionKeyPacket.html | 12 ++-- docs/PublicKeyPacket.html | 46 ++++++------ docs/PublicSubkeyPacket.html | 46 ++++++------ docs/SecretKeyPacket.html | 70 +++++++++---------- docs/SecretSubkeyPacket.html | 70 +++++++++---------- docs/Signature.html | 8 +-- docs/SignaturePacket.html | 18 ++--- ...EncryptedIntegrityProtectedDataPacket.html | 6 +- docs/SymEncryptedSessionKeyPacket.html | 10 +-- docs/SymmetricallyEncryptedDataPacket.html | 10 +-- docs/TrustPacket.html | 4 +- docs/UserAttributePacket.html | 8 +-- docs/UserIDPacket.html | 10 +-- docs/global.html | 54 +++++++------- docs/module-config.html | 62 ++++++++-------- docs/module-crypto_random-RandomBuffer.html | 8 +-- docs/module-enums.html | 36 +++++----- docs/module-key_Subkey-Subkey.html | 40 +++++------ docs/module-key_User-User.html | 18 ++--- docs/module-type_kdf_params-KDFParams.html | 6 +- docs/module-type_keyid-KeyID.html | 14 ++-- docs/module-type_s2k-S2K.html | 16 ++--- package-lock.json | 2 +- package.json | 2 +- 35 files changed, 398 insertions(+), 398 deletions(-) diff --git a/docs/AEADEncryptedDataPacket.html b/docs/AEADEncryptedDataPacket.html index 9a37f6d13..db5b3a96c 100644 --- a/docs/AEADEncryptedDataPacket.html +++ b/docs/AEADEncryptedDataPacket.html @@ -98,7 +98,7 @@

Source:
@@ -309,7 +309,7 @@
Parameters:
Source:
@@ -540,7 +540,7 @@
Parameters:
Source:
@@ -782,7 +782,7 @@
Parameters:
Source:
@@ -953,7 +953,7 @@
Parameters:
Source:
@@ -1043,7 +1043,7 @@

writeSource:
diff --git a/docs/CleartextMessage.html b/docs/CleartextMessage.html index 208b20e49..9ef79e45f 100644 --- a/docs/CleartextMessage.html +++ b/docs/CleartextMessage.html @@ -168,7 +168,7 @@
Parameters:
Source:
@@ -346,7 +346,7 @@
Parameters:
Source:
@@ -461,7 +461,7 @@

getSi
Source:
@@ -573,7 +573,7 @@

getTextSource:
@@ -937,7 +937,7 @@
Parameters:
Source:
@@ -1174,7 +1174,7 @@
Parameters:
Source:
diff --git a/docs/CompressedDataPacket.html b/docs/CompressedDataPacket.html index 37e5f92dd..bad53a514 100644 --- a/docs/CompressedDataPacket.html +++ b/docs/CompressedDataPacket.html @@ -160,7 +160,7 @@
Parameters:
Source:
@@ -266,7 +266,7 @@
Type:
Source:
@@ -343,7 +343,7 @@
Type:
Source:
@@ -407,7 +407,7 @@

deflateLe
Source:
@@ -481,7 +481,7 @@

Type:
Source:
@@ -563,7 +563,7 @@

compressSource:
@@ -715,7 +715,7 @@
Parameters:
Source:
@@ -900,7 +900,7 @@
Parameters:
Source:
@@ -990,7 +990,7 @@

writeSource:
diff --git a/docs/Key.html b/docs/Key.html index adf9d1b4d..689986c75 100644 --- a/docs/Key.html +++ b/docs/Key.html @@ -96,7 +96,7 @@

new KeySource:
@@ -333,7 +333,7 @@
Parameters:
Source:
@@ -514,7 +514,7 @@
Parameters:
Source:
@@ -626,7 +626,7 @@

getAl
Source:
@@ -738,7 +738,7 @@

getCre
Source:
@@ -1006,7 +1006,7 @@

Parameters:
Source:
@@ -1225,7 +1225,7 @@
Parameters:
Source:
@@ -1333,7 +1333,7 @@

getFing
Source:
@@ -1445,7 +1445,7 @@

getKeyIDSource:
@@ -1557,7 +1557,7 @@

getKeyIDsSource:
@@ -1735,7 +1735,7 @@
Parameters:
Source:
@@ -1978,7 +1978,7 @@
Parameters:
Source:
@@ -2183,7 +2183,7 @@
Parameters:
Source:
@@ -2475,7 +2475,7 @@
Parameters:
Source:
@@ -2669,7 +2669,7 @@
Parameters:
Source:
@@ -2781,7 +2781,7 @@

getUserIDs<
Source:
@@ -2893,7 +2893,7 @@

h
Source:
@@ -3170,7 +3170,7 @@

Parameters:
Source:
@@ -3354,7 +3354,7 @@
Parameters:
Source:
@@ -3569,7 +3569,7 @@
Parameters:
Source:
@@ -3839,7 +3839,7 @@
Parameters:
Source:
@@ -3951,7 +3951,7 @@

toPacketL
Source:
@@ -4192,7 +4192,7 @@

Parameters:
Source:
@@ -4435,7 +4435,7 @@
Parameters:
Source:
@@ -4676,7 +4676,7 @@
Parameters:
Source:
@@ -4959,7 +4959,7 @@
Parameters:
Source:
@@ -5072,7 +5072,7 @@

writeSource:
diff --git a/docs/LiteralDataPacket.html b/docs/LiteralDataPacket.html index 7ab3198c1..cd6caf3d4 100644 --- a/docs/LiteralDataPacket.html +++ b/docs/LiteralDataPacket.html @@ -147,7 +147,7 @@
Parameters:
Source:
@@ -326,7 +326,7 @@
Parameters:
Source:
@@ -441,7 +441,7 @@

getFilenam
Source:
@@ -623,7 +623,7 @@

Parameters:
Source:
@@ -790,7 +790,7 @@
Parameters:
Source:
@@ -986,7 +986,7 @@
Parameters:
Source:
@@ -1125,7 +1125,7 @@
Parameters:
Source:
@@ -1332,7 +1332,7 @@
Parameters:
Source:
@@ -1422,7 +1422,7 @@

writeSource:
@@ -1537,7 +1537,7 @@

writeHeade
Source:
diff --git a/docs/MarkerPacket.html b/docs/MarkerPacket.html index 787d22365..c05213dda 100644 --- a/docs/MarkerPacket.html +++ b/docs/MarkerPacket.html @@ -106,7 +106,7 @@

new Marke
Source:
@@ -265,7 +265,7 @@

Parameters:
Source:
diff --git a/docs/Message.html b/docs/Message.html index 54910fde2..c0de65fdb 100644 --- a/docs/Message.html +++ b/docs/Message.html @@ -146,7 +146,7 @@
Parameters:
Source:
@@ -661,7 +661,7 @@
Parameters:
Source:
@@ -933,7 +933,7 @@
Parameters:
Source:
@@ -1140,7 +1140,7 @@
Parameters:
Source:
@@ -1291,7 +1291,7 @@
Parameters:
Source:
@@ -1495,7 +1495,7 @@
Parameters:
Source:
@@ -1800,7 +1800,7 @@
Parameters:
Source:
@@ -2072,7 +2072,7 @@
Parameters:
Source:
@@ -2512,7 +2512,7 @@
Parameters:
Source:
@@ -2624,7 +2624,7 @@

ge
Source:
@@ -2736,7 +2736,7 @@

getFilenam
Source:
@@ -2851,7 +2851,7 @@

getLite
Source:
@@ -2966,7 +2966,7 @@

getSi
Source:
@@ -3078,7 +3078,7 @@

getTextSource:
@@ -3445,7 +3445,7 @@
Parameters:
Source:
@@ -3809,7 +3809,7 @@
Parameters:
Source:
@@ -3921,7 +3921,7 @@

unwra
Source:
@@ -4158,7 +4158,7 @@

Parameters:
Source:
@@ -4424,7 +4424,7 @@
Parameters:
Source:
@@ -4536,7 +4536,7 @@

writeSource:
diff --git a/docs/OnePassSignaturePacket.html b/docs/OnePassSignaturePacket.html index f69cfadc9..0aaa03bfd 100644 --- a/docs/OnePassSignaturePacket.html +++ b/docs/OnePassSignaturePacket.html @@ -101,7 +101,7 @@

Source:
@@ -199,7 +199,7 @@

flagsSource:
@@ -263,7 +263,7 @@

hashAlgo
Source:
@@ -334,7 +334,7 @@

issuerKeyI
Source:
@@ -398,7 +398,7 @@

pub
Source:
@@ -471,7 +471,7 @@

signatur
Source:
@@ -535,7 +535,7 @@

versionSource:
@@ -666,7 +666,7 @@
Parameters:
Source:
@@ -778,7 +778,7 @@

writeSource:
diff --git a/docs/PacketList.html b/docs/PacketList.html index 77a905231..19148e2d1 100644 --- a/docs/PacketList.html +++ b/docs/PacketList.html @@ -97,7 +97,7 @@

new PacketL
Source:
@@ -345,7 +345,7 @@

Parameters:
Source:
@@ -530,7 +530,7 @@
Parameters:
Source:
@@ -687,7 +687,7 @@
Parameters:
Source:
@@ -859,7 +859,7 @@
Parameters:
Source:
@@ -1097,7 +1097,7 @@
Parameters:
Source:
@@ -1200,7 +1200,7 @@

writeSource:
diff --git a/docs/PrivateKey.html b/docs/PrivateKey.html index 3bd9a1d8e..85b181e50 100644 --- a/docs/PrivateKey.html +++ b/docs/PrivateKey.html @@ -144,7 +144,7 @@
Parameters:
Source:
@@ -445,7 +445,7 @@
Parameters:
Source:
@@ -614,7 +614,7 @@
Parameters:
Source:
@@ -726,7 +726,7 @@

cle
Source:
@@ -971,7 +971,7 @@

Parameters:
Source:
@@ -1084,7 +1084,7 @@

isDecrypte
Source:
@@ -1174,7 +1174,7 @@

isPrivateSource:
@@ -1477,7 +1477,7 @@
Properties
Source:
@@ -1589,7 +1589,7 @@

toPublicSource:
@@ -1766,7 +1766,7 @@
Parameters:
Source:
diff --git a/docs/PublicKey.html b/docs/PublicKey.html index a3eab121f..2237c1aca 100644 --- a/docs/PublicKey.html +++ b/docs/PublicKey.html @@ -144,7 +144,7 @@
Parameters:
Source:
@@ -315,7 +315,7 @@
Parameters:
Source:
@@ -427,7 +427,7 @@

isPrivateSource:
@@ -535,7 +535,7 @@

toPublicSource:
diff --git a/docs/PublicKeyEncryptedSessionKeyPacket.html b/docs/PublicKeyEncryptedSessionKeyPacket.html index e0ae1c272..737350506 100644 --- a/docs/PublicKeyEncryptedSessionKeyPacket.html +++ b/docs/PublicKeyEncryptedSessionKeyPacket.html @@ -107,7 +107,7 @@

Source:
@@ -209,7 +209,7 @@
Type:
Source:
@@ -341,7 +341,7 @@
Parameters:
Source:
@@ -509,7 +509,7 @@
Parameters:
Source:
@@ -677,7 +677,7 @@
Parameters:
Source:
@@ -767,7 +767,7 @@

writeSource:
diff --git a/docs/PublicKeyPacket.html b/docs/PublicKeyPacket.html index 379eca459..a5b8c1fe1 100644 --- a/docs/PublicKeyPacket.html +++ b/docs/PublicKeyPacket.html @@ -195,7 +195,7 @@
Parameters:
Source:
@@ -301,7 +301,7 @@
Type:
Source:
@@ -375,7 +375,7 @@
Type:
Source:
@@ -449,7 +449,7 @@
Type:
Source:
@@ -523,7 +523,7 @@
Type:
Source:
@@ -597,7 +597,7 @@
Type:
Source:
@@ -671,7 +671,7 @@
Type:
Source:
@@ -735,7 +735,7 @@

readPubl
Source:
@@ -816,7 +816,7 @@

Type:
Source:
@@ -880,7 +880,7 @@

writePu
Source:
@@ -1018,7 +1018,7 @@

Parameters:
Source:
@@ -1130,7 +1130,7 @@

(async) Source:
@@ -1220,7 +1220,7 @@

(a
Source:
@@ -1310,7 +1310,7 @@

getAl
Source:
@@ -1422,7 +1422,7 @@

getCre
Source:
@@ -1530,7 +1530,7 @@

getFing
Source:
@@ -1642,7 +1642,7 @@

ge
Source:
@@ -1754,7 +1754,7 @@

getKeyIDSource:
@@ -1866,7 +1866,7 @@

h
Source:
@@ -1978,7 +1978,7 @@

isDecrypte
Source:
@@ -2138,7 +2138,7 @@

Parameters:
Source:
@@ -2250,7 +2250,7 @@

writeSource:
@@ -2411,7 +2411,7 @@
Parameters:
Source:
diff --git a/docs/PublicSubkeyPacket.html b/docs/PublicSubkeyPacket.html index 80483c0a6..1c81fbc0e 100644 --- a/docs/PublicSubkeyPacket.html +++ b/docs/PublicSubkeyPacket.html @@ -193,7 +193,7 @@
Parameters:
Source:
@@ -315,7 +315,7 @@
Type:
Source:
@@ -394,7 +394,7 @@
Type:
Source:
@@ -473,7 +473,7 @@
Type:
Source:
@@ -552,7 +552,7 @@
Type:
Source:
@@ -631,7 +631,7 @@
Type:
Source:
@@ -710,7 +710,7 @@
Type:
Source:
@@ -779,7 +779,7 @@

readPubl
Source:
@@ -865,7 +865,7 @@

Type:
Source:
@@ -934,7 +934,7 @@

writePu
Source:
@@ -1072,7 +1072,7 @@

Parameters:
Source:
@@ -1189,7 +1189,7 @@

(async) Source:
@@ -1284,7 +1284,7 @@

(a
Source:
@@ -1379,7 +1379,7 @@

getAl
Source:
@@ -1496,7 +1496,7 @@

getCre
Source:
@@ -1609,7 +1609,7 @@

getFing
Source:
@@ -1726,7 +1726,7 @@

ge
Source:
@@ -1843,7 +1843,7 @@

getKeyIDSource:
@@ -1960,7 +1960,7 @@

h
Source:
@@ -2077,7 +2077,7 @@

isDecrypte
Source:
@@ -2242,7 +2242,7 @@

Parameters:
Source:
@@ -2359,7 +2359,7 @@

writeSource:
@@ -2525,7 +2525,7 @@
Parameters:
Source:
diff --git a/docs/SecretKeyPacket.html b/docs/SecretKeyPacket.html index 7cad9b68f..f4c3dca85 100644 --- a/docs/SecretKeyPacket.html +++ b/docs/SecretKeyPacket.html @@ -191,7 +191,7 @@
Parameters:
Source:
@@ -308,7 +308,7 @@
Type:
Source:
@@ -387,7 +387,7 @@
Type:
Source:
@@ -466,7 +466,7 @@
Type:
Source:
@@ -545,7 +545,7 @@
Type:
Source:
@@ -624,7 +624,7 @@
Type:
Source:
@@ -688,7 +688,7 @@

isEncrypte
Source:
@@ -767,7 +767,7 @@

Type:
Source:
@@ -831,7 +831,7 @@

keyMateria
Source:
@@ -905,7 +905,7 @@

Type:
Source:
@@ -984,7 +984,7 @@
Type:
Source:
@@ -1053,7 +1053,7 @@

readPubl
Source:
@@ -1134,7 +1134,7 @@

Type:
Source:
@@ -1208,7 +1208,7 @@
Type:
Source:
@@ -1282,7 +1282,7 @@
Type:
Source:
@@ -1361,7 +1361,7 @@
Type:
Source:
@@ -1430,7 +1430,7 @@

writePu
Source:
@@ -1519,7 +1519,7 @@

cle
Source:
@@ -1614,7 +1614,7 @@

(async) Source:
@@ -1709,7 +1709,7 @@

(a
Source:
@@ -1851,7 +1851,7 @@
Parameters:
Source:
@@ -2065,7 +2065,7 @@
Parameters:
Source:
@@ -2189,7 +2189,7 @@

getAl
Source:
@@ -2306,7 +2306,7 @@

getCre
Source:
@@ -2419,7 +2419,7 @@

getFing
Source:
@@ -2536,7 +2536,7 @@

ge
Source:
@@ -2653,7 +2653,7 @@

getKeyIDSource:
@@ -2770,7 +2770,7 @@

h
Source:
@@ -2888,7 +2888,7 @@

isDecrypte
Source:
@@ -2999,7 +2999,7 @@

isDummySource:
@@ -3169,7 +3169,7 @@
Parameters:
Source:
@@ -3314,7 +3314,7 @@
Parameters:
Source:
@@ -3404,7 +3404,7 @@

(async) valid
Source:
@@ -3528,7 +3528,7 @@

writeSource:
@@ -3694,7 +3694,7 @@
Parameters:
Source:
diff --git a/docs/SecretSubkeyPacket.html b/docs/SecretSubkeyPacket.html index 0cfca12ee..ff1cba548 100644 --- a/docs/SecretSubkeyPacket.html +++ b/docs/SecretSubkeyPacket.html @@ -190,7 +190,7 @@
Parameters:
Source:
@@ -312,7 +312,7 @@
Type:
Source:
@@ -391,7 +391,7 @@
Type:
Source:
@@ -470,7 +470,7 @@
Type:
Source:
@@ -549,7 +549,7 @@
Type:
Source:
@@ -628,7 +628,7 @@
Type:
Source:
@@ -697,7 +697,7 @@

isEncrypte
Source:
@@ -776,7 +776,7 @@

Type:
Source:
@@ -845,7 +845,7 @@

keyMateria
Source:
@@ -924,7 +924,7 @@

Type:
Source:
@@ -1003,7 +1003,7 @@
Type:
Source:
@@ -1072,7 +1072,7 @@

readPubl
Source:
@@ -1158,7 +1158,7 @@

Type:
Source:
@@ -1237,7 +1237,7 @@
Type:
Source:
@@ -1316,7 +1316,7 @@
Type:
Source:
@@ -1395,7 +1395,7 @@
Type:
Source:
@@ -1464,7 +1464,7 @@

writePu
Source:
@@ -1558,7 +1558,7 @@

cle
Source:
@@ -1653,7 +1653,7 @@

(async) Source:
@@ -1748,7 +1748,7 @@

(a
Source:
@@ -1895,7 +1895,7 @@
Parameters:
Source:
@@ -2114,7 +2114,7 @@
Parameters:
Source:
@@ -2238,7 +2238,7 @@

getAl
Source:
@@ -2355,7 +2355,7 @@

getCre
Source:
@@ -2468,7 +2468,7 @@

getFing
Source:
@@ -2585,7 +2585,7 @@

ge
Source:
@@ -2702,7 +2702,7 @@

getKeyIDSource:
@@ -2819,7 +2819,7 @@

h
Source:
@@ -2937,7 +2937,7 @@

isDecrypte
Source:
@@ -3053,7 +3053,7 @@

isDummySource:
@@ -3228,7 +3228,7 @@
Parameters:
Source:
@@ -3373,7 +3373,7 @@
Parameters:
Source:
@@ -3468,7 +3468,7 @@

(async) valid
Source:
@@ -3592,7 +3592,7 @@

writeSource:
@@ -3758,7 +3758,7 @@
Parameters:
Source:
diff --git a/docs/Signature.html b/docs/Signature.html index 108e1cee8..9354ee567 100644 --- a/docs/Signature.html +++ b/docs/Signature.html @@ -144,7 +144,7 @@
Parameters:
Source:
@@ -322,7 +322,7 @@
Parameters:
Source:
@@ -434,7 +434,7 @@

getSi
Source:
@@ -546,7 +546,7 @@

writeSource:
diff --git a/docs/SignaturePacket.html b/docs/SignaturePacket.html index 6b3810e26..c5d1ef3e4 100644 --- a/docs/SignaturePacket.html +++ b/docs/SignaturePacket.html @@ -99,7 +99,7 @@

new Si
Source:
@@ -209,7 +209,7 @@

getE
Source:
@@ -385,7 +385,7 @@

Parameters:
Source:
@@ -546,7 +546,7 @@
Parameters:
Source:
@@ -834,7 +834,7 @@
Parameters:
Source:
@@ -1213,7 +1213,7 @@
Parameters:
Source:
@@ -1332,7 +1332,7 @@

Source:
@@ -1440,7 +1440,7 @@

writeParam
Source:
@@ -1551,7 +1551,7 @@

Source:
diff --git a/docs/SymEncryptedIntegrityProtectedDataPacket.html b/docs/SymEncryptedIntegrityProtectedDataPacket.html index 44f776c8e..1afe0a02e 100644 --- a/docs/SymEncryptedIntegrityProtectedDataPacket.html +++ b/docs/SymEncryptedIntegrityProtectedDataPacket.html @@ -101,7 +101,7 @@

Source:
@@ -334,7 +334,7 @@
Parameters:
Source:
@@ -565,7 +565,7 @@
Parameters:
Source:
diff --git a/docs/SymEncryptedSessionKeyPacket.html b/docs/SymEncryptedSessionKeyPacket.html index 898deef96..5d5c7e9ba 100644 --- a/docs/SymEncryptedSessionKeyPacket.html +++ b/docs/SymEncryptedSessionKeyPacket.html @@ -165,7 +165,7 @@
Parameters:
Source:
@@ -324,7 +324,7 @@
Parameters:
Source:
@@ -535,7 +535,7 @@
Parameters:
Source:
@@ -703,7 +703,7 @@
Parameters:
Source:
@@ -793,7 +793,7 @@

writeSource:
diff --git a/docs/SymmetricallyEncryptedDataPacket.html b/docs/SymmetricallyEncryptedDataPacket.html index 3e13193f5..fcbcaa1f9 100644 --- a/docs/SymmetricallyEncryptedDataPacket.html +++ b/docs/SymmetricallyEncryptedDataPacket.html @@ -101,7 +101,7 @@

Source:
@@ -197,7 +197,7 @@

encryptedSource:
@@ -271,7 +271,7 @@
Type:
Source:
@@ -477,7 +477,7 @@
Parameters:
Source:
@@ -720,7 +720,7 @@
Parameters:
Source:
diff --git a/docs/TrustPacket.html b/docs/TrustPacket.html index b31e48c9e..a2ee8ccf8 100644 --- a/docs/TrustPacket.html +++ b/docs/TrustPacket.html @@ -105,7 +105,7 @@

new TrustP
Source:
@@ -216,7 +216,7 @@

readSource:
diff --git a/docs/UserAttributePacket.html b/docs/UserAttributePacket.html index 94b38ca94..de2852626 100644 --- a/docs/UserAttributePacket.html +++ b/docs/UserAttributePacket.html @@ -107,7 +107,7 @@

ne
Source:
@@ -266,7 +266,7 @@

Parameters:
Source:
@@ -427,7 +427,7 @@
Parameters:
Source:
@@ -517,7 +517,7 @@

writeSource:
diff --git a/docs/UserIDPacket.html b/docs/UserIDPacket.html index f2bb9491a..a77565953 100644 --- a/docs/UserIDPacket.html +++ b/docs/UserIDPacket.html @@ -100,7 +100,7 @@

new UserI
Source:
@@ -207,7 +207,7 @@

Type:
Source:
@@ -338,7 +338,7 @@
Parameters:
Source:
@@ -495,7 +495,7 @@
Parameters:
Source:
@@ -585,7 +585,7 @@

writeSource:
diff --git a/docs/global.html b/docs/global.html index f6015a8e5..72bfd1120 100644 --- a/docs/global.html +++ b/docs/global.html @@ -352,7 +352,7 @@
Parameters:
Source:
@@ -565,7 +565,7 @@
Properties
Source:
@@ -704,7 +704,7 @@
Parameters:
Source:
@@ -1113,7 +1113,7 @@
Properties
Source:
@@ -1694,7 +1694,7 @@
Properties
Source:
@@ -1996,7 +1996,7 @@
Properties
Source:
@@ -2355,7 +2355,7 @@
Properties
Source:
@@ -3117,7 +3117,7 @@
Properties
Source:
@@ -3405,7 +3405,7 @@
Properties
Source:
@@ -4025,7 +4025,7 @@
Properties
Source:
@@ -4241,7 +4241,7 @@
Parameters:
Source:
@@ -4834,7 +4834,7 @@
Properties
Source:
@@ -5182,7 +5182,7 @@
Properties
Source:
@@ -5366,7 +5366,7 @@
Parameters:
Source:
@@ -5651,7 +5651,7 @@
Properties
Source:
@@ -5939,7 +5939,7 @@
Properties
Source:
@@ -6227,7 +6227,7 @@
Properties
Source:
@@ -6521,7 +6521,7 @@
Properties
Source:
@@ -6809,7 +6809,7 @@
Properties
Source:
@@ -7097,7 +7097,7 @@
Properties
Source:
@@ -7385,7 +7385,7 @@
Properties
Source:
@@ -7846,7 +7846,7 @@
Properties
Source:
@@ -8375,7 +8375,7 @@
Properties
Source:
@@ -8888,7 +8888,7 @@
Properties
Source:
@@ -9050,7 +9050,7 @@
Parameters:
Source:
@@ -9512,7 +9512,7 @@
Properties
Source:
@@ -9756,7 +9756,7 @@
Parameters:
Source:
diff --git a/docs/module-config.html b/docs/module-config.html index f88dc0887..9080e1524 100644 --- a/docs/module-config.html +++ b/docs/module-config.html @@ -89,7 +89,7 @@

Module: config

Source:
@@ -247,7 +247,7 @@
Properties:
Source:
@@ -365,7 +365,7 @@
Properties:
Source:
@@ -490,7 +490,7 @@
Properties:
Source:
@@ -611,7 +611,7 @@
Properties:
Source:
@@ -728,7 +728,7 @@
Properties:
Source:
@@ -840,7 +840,7 @@
Properties:
Source:
@@ -952,7 +952,7 @@
Properties:
Source:
@@ -1064,7 +1064,7 @@
Properties:
Source:
@@ -1176,7 +1176,7 @@
Properties:
Source:
@@ -1288,7 +1288,7 @@
Properties:
Source:
@@ -1405,7 +1405,7 @@
Properties:
Source:
@@ -1521,7 +1521,7 @@
Properties:
Source:
@@ -1633,7 +1633,7 @@
Properties:
Source:
@@ -1750,7 +1750,7 @@
Properties:
Source:
@@ -1867,7 +1867,7 @@
Properties:
Source:
@@ -1984,7 +1984,7 @@
Properties:
Source:
@@ -2096,7 +2096,7 @@
Properties:
Source:
@@ -2208,7 +2208,7 @@
Properties:
Source:
@@ -2320,7 +2320,7 @@
Properties:
Source:
@@ -2436,7 +2436,7 @@
Properties:
Source:
@@ -2552,7 +2552,7 @@
Properties:
Source:
@@ -2668,7 +2668,7 @@
Properties:
Source:
@@ -2784,7 +2784,7 @@
Properties:
Source:
@@ -2896,7 +2896,7 @@
Properties:
Source:
@@ -3013,7 +3013,7 @@
Properties:
Source:
@@ -3125,7 +3125,7 @@
Properties:
Source:
@@ -3237,7 +3237,7 @@
Properties:
Source:
@@ -3355,7 +3355,7 @@
Properties:
Source:
@@ -3473,7 +3473,7 @@
Properties:
Source:
@@ -3585,7 +3585,7 @@
Properties:
Source:
diff --git a/docs/module-crypto_random-RandomBuffer.html b/docs/module-crypto_random-RandomBuffer.html index 4dac2e545..a7d330960 100644 --- a/docs/module-crypto_random-RandomBuffer.html +++ b/docs/module-crypto_random-RandomBuffer.html @@ -95,7 +95,7 @@

new Rando
Source:
@@ -254,7 +254,7 @@

Parameters:
Source:
@@ -393,7 +393,7 @@
Parameters:
Source:
@@ -532,7 +532,7 @@
Parameters:
Source:
diff --git a/docs/module-enums.html b/docs/module-enums.html index 761810135..19e305ed4 100644 --- a/docs/module-enums.html +++ b/docs/module-enums.html @@ -212,7 +212,7 @@
Properties:
Source:
@@ -476,7 +476,7 @@
Properties:
Source:
@@ -671,7 +671,7 @@
Properties:
Source:
@@ -1878,7 +1878,7 @@
Properties:
Source:
@@ -2059,7 +2059,7 @@
Properties:
Source:
@@ -2323,7 +2323,7 @@
Properties:
Source:
@@ -2589,7 +2589,7 @@
Properties:
Source:
@@ -2784,7 +2784,7 @@
Properties:
Source:
@@ -3301,7 +3301,7 @@
Properties:
Source:
@@ -3635,7 +3635,7 @@
Properties:
Source:
@@ -3853,7 +3853,7 @@
Properties:
Source:
@@ -4048,7 +4048,7 @@
Properties:
Source:
@@ -4565,7 +4565,7 @@
Properties:
Source:
@@ -5266,7 +5266,7 @@
Properties:
Source:
@@ -5576,7 +5576,7 @@
Properties:
Source:
@@ -5772,7 +5772,7 @@
Properties:
Source:
@@ -5854,7 +5854,7 @@

(static) readSource:
@@ -5944,7 +5944,7 @@

(static) write<
Source:
diff --git a/docs/module-key_Subkey-Subkey.html b/docs/module-key_Subkey-Subkey.html index 04c928d30..b81bacc2d 100644 --- a/docs/module-key_Subkey-Subkey.html +++ b/docs/module-key_Subkey-Subkey.html @@ -170,7 +170,7 @@

Parameters:
Source:
@@ -280,7 +280,7 @@

cloneSource:
@@ -393,7 +393,7 @@

getAl
Source:
@@ -510,7 +510,7 @@

getAl
Source:
@@ -627,7 +627,7 @@

getCre
Source:
@@ -740,7 +740,7 @@

getCre
Source:
@@ -941,7 +941,7 @@

Parameters:
Source:
@@ -1054,7 +1054,7 @@

getFing
Source:
@@ -1171,7 +1171,7 @@

getFing
Source:
@@ -1288,7 +1288,7 @@

getKeyIDSource:
@@ -1405,7 +1405,7 @@

getKeyIDSource:
@@ -1522,7 +1522,7 @@

h
Source:
@@ -1639,7 +1639,7 @@

h
Source:
@@ -1756,7 +1756,7 @@

isDecrypte
Source:
@@ -1872,7 +1872,7 @@

isDecrypte
Source:
@@ -2148,7 +2148,7 @@

Parameters:
Source:
@@ -2486,7 +2486,7 @@
Properties
Source:
@@ -2598,7 +2598,7 @@

toPacketL
Source:
@@ -2831,7 +2831,7 @@

Parameters:
Source:
@@ -3043,7 +3043,7 @@
Parameters:
Source:
diff --git a/docs/module-key_User-User.html b/docs/module-key_User-User.html index 08037eb89..0ace75967 100644 --- a/docs/module-key_User-User.html +++ b/docs/module-key_User-User.html @@ -170,7 +170,7 @@
Parameters:
Source:
@@ -403,7 +403,7 @@
Parameters:
Source:
@@ -515,7 +515,7 @@

cloneSource:
@@ -788,7 +788,7 @@
Parameters:
Source:
@@ -900,7 +900,7 @@

toPacketL
Source:
@@ -1103,7 +1103,7 @@

Parameters:
Source:
@@ -1284,7 +1284,7 @@
Parameters:
Source:
@@ -1548,7 +1548,7 @@
Parameters:
Source:
@@ -1815,7 +1815,7 @@
Parameters:
Source:
diff --git a/docs/module-type_kdf_params-KDFParams.html b/docs/module-type_kdf_params-KDFParams.html index 75e7e75d7..9a6b42aab 100644 --- a/docs/module-type_kdf_params-KDFParams.html +++ b/docs/module-type_kdf_params-KDFParams.html @@ -163,7 +163,7 @@
Parameters:
Source:
@@ -322,7 +322,7 @@
Parameters:
Source:
@@ -434,7 +434,7 @@

writeSource:
diff --git a/docs/module-type_keyid-KeyID.html b/docs/module-type_keyid-KeyID.html index 913807f9c..459e5e50c 100644 --- a/docs/module-type_keyid-KeyID.html +++ b/docs/module-type_keyid-KeyID.html @@ -100,7 +100,7 @@

new KeyIDSource:
@@ -294,7 +294,7 @@
Parameters:
Source:
@@ -384,7 +384,7 @@

isNullSource:
@@ -496,7 +496,7 @@

isWildcard<
Source:
@@ -657,7 +657,7 @@

Parameters:
Source:
@@ -747,7 +747,7 @@

toHexSource:
@@ -859,7 +859,7 @@

writeSource:
diff --git a/docs/module-type_s2k-S2K.html b/docs/module-type_s2k-S2K.html index 0a314deb7..b17bad87c 100644 --- a/docs/module-type_s2k-S2K.html +++ b/docs/module-type_s2k-S2K.html @@ -152,7 +152,7 @@
Parameters:
Source:
@@ -254,7 +254,7 @@
Type:
Source:
@@ -324,7 +324,7 @@
Type:
Source:
@@ -398,7 +398,7 @@
Type:
Source:
@@ -468,7 +468,7 @@
Type:
Source:
@@ -600,7 +600,7 @@
Parameters:
Source:
@@ -762,7 +762,7 @@
Parameters:
Source:
@@ -874,7 +874,7 @@

writeSource:
diff --git a/package-lock.json b/package-lock.json index 10026648f..868d3c686 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "openpgp", - "version": "5.0.0-6", + "version": "5.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 0d44c39bb..c754a3ecb 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-6", + "version": "5.0.0", "license": "LGPL-3.0+", "homepage": "https://openpgpjs.org/", "engines": {