Commit Graph

  • 7af16be62b
    Use positive cert for self-signatures (#1769) larabr 2024-06-25 12:50:26 +02:00
  • 7b4a47162b Use positive cert for self-signatures larabr 2024-06-21 18:24:04 +02:00
  • 3d9b2899d0 Use noble-ed25519 over tweetnacl for signature verification larabr 2024-06-19 17:10:35 +02:00
  • 4026e24585 Merge branch 'main' into v6 larabr 2024-06-18 18:56:29 +02:00
  • a0337780b7 5.11.2 v5.11.2 larabr 2024-06-18 17:53:56 +02:00
  • 3eba29dba8
    Merge pull request #1762 larabr 2024-06-18 17:39:21 +02:00
  • 12fb916360 Pass curve object instead of oid to checkPublicPointEnconding larabr 2024-05-16 17:06:57 +02:00
  • cf94380e26 Read wireFormatLeadingByte value from curve object larabr 2024-05-16 16:45:18 +02:00
  • 52611e7f26 Detect unexpected eddsaLegacy OID on parsing larabr 2024-05-16 10:15:57 +02:00
  • f8d0e6052f Detect invalid ECDSA, EdDSA and ECDH public key point encodings on usage larabr 2024-05-16 10:01:07 +02:00
  • 08b71487c5 Detect invalid PKESK public point encoding on decryption larabr 2024-05-15 19:26:18 +02:00
  • 75f10955e6 Tests: move away from global streamed data larabr 2024-06-18 16:43:22 +02:00
  • 1ce2df1119 Avoid using stream.clone over polyfilled steam in test larabr 2024-06-18 16:36:31 +02:00
  • 6ace4a00f5 Update web-stream-tools to fix passiveClone cancellation race condition in tests larabr 2024-06-17 17:06:53 +02:00
  • 9f5ff66c3d
    Store unhashed subpackets in a more structured format (#1767) Daniel Huigens 2024-06-17 16:52:28 +02:00
  • 37e4500fc6 Store unhashed subpackets in a more structured format Daniel Huigens 2024-06-13 20:14:30 +02:00
  • b1e27a1430
    Delay checking unknown critical signature subpackets (#1766) Daniel Huigens 2024-06-17 12:31:31 +02:00
  • 44047481f2 Update error message Daniel Huigens 2024-06-17 12:02:02 +02:00
  • 0fb400f185 Delay checking unknown critical signature subpackets Daniel Huigens 2024-06-13 19:55:23 +02:00
  • a315c46583 openpgp.verify: fix bug preventing verification of detached signature over streamed data larabr 2024-05-30 17:25:05 +02:00
  • d138b5290b 6.0.0-beta.1 v6.0.0-beta.1 larabr 2024-05-17 14:13:46 +02:00
  • 1d732c34ff Run npm update larabr 2024-05-17 13:04:47 +02:00
  • 6a306a1797 Lint: add support for dep imports that use exports declarations larabr 2024-05-17 13:00:37 +02:00
  • 676c31b748 CI: update SOP actions to Node 20 larabr 2024-05-16 17:21:36 +02:00
  • 698305c0ed Pass curve object instead of oid to checkPublicPointEnconding larabr 2024-05-16 17:06:57 +02:00
  • 89ce97a3e2 Read wireFormatLeadingByte value from curve object larabr 2024-05-16 16:45:18 +02:00
  • 4cb0687c31 Detect unexpected eddsaLegacy OID on parsing larabr 2024-05-16 10:15:57 +02:00
  • 4cd12357d2 Detect invalid ECDSA, EdDSA and ECDH public key point encodings on usage larabr 2024-05-16 10:01:07 +02:00
  • 7a257d563d Detect invalid PKESK public point encoding on decryption larabr 2024-05-15 19:26:18 +02:00
  • 727c7cad37 read[Private]Key: support parsing key blocks (return first parsable key) larabr 2024-05-13 18:43:42 +02:00
  • ad7165dfd0 readPrivateKeys: support parsing key block with mix of private and public keys larabr 2024-05-14 13:20:58 +02:00
  • cf0285add5 Drop BigInteger class, use standalone helpers larabr 2024-05-10 13:06:09 +02:00
  • 90495522f7 CI: update Browserstack legacy targets (drop Safari 13) larabr 2024-05-06 12:19:41 +02:00
  • 2985b0f470 Lint: add support for TS files, fix errors larabr 2024-05-03 16:02:25 +02:00
  • 5bfff907b4 Move Brainpool curves implementation from noble-curves fork larabr 2024-05-02 19:12:31 +02:00
  • ec52bdea83 Point to official noble-hashes and noble-curve libs larabr 2024-05-02 19:03:50 +02:00
  • d1a24d1758 Drop support for platforms without native BigInt (e.g. Safari <14) larabr 2024-05-02 19:09:23 +02:00
  • b16f6cf6f0 read[Private]Key: support parsing key blocks (return first parsable key) larabr 2024-05-13 18:43:42 +02:00
  • 7e7c314963 readPrivateKeys: support parsing key block with mix of private and public keys larabr 2024-05-14 13:20:58 +02:00
  • 785482e1d7 Drop BigInteger class, use standalone helpers larabr 2024-05-10 13:06:09 +02:00
  • 6c7f52f3d6 CI: update Browserstack legacy targets (drop Safari 13) larabr 2024-05-06 12:19:41 +02:00
  • 5d5b24e0fd Lint: add support for TS files, fix errors larabr 2024-05-03 16:02:25 +02:00
  • 8071e078f6 Move Brainpool curves implementation from noble-curves fork larabr 2024-05-02 19:12:31 +02:00
  • e06604899e Point to official noble-hashes and noble-curve libs larabr 2024-05-02 19:03:50 +02:00
  • ccc777b20c Drop support for platforms without native BigInt (e.g. Safari <14) larabr 2024-05-02 19:09:23 +02:00
  • 7e2ea3f871 CI: update cache actions to Node 20 larabr 2024-04-19 16:31:16 +02:00
  • f3f1ab931b Tests: update SEIPD version check to no longer depend on config.aeadProtect larabr 2024-04-19 16:25:48 +02:00
  • 2bf7c92469 6.0.0-beta.0 v6.0.0-beta.0 larabr 2024-04-12 14:28:06 +02:00
  • 5464caa6f7
    Fix email address validity check to still allow unicode values, and further relax constraints (#1739) larabr 2024-04-12 13:47:52 +02:00
  • 231fbbe8ca Run npm update larabr 2024-04-09 19:07:58 +02:00
  • 9a53ac15df Tests: bump Sinon to v17 larabr 2024-04-09 18:57:53 +02:00
  • a05c23b507 Key.getRevocationCertificate(): apply config settings when armoring larabr 2024-04-09 18:40:51 +02:00
  • 90c8fbbf00
    Add back armor checksum for non-v6 artifacts (#1741) larabr 2024-04-09 17:12:44 +02:00
  • 91a5ad91fd
    Update src/key/key.js Daniel Huigens 2024-04-09 16:40:53 +02:00
  • f1201ad607 Rename vars [skip ci] larabr 2024-04-09 13:39:33 +02:00
  • 279dc07019 Add back armor checksum where allowed by the spec larabr 2024-04-08 17:03:57 +02:00
  • e9e843280b CI: update to sop-openpgp-v2 to test different v6 profiles larabr 2024-04-05 17:11:33 +02:00
  • d1681bb669 Revert "Add back armor checksum to detached signatures for GPG compatibility" larabr 2024-04-04 14:05:29 +02:00
  • 968efdbaa5 Fix email address validity check to still allow unicode values, and further relax constraints larabr 2024-04-04 15:32:04 +02:00
  • c68bd960ce
    Randomise v4 and v5 signatures via custom notation, add config.nonDeterministicSignaturesViaNotation to disable feature (#1737) larabr 2024-04-02 17:37:57 +02:00
  • 4e73f3e957 Clarify comment [skip ci] larabr 2024-04-02 16:03:05 +02:00
  • 7982713f3d Fix reused reference of notation array in input larabr 2024-04-02 13:51:38 +02:00
  • c6daa090b3 Add salt notation to signatures of any algo larabr 2024-03-28 15:35:20 +01:00
  • aa222fecb2
    Drop config.revocationsExpire, always honour revocation expiration instead (#1736) larabr 2024-03-28 14:24:23 +01:00
  • b5f139b3f7 Randomise v4 and v5 EdDSA signatures via custom notation, add config.nonDeterministicEdDSASignaturesViaNotation to disable feature larabr 2024-03-26 17:11:44 +01:00
  • 3c4230eec2 Drop config.revocationsExpire, always honour revocation expiration instead larabr 2024-03-25 19:31:15 +01:00
  • 6ebd179ed5 Fix encrypting to a key with no declared features larabr 2024-03-22 16:58:33 +01:00
  • 2574795d37
    Fix wrong serialization of PKESK v6 for x25519/x448 (#1734) larabr 2024-03-22 17:10:27 +01:00
  • b41298a3f6 Add back armor checksum to detached signatures for GPG compatibility larabr 2024-03-22 16:07:49 +01:00
  • cb97c8fcb9 CI: fix sop test result comparison larabr 2024-03-22 11:44:51 +01:00
  • aba61efa70 CI: update interop test suite: fix sop-openpgpjs, include crypto-refresh tests, and compare with gopenpgp v3 larabr 2024-03-21 14:09:23 +01:00
  • 8a0c60ff84 Add test for PKESK encrypt/decrypt flow for different public key algos larabr 2024-03-20 18:51:45 +01:00
  • da88cc22e8 Throw on unexpected cleartext symmetric algo in PKESK v6 for x25519/x448 larabr 2024-03-20 18:50:51 +01:00
  • 36635704e4 Uniform returned type for decodeSessionKey larabr 2024-03-20 18:50:19 +01:00
  • 172c674bd2 Fix wrong serialization of PKESK v6 for x25519/x448 larabr 2024-03-20 18:49:06 +01:00
  • 147d043a32 6.0.0-alpha.1 v6.0.0-alpha.1 larabr 2024-02-28 13:17:40 +01:00
  • df59dec319 Update README larabr 2024-02-28 13:21:05 +01:00
  • f5cebfe6fd CI: update Playwright browser installation larabr 2024-02-28 12:58:43 +01:00
  • 15adf84a7d Run npm update larabr 2024-02-28 12:44:05 +01:00
  • d4fd9c8d43 Merge branch 'main' into v6 larabr 2024-02-28 12:00:01 +01:00
  • 151f15e282
    Node: drop asn1.js dependency (#1722) larabr 2024-02-27 14:56:07 +01:00
  • 2edb96e9e0
    Minor [skip ci] larabr 2024-02-27 14:48:31 +01:00
  • a6283e64cc Drop internal cipher/aes module larabr 2024-02-07 17:28:03 +01:00
  • 9c75845944 Use WebCrypto for AES-KW larabr 2024-02-07 16:46:04 +01:00
  • e0bae310ab Drop internal cipher/aes module larabr 2024-02-07 17:28:03 +01:00
  • 9d23914483 Use WebCrypto for AES-KW larabr 2024-02-07 16:46:04 +01:00
  • db15f6d6a1
    Import legacy ciphers (CAST5, TwoFish, BlowFish, DES) only on demand (#1723) larabr 2024-02-26 15:37:50 +01:00
  • 026b348cf8 5.11.1 v5.11.1 larabr 2024-02-19 17:23:54 +01:00
  • 711c41826a Run npm audit larabr 2024-02-19 17:22:15 +01:00
  • a4e2c56c49
    Use JS fallback code for RSA message decryption in Node if PKCS#1 is not supported (#1728) larabr 2024-02-19 17:14:55 +01:00
  • 357a19c6e1 Fix missing await in test, causing crash on rejection larabr 2024-02-19 16:35:35 +01:00
  • 3d664e7b26 Use JS fallback code for RSA decryption on Node if PKCS#1 is not supported larabr 2024-02-19 12:26:47 +01:00
  • 7a6b41fbd4
    README: replace "IETF proposal" with "RFC4880bis proposal" (#1726) Mingye Wang 2024-02-19 22:17:40 +08:00
  • 1a460c4a70
    Minor change [skip ci] larabr 2024-02-19 15:16:32 +01:00
  • 17bbab44c9 README: clarify web-stream-tools version to install for TypeScript projects [skip ci] larabr 2024-02-19 13:52:30 +01:00
  • 4cd617d288
    README: replace "IETF proposal" with "4880bis proposal" Mingye Wang 2024-02-16 19:40:00 +08:00
  • b413a113f9 CI: update actions to Node 20 larabr 2024-02-12 13:53:46 +01:00
  • 280828dae6 Throw if WebCrypto API is not available larabr 2024-02-06 15:41:40 +01:00
  • 55f3ea22f2 Bundle legacy ciphers in a single chunk larabr 2024-02-05 14:10:07 +01:00
  • 057f5fe33b Import legacy ciphers (CAST5, TwoFish, BlowFish, DES) only on demand larabr 2024-02-02 17:22:31 +01:00