Commit Graph

  • 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
  • b2570bb960 Move away from BN.js in tests larabr 2024-02-05 19:03:33 +01:00
  • b92c2e0114 Node: drop asn1.js dependency in ECDSA larabr 2024-02-05 17:46:43 +01:00
  • 933a51d4e4 NodeCrypto: use JWK encoding over DER in RSA larabr 2024-02-05 15:33:35 +01:00
  • 3320eaccb2
    Relax constraints for UserID email address validity (#1641) larabr 2024-02-02 15:04:34 +01:00
  • 9729d4ff75
    Apply suggestions from code review [skip ci] larabr 2024-02-02 14:55:31 +01:00
  • 22c2682574
    Ensure primary key meets strength and algo requirements when encrypting/verifying/signing using subkeys (#1719) larabr 2024-02-02 14:50:32 +01:00
  • aabeff2c21 Minor [skip ci] larabr 2024-02-02 14:48:13 +01:00
  • f64dc3f35f
    enums.curve: rename NIST curves (p256,p384,p521`) and clean up unused internal values (#1721) larabr 2024-02-02 12:54:24 +01:00
  • 81d2e8ce60 Ensure primary key meets strength and algo requirements when encrypting/verifying/signing using subkeys larabr 2024-02-01 14:43:38 +01:00
  • aa9b009d91 Clean up CurvesWithOID larabr 2024-02-01 18:08:21 +01:00
  • fb710bc2dc Drop internal OID hex mapping from enums.curves larabr 2024-02-01 16:48:12 +01:00
  • c499c791af Rename NIST curve identifiers from enums.curves.p{256, 384, 521} to .nistP{256, 384, 521} larabr 2024-02-01 15:57:58 +01:00
  • 6370e0b2d3 CI: fix typescript test runner issues by switching to tsx from ts-node larabr 2024-02-01 10:38:01 +01:00
  • 6bfb557ca6 Update Rollup to v4 larabr 2024-02-01 10:23:50 +01:00
  • 959956cfc9
    Use Compression Stream API when available, drop config.deflateLevel (#1717) larabr 2024-02-01 09:42:16 +01:00
  • 0fd191490b Use Compression Stream API when available, drop config.deflateLevel larabr 2024-01-25 15:32:35 +01:00
  • 5e39886de8
    Update Description for v6 Julia Krüger 2024-01-29 16:48:45 +01:00
  • df7f6748aa
    docs(maintainers): remove unrealistic options hulkoba 2024-01-29 08:57:14 +01:00
  • 532314837e
    docs(test): remove detailled test instructions hulkoba 2024-01-29 08:53:47 +01:00
  • 99899d1d5c
    Drop support for native Node Readable stream: require passing Node Web Streams (#1716) larabr 2024-01-26 17:52:29 +01:00
  • 39cff855d0 CI: fix memory benchmark tests larabr 2024-01-26 14:54:58 +01:00
  • aacdeaaa7d TS: upgrade to TypeScript v5 larabr 2024-01-19 17:13:17 +01:00
  • f78d739c68 TS: update stream types larabr 2024-01-24 14:56:51 +01:00
  • 790d8e20db Drop support for native Node Readable stream: require passing Node Web Streams larabr 2024-01-16 17:44:29 +01:00
  • ac8cf57098
    Add project structure descriptions Julia Krüger 2024-01-17 12:34:56 +01:00
  • ff0dcdbbb4
    Guide to org/project structure and forking info Alex Feyerke 2023-11-15 15:08:30 +01:00
  • 7d7a8dc113 Relax constraints for UserID email address validity larabr 2023-05-15 13:28:15 +02:00
  • 591b9399a8
    Skip key validation for keys encrypted with non-legacy AEAD mechanism (#1713) larabr 2024-01-15 15:07:09 +01:00
  • 8f0718356f Skip key validation for keys encrypted with non-legacy AEAD mechanism larabr 2024-01-11 16:57:04 +01:00
  • f77da9cdb0
    Add config.parseAEADEncryptedV4KeysAsLegacy to support AEAD-encrypted v4 keys from OpenPGP.js v5 or older (#1672) larabr 2024-01-12 16:29:56 +01:00
  • 5c8e490c85
    Update comment [skip ci] larabr 2024-01-12 16:14:18 +01:00
  • b1619871e7 Add config.parseAEADEncryptedV4KeysAsLegacy to support AEAD-encrypted v4 keys from OpenPGP.js v5 or older larabr 2023-09-04 18:58:27 +02:00
  • 089abc0001
    docs: address PR changes hulkoba 2024-01-11 14:08:17 +01:00
  • e3302d6b3b
    fix: add type definitions for s2kNames Ayham Kteash 2024-01-10 17:36:57 +01:00
  • 64138a37c7
    fix: throw error if salt is not defined Ayham Kteash 2024-01-10 11:13:45 +01:00
  • 221cb45be8
    add: private notations to private values in generec class Ayham Kteash 2024-01-10 11:10:05 +01:00
  • 51c6f97eae
    fix: type errors Ayham Kteash 2024-01-10 10:36:44 +01:00
  • ffd6ffbbfe
    Merge branch 'typescript-migration-gnus2k-refactor' into typescript-migration2 Julia Krüger 2024-01-09 13:04:48 +01:00
  • 888f149f12
    refactor: add Config type instead of defaultConfig Julia Krüger 2024-01-09 12:54:32 +01:00
  • 2983d225cc
    refactor: s2k uses gnuType for dummy keys Julia Krüger 2024-01-08 18:31:52 +01:00
  • 19cb6ee521 Lint: make 'space-before-function-paren' rule stricter to reflect enforced style larabr 2023-12-18 15:52:19 +01:00
  • 02adea3962
    fix(fuzz): pass buffered to readBinary funcs hulkoba 2023-12-18 12:48:02 +01:00
  • 08cda81233
    feat(fuzz): userId.fromObject hulkoba 2023-12-18 10:43:46 +01:00
  • 227c12cde4
    refactor(fuzz): rename errors: inored -> expected hulkoba 2023-12-18 09:19:18 +01:00
  • 2f05bd550e
    chore(fuzz): import specific function hulkoba 2023-12-18 09:16:43 +01:00
  • e7b270b7c2
    refactor(fuzz): readMessageText -> readMessageArmored hulkoba 2023-12-18 09:11:41 +01:00
  • eadc867182
    chore: create artifacts dir on run hulkoba 2023-12-18 08:52:03 +01:00
  • e43f924113
    chore(fuzz): change max message length hulkoba 2023-12-13 14:54:13 +01:00
  • 4c0a324980
    test(fuzz): turn everything into esm hulkoba 2023-12-13 14:40:38 +01:00
  • b29c6fccdf
    chore(fuzz): remove coverage hulkoba 2023-12-13 11:05:07 +01:00
  • c10da44df2
    docs(fuzz): add sync explaination hulkoba 2023-12-13 10:55:40 +01:00
  • 1f3b58db91
    docs(fuzz): add readme hulkoba 2023-12-11 10:26:12 +01:00
  • eab3b8f6b5
    test(fuzz): add fuzz tests hulkoba 2023-12-11 10:10:58 +01:00