Commit Graph

  • f137b19a3a Remove compression algorithms from preferences Daniel Huigens 2022-12-06 12:43:02 +01:00
  • 546cbc5ac5 Don't generate armor checksum lines Daniel Huigens 2022-11-30 17:48:06 +01:00
  • 618831225b Only include the optional field count in encrypted v5 secret keys Daniel Huigens 2022-11-30 16:51:44 +01:00
  • dc351aa0da Salt V5 signatures Daniel Huigens 2022-03-02 19:20:32 +01:00
  • 2eab36fa9c Increase subpacket lengths to 4 for V5 signatures Daniel Huigens 2022-03-02 19:12:10 +01:00
  • 4af140623e Remove secret key material length from V5 keys Daniel Huigens 2022-03-02 19:08:52 +01:00
  • 299d97600d Remove AES-192 from preferred symmetric algorithms Daniel Huigens 2022-12-06 13:22:09 +01:00
  • f5128b1503 Add preferred ciphersuites subpacket Daniel Huigens 2022-03-02 18:50:40 +01:00
  • 1d59b33876 Add (non-experimental) GCM Daniel Huigens 2022-03-02 18:17:16 +01:00
  • a9f5264da5 Don't generate V5 keys flag Daniel Huigens 2022-03-02 17:19:02 +01:00
  • 60e126f93c Generate SEIPD V2 flag instead of AEAD flag Daniel Huigens 2022-03-02 17:18:44 +01:00
  • 7728f393c3 Don't require User IDs for V5 keys Daniel Huigens 2022-03-02 17:17:49 +01:00
  • 226791acd3 For V5 keys, create direct-key signature for key properties Daniel Huigens 2022-03-02 17:16:58 +01:00
  • 4379bfb7ec
    TypeScript: fix signature of armor function (#1576) Leo Kotschenreuther 2022-11-16 14:18:06 +01:00
  • 4920955a12
    TypeScript: fix signature of armor function Leo Kotschenreuther 2022-11-03 16:01:37 +01:00
  • 2f8a8c1c9a
    TypeScript: add SignaturePacket.rawNotations (#1571) Leo Kotschenreuther 2022-10-24 14:23:37 +02:00
  • 04488af790 Bump package lock version larabr 2022-10-12 13:38:50 +02:00
  • 9a935ed559 CI: move away from Node.js v12 larabr 2022-10-12 13:27:39 +02:00
  • 0a095b56d6
    Add RawNotations Type to d.ts File (openpgpjs#1569) Leo Kotschenreuther 2022-10-20 12:53:20 +02:00
  • 24be612ad4
    Import the latest main branch changes Szczepan Zalega 2022-10-17 10:42:19 +02:00
  • b657ce574b
    Add test stubs for key de/encryption behavior Szczepan Zalega 2022-10-14 13:43:23 +02:00
  • 33585282d9
    Chai: increase threshold on messages truncation for debug Szczepan Zalega 2022-10-14 13:42:48 +02:00
  • 7bfd9725ea
    Skip tests when Webauthn is not accessible Szczepan Zalega 2022-10-14 13:42:09 +02:00
  • c9196f6e8e
    Mark public keys as never stored in the hardware Szczepan Zalega 2022-10-14 13:41:01 +02:00
  • f853f39979
    Initial serialization test Szczepan Zalega 2022-10-13 17:24:59 +02:00
  • 30da126cbf
    Tests: await for eventually-marked promise Szczepan Zalega 2022-10-13 14:28:47 +02:00
  • 0de378645c
    Test key revocation execution Szczepan Zalega 2022-10-13 14:28:16 +02:00
  • e605d9728f
    Test reformatKey and decrypt rejections Szczepan Zalega 2022-10-13 13:22:43 +02:00
  • 98484360bc
    Test rejecting work on stub keys withtout hardwareKeys set Szczepan Zalega 2022-10-13 11:55:09 +02:00
  • ce1a327a48
    Add test for isStoredInHardware() and verify() Szczepan Zalega 2022-10-12 18:44:48 +02:00
  • b8b211c99d
    Transition from plugin to config object and jsdoc Szczepan Zalega 2022-10-12 17:46:02 +02:00
  • 7ded2f2e80
    Mark key as stub on generation Szczepan Zalega 2022-10-12 17:44:19 +02:00
  • f725604f0b
    Transition from plugin to config object - jsdoc Szczepan Zalega 2022-10-12 17:39:40 +02:00
  • 96099335fa
    Transition from plugin to config object Szczepan Zalega 2022-10-12 17:23:46 +02:00
  • cfe6e813f2
    Initial implementation for the stub key Szczepan Zalega 2022-10-12 16:51:32 +02:00
  • 096be28066
    Address review concerns Szczepan Zalega 2022-10-12 15:40:34 +02:00
  • 87f79da915
    Add Nitrokey WebCrypt as a dependency Szczepan Zalega 2022-09-29 12:14:26 +02:00
  • d95b8349d7
    Update some of the typescript definitions Szczepan Zalega 2022-09-29 12:14:42 +02:00
  • 892ef66108
    Docs: describe the new plugin interface in the readme Szczepan Zalega 2022-09-29 10:42:42 +02:00
  • c313ba66e7
    Initial plugin interface for Nitrokey WebCrypt Szczepan Zalega 2022-09-29 12:13:45 +02:00
  • 7e2e6996a5 Bump package lock version larabr 2022-10-12 13:38:50 +02:00
  • 4e2d64955f CI: move away from Node.js v12 larabr 2022-10-12 13:27:39 +02:00
  • 5957bab2e2
    Allow use of Brainpool curves by default (#1563) Daniel Huigens 2022-10-12 13:15:56 +02:00
  • 7abf5ab30b Allow use of Brainpool curves by default Daniel Huigens 2022-09-06 13:28:20 +02:00
  • d0be98feb9 5.5.0 v5.5.0 Daniel Huigens 2022-08-31 13:56:51 +02:00
  • 9f3985d398
    Hash all signature subpackets (#1562) Daniel Huigens 2022-08-30 16:36:17 +02:00
  • e4bf454b4d Hash all signature subpackets Daniel Huigens 2022-08-30 15:21:59 +02:00
  • 000e1335a2
    Leave unhashed subpackets as-is when re-serializing signatures (#1561) wussler 2022-08-30 13:46:05 +02:00
  • 5e6dd8b1ed
    Remove leading newline from clearsigned messages armoring (#1560) Daniel Huigens 2022-08-30 13:40:57 +02:00
  • 433a9ca91f Update comments Daniel Huigens 2022-08-29 17:19:23 +02:00
  • 55b51a3367 Merge unhashedSubpackets and allowedUnhashedSubpackets Daniel Huigens 2022-08-29 16:59:35 +02:00
  • ab07ffdaa8 Serialize correctly embedded signatures Aron Wussler 2022-08-26 13:30:38 +02:00
  • 9323b71b94 Remove leading newline from clearsigned messages armoring Daniel Huigens 2022-08-24 16:14:00 +02:00
  • 4d2cf85a51
    Ignore improperly formatted armor headers (#1557) Celine Moredo 2022-08-22 21:30:33 +08:00
  • 4ee8ebfd7d Ignore improperly formatted armor headers Celine Moredo 2022-08-21 22:19:07 +08:00
  • 93644b7c58
    printDebug: add label to identify source of the log (#1555) larabr 2022-08-17 18:54:53 +02:00
  • 5b250a4fb6 printDebug: add label to identify source of the log larabr 2022-08-17 17:54:24 +02:00
  • ca60884c05 5.4.0 v5.4.0 larabr 2022-08-08 13:49:52 +02:00
  • 50fa974dcc
    CI: run worker tests first to give enough time to download the required scripts (#1550) larabr 2022-08-08 13:28:40 +02:00
  • 08eef424a0
    TypeScript: add missing allowInsecureVerificationWithReformattedKeys field to Config (#1551) larabr 2022-08-04 18:55:51 +02:00
  • 9381d7997c TypeScript: add missing allowInsecureVerificationWithReformattedKeys field to Config larabr 2022-08-04 18:25:47 +02:00
  • 19df3b063c Run worker tests first to give enough time to download the required scripts larabr 2022-08-03 15:16:10 +02:00
  • dc85a5088f
    Fix CleartextMessage signature generation over text with trailing whitespace and \r\n line endings larabr 2022-08-02 17:50:45 +02:00
  • 019cfe2089 Fix CleartextMessage normalisation when signing text with trailing whitespace and canonical line endings larabr 2022-07-29 13:32:46 +02:00
  • e862d5f20b
    Throw in encryptSessionKey if no keys or passwords are provided (#1547) larabr 2022-07-27 17:47:47 +02:00
  • a6909711aa
    Update src/openpgp.js larabr 2022-07-27 15:46:34 +02:00
  • bb45a29f27 Throw in encryptSessionKey if no keys or passwords are provided larabr 2022-07-26 19:39:24 +02:00
  • bd1a7db46f Use npm ci instead of npm install in release script Daniel Huigens 2022-06-29 21:15:18 +02:00
  • dd2aa7c5ec Revert package lock version bump Daniel Huigens 2022-06-29 21:07:10 +02:00
  • 5c02953b1c 5.3.1 v5.3.1 Daniel Huigens 2022-06-29 21:02:15 +02:00
  • 04e806e0b4
    Support Node.js 18 (#1542) Daniel Huigens 2022-06-29 20:59:38 +02:00
  • 7b4cefe7b1 Only use Node.js hashes that are available Daniel Huigens 2022-06-29 20:49:22 +02:00
  • 76da1a237a CI: Test Node.js 18 Daniel Huigens 2022-06-29 20:49:07 +02:00
  • e69d8b24fc
    Fix armor error handling (#1541) Daniel Huigens 2022-06-29 20:09:30 +02:00
  • 55c13fb4d1 Update web-stream-tools Daniel Huigens 2022-06-29 19:49:46 +02:00
  • 5405404f66 Test armor footer error handling Daniel Huigens 2022-06-29 19:55:04 +02:00
  • 449ec3a367 Fix CNAME and make docs script portable Daniel Huigens 2022-06-09 12:54:22 +02:00
  • b677ab5949 5.3.0 v5.3.0 larabr 2022-06-08 16:10:17 +02:00
  • 6c32b62ef3
    Throw on decryption of messages that don't contain any encrypted data packet (#1529) larabr 2022-06-07 14:29:31 +02:00
  • ef066183dd
    Throw UnsupportedError on unknown algorithm in keys, signatures and encrypted session keys (#1523) larabr 2022-06-07 13:51:58 +02:00
  • a5d5edb9f0 Throw on decryption of message that doesn't contain any encrypted data packet larabr 2022-06-03 18:37:01 +02:00
  • 6e1f821e8d Confirm curve support on parsing to allow reading EdDSA and ECDH keys with unknown curves larabr 2022-06-03 18:13:39 +02:00
  • 3c0cd71b93 Throw UnsupportedError if PKESK algo is unknown larabr 2022-06-03 18:08:48 +02:00
  • c5aeacc450 Throw UnsupportedError in Curve constructor, replace "Invalid" algo error messages with "Unknown" larabr 2022-06-03 14:46:14 +02:00
  • a822dd817b
    Add memory benchmark tests for streamed decryption of large files (#1462) Justin Lovell 2022-06-03 01:29:27 +10:00
  • db05571024 Reduce size and number of chunks to reduce variability below warning threshold (2%) larabr 2022-06-02 17:14:15 +02:00
  • 3b48d7d7ee Use 1MB instead of 1MiB to allow comparison with previous benchmarks larabr 2022-06-02 15:40:29 +02:00
  • f3f0403ae3 Uniform input stream generation across all tests larabr 2022-06-02 15:16:21 +02:00
  • e8319f9315 Trigger stream decryption in all streaming tests larabr 2022-06-02 14:22:59 +02:00
  • 8b17f124b5 Use password encryption and disable compression to reduce noise larabr 2022-06-02 12:08:42 +02:00
  • 358b07b7a2
    Apply suggestions from code review larabr 2022-06-01 18:22:53 +02:00
  • 1231fc4749 Relay errors as-is in public key parsing larabr 2022-06-01 18:11:54 +02:00
  • 3fd57a8bb0 Throw UnsupportedError on unknown algorithm in keys and signatures larabr 2022-05-23 17:13:36 +02:00
  • 775dade80f
    Add UnparseablePacket to properly deal with key blocks that include malformed/unsupported packets (#1522) larabr 2022-05-24 20:12:57 +02:00
  • 870ffdee9d Rename Unparsable to Unparseable larabr 2022-05-24 19:04:46 +02:00
  • 1cd9ce0ca6 with Exclude Roman Shevchenko 2022-05-24 18:09:29 +03:00
  • 5857edd6f3 AnyPacket, as suggested Roman Shevchenko 2022-05-24 18:01:49 +03:00
  • 7b2a157607 Export UnparsablePacket larabr 2022-05-23 16:43:24 +02:00
  • d055fae41d Update type defs larabr 2022-05-23 14:26:10 +02:00
  • 9517429c33 Add UnparsablePacket to properly deal with key blocks that include malformed or unsupported packets larabr 2022-05-23 14:01:54 +02:00