Commit Graph

  • 2b9a07e840 Run npm audit larabr 2024-09-11 10:42:37 +02:00
  • 0255fcba86 CI: update playwright to test latest browser versions larabr 2024-09-11 10:39:51 +02:00
  • f2818429db 6.0.0-beta.3.patch.0 v6.0.0-beta.3.patch.0 larabr 2024-09-09 11:47:41 +02:00
  • 8d8033383b Fix regression in x25519 (legacy) key generation: store clamped secret scalar larabr 2024-09-09 10:37:58 +02:00
  • a3839f6db5 6.0.0-beta.3 v6.0.0-beta.3 larabr 2024-09-05 13:24:51 +02:00
  • 1bcce67c68 CI: test also on Node 22 larabr 2024-09-04 17:58:27 +02:00
  • e7b7f6c6b1 Run npm update larabr 2024-09-04 12:22:31 +02:00
  • ab8445116c CI: update SOP test suite docker image to v1.1.10 larabr 2024-09-04 16:49:56 +02:00
  • f36be640cc Fallback to js implementation on WebCrypto EdDSA key generation failure larabr 2024-09-04 17:46:40 +02:00
  • 2f185481a7
    PrivateKey.getDecryptionKeys: throw if no decryption key is found (#1789) larabr 2024-09-03 14:40:06 +02:00
  • 3f6615a52b Remove redundant check [skip ci] larabr 2024-08-23 18:45:27 +02:00
  • b0873eb98d PrivateKey.getDecryptionKeys: throw if no decryption key is found larabr 2024-08-20 16:48:51 +02:00
  • 5fd7ef370f
    Drop asmcrypto.js for AES fallbacks in favor of noble-ciphers (#1785) larabr 2024-08-21 12:59:23 +02:00
  • 79014f00f0
    Merge pull request #1782 larabr 2024-08-21 12:53:13 +02:00
  • edbb882bb5 Drop asmcrypto.js for the AES AEAD modes in favor of noble-ciphers larabr 2024-08-09 17:24:24 +02:00
  • 5c583341d7 Update README larabr 2024-07-16 15:24:28 +02:00
  • db82968b48 Tests: do not test RFC8032 test vectors on Safari larabr 2024-07-15 15:32:32 +02:00
  • 7698790d1c Use WebCrypto for x25519 when available larabr 2024-07-11 13:28:30 +02:00
  • bcaaa7e2d2 Use WebCrypto for ed25519 when available larabr 2024-07-11 10:26:35 +02:00
  • 1377644fb4 Drop asmcrypto.js for AES_KW in favor of noble-ciphers larabr 2024-08-09 14:50:24 +02:00
  • e8de7d76db Drop asmcrypto.js for AES_CFB in favor of noble-ciphers larabr 2024-08-07 17:02:25 +02:00
  • fca699373a
    Try more AEAD ciphersuites for SEIPDv2 (#1781) Daniel Huigens 2024-08-12 11:52:52 +02:00
  • 3878f0c037
    Use enum values in tests larabr 2024-08-12 11:20:49 +02:00
  • efb0324330 TS: add definition for config.enableParsingV5Entities [skip ci] larabr 2024-07-15 15:14:27 +02:00
  • 5a4c73dd7d Add tests Daniel Huigens 2024-07-15 14:32:11 +02:00
  • a4b2b1449e Try more AEAD ciphersuites Daniel Huigens 2024-07-11 19:59:11 +02:00
  • c0b35306cb 6.0.0-beta.2 v6.0.0-beta.2 larabr 2024-07-05 15:12:14 +02:00
  • 35a1e1f23b Run npm audit larabr 2024-07-05 15:10:29 +02:00
  • b9c5c8df59
    Allow parsing legacy AEAD messages regardless of config.enableParsingV5Entities (#1779) larabr 2024-07-05 14:38:16 +02:00
  • 857b794e13
    Disallow using forbidden S2K modes (#1777) Daniel Huigens 2024-07-05 13:52:45 +02:00
  • 00e147f5c1
    Use preferred AEAD mode for secret key encryption (#1776) Daniel Huigens 2024-07-05 13:50:11 +02:00
  • a2e4022f3f Allow parsing legacy AEAD messages regardless of config.enableParsingV5Entities larabr 2024-07-05 13:09:49 +02:00
  • 61ad406138 Disallow using Simple S2K with version 6 keys Daniel Huigens 2024-07-04 21:59:01 +02:00
  • dbeafcd6ca Disallow using Argon2 S2K without AEAD Daniel Huigens 2024-07-04 21:44:48 +02:00
  • 1d0628228f Use preferred AEAD mode for secret key encryption Daniel Huigens 2024-07-04 21:23:21 +02:00
  • 42938c871a
    Fix legacy AEAD secret key encryption of v5 keys (#1775) Daniel Huigens 2024-07-04 19:41:39 +02:00
  • caa6d8e73e Add test Daniel Huigens 2024-07-04 15:44:30 +02:00
  • 4ec6a1cd00 Fix legacy AEAD secret key encryption Daniel Huigens 2024-07-04 15:21:04 +02:00
  • 40b6427658 Tests: fix stream polyfilling in legacy browsers larabr 2024-07-04 14:51:59 +02:00
  • f729d2bfa7
    Fix ECDH fingerprint size of v6 keys (#1771) larabr 2024-07-04 14:28:43 +02:00
  • 5268c484e9
    Disable support for parsing v5 entities by default (add config.enableParsingV5Entities) (#1774) larabr 2024-07-04 13:59:40 +02:00
  • 9efdaf14b1 Let hard revocations apply at any time (#1773) Daniel Huigens 2024-07-03 22:00:29 +02:00
  • f7b68a3327 Disable support for parsing v5 entities by default (add config.enableParsingV5Entities) larabr 2024-07-01 19:04:41 +02:00
  • 19870b9ab7 Update src/key/helper.js Daniel Huigens 2024-07-03 19:49:17 +02:00
  • 78b746c031 Fix ECDH fingerprint size of v6 keys larabr 2024-07-01 17:53:55 +02:00
  • ebfb5b1085 Let hard revocations apply at any time Daniel Huigens 2024-07-03 14:42:01 +02:00
  • 8d11c5fd0f Drop support for Node 16 and 17 larabr 2024-06-26 12:01:10 +02:00
  • 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