Commit Graph

  • fe90df2b5e Throw on unarmored messages with garbage data appended Daniel Huigens 2020-02-26 16:22:57 +01:00
  • 5af597fe03 Don't mutate key in openpgp.encryptKey/decryptKey Daniel Huigens 2020-01-08 20:12:14 +01:00
  • 86c85a4341 Throw in openpgp.initWorker if worker failed to load Daniel Huigens 2020-02-19 14:34:54 +01:00
  • c4d5f2325b Unit tests: Fix autoscroll with skipped tests Daniel Huigens 2020-02-18 18:43:34 +01:00
  • 6752d7958b Remove unnecessary calls to convertStreams() Daniel Huigens 2020-02-18 17:44:00 +01:00
  • bd856de0c8 Don't unnecessarily return objects in top-level functions Daniel Huigens 2020-02-18 15:02:56 +01:00
  • c56d2063b4 Add openpgp.generateSessionKey Daniel Huigens 2020-02-18 16:56:55 +01:00
  • bc91ac302d Skip test for OpenPGP.js inside an application worker in old Edge Daniel Huigens 2020-02-17 18:07:16 +01:00
  • 741961f809 Don't use native streams in old Edge Daniel Huigens 2020-02-17 18:02:18 +01:00
  • 020b337a3a Don't overwrite Web Streams Polyfill to globals Daniel Huigens 2019-12-11 12:21:00 +01:00
  • d7ec6e233d Update web-stream-tools Daniel Huigens 2020-02-14 18:53:35 +01:00
  • 479cd2e4e5 Return strings in Node streams where appropriate Daniel Huigens 2020-02-12 18:20:10 +01:00
  • 3f737965db Return data instead of message in encryptSessionKey Daniel Huigens 2020-02-12 17:32:31 +01:00
  • 75c41eacfd Return data as string in openpgp.verify by default Daniel Huigens 2020-02-11 21:27:21 +01:00
  • d2ac8933e2 Return Uint8Array(Stream) instead of object when armor = false Daniel Huigens 2020-02-11 21:19:56 +01:00
  • 929b016948
    Fix documentation of the HKP keyId option (#1151) Chen Longhao 2020-09-09 18:26:03 +08:00
  • 2fdeaf5578 Allow pushing of humanReadable notations Yarmo Mackenbach 2020-09-06 20:12:28 +02:00
  • e11ff75fee
    Fix the inconsistency between the document and the code in hkp.js Chen Longhao 2020-09-05 12:25:01 +08:00
  • c97a58e86d Return Uint8Array in RSA key generation larabr 2020-09-04 11:06:08 +02:00
  • 1ca17182dc Fix failing test after rebase Dan Ristea 2020-09-03 22:33:13 +01:00
  • 25d2aa6871 Pass correct key data to CMAC Dan Ristea 2020-08-31 18:16:33 +01:00
  • 48eb863edc Use AEAD mode from config Dan Ristea 2020-08-31 18:16:16 +01:00
  • 36a41800fd Add CMAC for authentication using symmetric keys Dan Ristea 2020-08-14 22:32:51 +02:00
  • efed7a5296 Add test for subkey generation Dan Ristea 2020-08-10 21:23:37 +02:00
  • e51921bbd9 Check symmetric last in getAlgorithm info Dan Ristea 2020-08-05 17:31:14 +01:00
  • 65102cf979 Remove superfluous symmetric algo type from encrypted packets Dan Ristea 2020-08-04 22:22:15 +01:00
  • aa182beee6 Replace hashing function with internal function Dan Ristea 2020-08-04 21:46:07 +01:00
  • fc969cfbc4 Add basic symmetric key encryption for session keys Dan Ristea 2020-08-04 18:17:24 +01:00
  • 50e562149f Add symmetric subkey generation as a first step to symmetric message re-encryption Dan Ristea 2020-07-29 13:08:52 +01:00
  • 22d71272f6 Move padding to lower level functions, always handle ciphertext in array form larabr 2020-09-03 20:12:37 +02:00
  • 6033764917 Store private and public params separately and by name, read MPIs directly into Uint8Arrays larabr 2020-08-12 19:02:52 +02:00
  • 268cb0358d
    Use native BigInt when available instead of bn.js (#1119) larabr 2020-09-03 16:02:59 +02:00
  • 5231718675
    Whitespace Daniel Huigens 2020-09-03 15:50:43 +02:00
  • ab22470dd1 Add RSA padding tests, cleanup bnjs interface larabr 2020-09-03 14:52:00 +02:00
  • a4dde38416 Remove unused imports Daniel Huigens 2020-09-01 15:02:03 +02:00
  • 293e6ef996 Switch back from require('bn.js') to await import('bn.js') Daniel Huigens 2020-09-01 16:41:09 +02:00
  • 2625499b64 Remove unused BigInteger functions, do not allow undefined input larabr 2020-08-27 13:19:36 +02:00
  • b200919d25 Remove log larabr 2020-08-23 14:19:42 +02:00
  • 995c0e2af3 Use Uint8Arrays instead of strings in PKCS and PKESK functions larabr 2020-08-21 19:58:07 +02:00
  • aa89893773 Release new version v4.10.8 Daniel Huigens 2020-08-28 16:42:25 +02:00
  • 2eab8a1ebc
    Add config option to allow insecure decryption with RSA signing keys (#1148) larabr 2020-08-28 16:09:56 +02:00
  • 55066c6189 Apply suggestions from code review larabr 2020-08-27 23:16:28 +02:00
  • 67ecfc1ffc Add config option to allow insecure decryption with RSA sign-only keys larabr 2020-08-26 22:33:42 +02:00
  • fbac3df067
    Allow parsing keys without User IDs (#1146) Wiktor Kwapisiewicz 2020-08-21 15:40:54 +02:00
  • 8a918182bb
    key: Fix error message when trying to encrypt to User ID-less key Wiktor Kwapisiewicz 2020-08-21 14:10:19 +02:00
  • d8658e4f71 key: Add test cases for User ID-less keys Wiktor Kwapisiewicz 2020-08-21 12:41:22 +02:00
  • d417648997 Add BigInteger support larabr 2020-07-03 13:00:20 +02:00
  • 3602a1ea44 key: Do not require users for parsing Keys Wiktor Kwapisiewicz 2020-08-20 13:56:18 +02:00
  • ec650e6e82 Use higher level functions in key validation tests (#1128) larabr 2020-08-07 16:48:44 +02:00
  • b1bfe0483f JSdoc types & ESLint fixes (#1132) Dan Ristea 2020-08-05 17:34:32 +01:00
  • ec82e5b87c Finish merging key validation larabr 2020-07-17 14:19:03 +02:00
  • c164b6427a Fix comments on symmetric- and public-key encrypted session keys (#1120) Dan Ristea 2020-07-13 19:18:26 +01:00
  • c3f42a7436 Rename SymEncryptedAEADProtectedDataPacket to AEADEncryptedDataPacket Daniel Huigens 2020-06-09 18:43:34 +02:00
  • 068bf97300 Appease linter Daniel Huigens 2020-06-09 18:11:39 +02:00
  • c811a0f7cc Use ES6 classes Daniel Huigens 2020-05-16 03:05:55 +02:00
  • eca99970ef Allow dead code elimination Daniel Huigens 2020-05-14 13:38:08 +02:00
  • a4750369c6 Add --build-only parameter to filter build outputs Daniel Huigens 2020-05-12 22:50:55 +02:00
  • c3832efa82 Only produce source maps for minified dist builds Daniel Huigens 2020-05-12 22:32:59 +02:00
  • eb98a941ae Add shortcut to import 'openpgp/lightweight' Daniel Huigens 2020-05-12 01:30:08 +02:00
  • 5ac34682de CI: for lightweight build, only run tests tagged 'lightweight' Daniel Huigens 2020-05-12 01:26:23 +02:00
  • 0e0673f6bb Use dynamic import in lightweight build Daniel Huigens 2020-05-11 23:40:20 +02:00
  • 2548d17b02 Remove src and test directory from npm package Daniel Huigens 2020-05-07 17:22:07 +02:00
  • 683f2bf4d2 Bump Browserstack test to iOS 12 Daniel Huigens 2020-05-07 11:28:43 +02:00
  • 1cf2fc57aa Drop Node.js 8 support and Travis test Daniel Huigens 2020-05-06 23:25:24 +02:00
  • 6498954676 Polyfill globalThis Daniel Huigens 2020-05-06 22:56:00 +02:00
  • 02cd870b83 Remove bower.json Daniel Huigens 2020-05-03 00:43:48 +02:00
  • 9b23fcd34e Remove compat polyfills Daniel Huigens 2020-05-02 05:32:34 +02:00
  • b9bae46232 Replace release.sh with npm version scripts Daniel Huigens 2020-05-02 03:29:39 +02:00
  • 6708f36693 Link to source code on GitHub from documentation Daniel Huigens 2020-05-02 02:42:39 +02:00
  • e82ebc56b0 Replace remaining grunt tasks with npm scripts Daniel Huigens 2020-05-01 22:50:25 +02:00
  • b2be4fef5c Replace 'global' with 'globalThis' Daniel Huigens 2020-04-27 21:52:21 +02:00
  • f1ec35d8d6 Switch to ES8 build of asmcrypto.js Daniel Huigens 2020-04-27 21:37:51 +02:00
  • 4cb60f6c60 Switch build system to rollup Daniel Huigens 2020-04-23 02:08:28 +02:00
  • 285b9badc9 Remove default export Daniel Huigens 2020-04-23 03:33:52 +02:00
  • 2ca9dd65d3 Remove dist folder from GitHub Daniel Huigens 2020-04-23 00:03:22 +02:00
  • 714f357faf Build OpenPGP.js on local npm install Daniel Huigens 2020-04-22 22:40:10 +02:00
  • e15cba040f Rename enums to use camelCase (#1093) Ilya Chesnokov 2020-05-07 00:46:58 +07:00
  • 132f764d75 Fix lightweight build and browserstack test (#1092) Daniel Huigens 2020-05-06 19:05:13 +02:00
  • 43271a042b Switch util function names to camelCase (#1091) Ilya Chesnokov 2020-04-29 06:20:03 +07:00
  • f2fec641b5 Rename config option names to camelCase (#1088) Ilya Chesnokov 2020-04-23 18:46:38 +07:00
  • eb2657d40c Allow key.validate() to pass if it has a GNU dummy primary key Daniel Huigens 2020-04-22 22:04:26 +02:00
  • 90dc1cd218 Remove worker (#1072) larabr 2020-04-16 17:15:36 +02:00
  • b1e016e97a Remove 3DES and CAST5 from default preferred symmetric algorithms (#1068) larabr 2020-03-26 18:03:02 +01:00
  • 753acd1a34 Remove SHA-1 from default preferred hash algorithms (#1067) larabr 2020-03-26 18:01:28 +01:00
  • 4aabf23099 Generate ECC keys by default (#1065) larabr 2020-03-26 17:59:27 +01:00
  • 0a485d5e4d Use V5 keys by default (#1063) larabr 2020-03-26 17:57:10 +01:00
  • 76e7dc127c Use AEAD protection by default (#1062) larabr 2020-03-26 17:56:37 +01:00
  • dff1e4a022 Remove browsers that always fail from Browserstack tests Daniel Huigens 2020-02-27 18:18:45 +01:00
  • b1dea92eb6 Return only one key in key.read[Armored], add readAll[Armored] Daniel Huigens 2020-02-26 22:32:22 +01:00
  • 2c8a778a15 Throw on unarmored messages with garbage data appended Daniel Huigens 2020-02-26 16:22:57 +01:00
  • a0cecc1ab0 Don't mutate key in openpgp.encryptKey/decryptKey Daniel Huigens 2020-01-08 20:12:14 +01:00
  • 0afe678036 Throw in openpgp.initWorker if worker failed to load Daniel Huigens 2020-02-19 14:34:54 +01:00
  • 67da21d9ae Unit tests: Fix autoscroll with skipped tests Daniel Huigens 2020-02-18 18:43:34 +01:00
  • daaac15f46 Remove unnecessary calls to convertStreams() Daniel Huigens 2020-02-18 17:44:00 +01:00
  • a11ef912fb Don't unnecessarily return objects in top-level functions Daniel Huigens 2020-02-18 15:02:56 +01:00
  • ab6ff1a94c Add openpgp.generateSessionKey Daniel Huigens 2020-02-18 16:56:55 +01:00
  • f5711184ee Skip test for OpenPGP.js inside an application worker in old Edge Daniel Huigens 2020-02-17 18:07:16 +01:00
  • 296f2e17a0 Don't use native streams in old Edge Daniel Huigens 2020-02-17 18:02:18 +01:00
  • 68787dcd4e Don't overwrite Web Streams Polyfill to globals Daniel Huigens 2019-12-11 12:21:00 +01:00
  • 79ad23d13a Update web-stream-tools Daniel Huigens 2020-02-14 18:53:35 +01:00