Commit Graph

  • bb15ffc2a0 Fix streaming verify when using Worker and streams polyfill Daniel Huigens 2018-07-16 16:00:51 +02:00
  • 61a0e3fa69 Fix tests on IE11 Daniel Huigens 2018-07-11 13:52:46 +02:00
  • 29271accef Enable Transferables in IE11 Daniel Huigens 2018-07-10 18:07:23 +02:00
  • c75e2323c0 Support IE11 for streaming Daniel Huigens 2018-07-10 16:55:27 +02:00
  • 721e522b17 Don't increase buffering in transformWithCancel Daniel Huigens 2018-07-09 13:38:44 +02:00
  • 0b0112d1e6 En/decrypt all AEAD chunks in parallel when not returning a stream Daniel Huigens 2018-07-06 17:41:58 +02:00
  • d844b8b06c Add minimum AEAD buffer size Daniel Huigens 2018-07-06 16:08:14 +02:00
  • 54d5bd7d39 Add testcase for verifying messages without one-pass-signatures Daniel Huigens 2018-07-05 19:19:11 +02:00
  • ca537e439d Comments & code style Daniel Huigens 2018-07-05 13:44:33 +02:00
  • 1101a05b10 Don't return streams inside unarmored generated keys and signatures Daniel Huigens 2018-07-04 18:11:21 +02:00
  • 4546f41c4e config.require_uid_self_cert #740 Tom James Holub 2018-08-14 01:19:18 +00:00
  • 27b2d06cfe tests for config.require_uid_self_cert #740 Tom James Holub 2018-08-14 01:18:43 +00:00
  • 85223093a4 Switch to fork of asmcrypto.js Daniel Huigens 2018-07-03 13:55:55 +02:00
  • d489f3369f Update to asmcrypto.js 2 Daniel Huigens 2018-06-29 23:26:33 +02:00
  • e66d44e42d Rename config.unsafe_stream to allow_unauthenticated_stream Daniel Huigens 2018-06-28 19:22:53 +02:00
  • 2b30ab9c8f Replace data with message parameter in encrypt() and sign() Daniel Huigens 2018-06-27 20:33:03 +02:00
  • 95413cc6ed Fix signatures of messages with leading/trailing whitespace Daniel Huigens 2018-06-27 15:53:32 +02:00
  • 160b03451f Fix key generation in Firefox Daniel Huigens 2018-06-27 15:19:46 +02:00
  • 9f0f00e087 Make signature.verified a Promise instead of result.signatures Daniel Huigens 2018-06-25 20:33:38 +02:00
  • 0db32bea39 Backpressure and cancellation in sign/verify Daniel Huigens 2018-06-21 18:25:28 +02:00
  • d2ba6b3c6c Wait for data to be read before resolving signatures Daniel Huigens 2018-06-22 16:01:39 +02:00
  • 3113976dd2 Don't throw in result.signatures Daniel Huigens 2018-06-21 18:23:06 +02:00
  • b6e988b6a6 Convert result.signatures to a Promise Daniel Huigens 2018-06-20 14:22:58 +02:00
  • 0cabf72682 Add TextDecoder polyfill Daniel Huigens 2018-06-19 17:17:24 +02:00
  • ad92ac7c3a Fix signature type of one-pass signatures when passing a signature Daniel Huigens 2018-06-18 19:19:36 +02:00
  • 4d82d25559 Pass more tests Daniel Huigens 2018-06-14 14:57:15 +02:00
  • 4e749965f2 Remove support for V3 keys and signatures Daniel Huigens 2018-06-18 14:12:45 +02:00
  • eb72d4dd63 Don't use asmcrypto's streaming API when not necessary Daniel Huigens 2018-06-18 12:54:57 +02:00
  • e1a8b17753 Fix literalPacket.getText() Daniel Huigens 2018-06-14 14:54:59 +02:00
  • 411b626149 Work around timing difference between Chrome and polyfill Daniel Huigens 2018-06-14 12:18:18 +02:00
  • 55fd292fba Fix armor errors Daniel Huigens 2018-06-13 16:27:59 +02:00
  • 304cbf4783 Fix backpressure Daniel Huigens 2018-06-13 15:18:27 +02:00
  • 589b666ac7 Don't clone stream in packet.parse() Daniel Huigens 2018-06-12 18:55:00 +02:00
  • ddda6a0b16 Implement cancellation by manually linking together input and output streams Daniel Huigens 2018-06-08 16:40:02 +02:00
  • de2971d84a Use TransformStreams Daniel Huigens 2018-06-06 16:47:58 +02:00
  • 51c897b073 Cancelling Daniel Huigens 2018-06-04 17:19:57 +02:00
  • a6a701df7f Streaming signing Daniel Huigens 2018-06-04 16:17:13 +02:00
  • 9c1c28bc59 Add option to read unauthenticated data from stream Daniel Huigens 2018-06-01 14:43:34 +02:00
  • 1effe19c1d Allow simultaneously reading data and waiting for signature verification Daniel Huigens 2018-06-01 12:19:16 +02:00
  • 4bbbdaee9f Rename stream.subarray() to stream.slice() Daniel Huigens 2018-06-01 14:08:45 +02:00
  • 56ec5b3a8d Don't keep extra copies of streams in memory Daniel Huigens 2018-05-30 17:35:19 +02:00
  • 78a0ca937e Cache browserified modules Daniel Huigens 2018-05-29 15:51:12 +02:00
  • f79a3f718d Fix streaming UTF8 decoding Daniel Huigens 2018-05-29 15:38:34 +02:00
  • f0633f00ea Don't repeatedly decrypt the same key in unit tests Daniel Huigens 2018-05-29 14:35:09 +02:00
  • 253e1c572b Switch to asmcrypto for hashing where available Daniel Huigens 2018-05-29 14:04:25 +02:00
  • ade2627bca Streaming verify one-pass signatures Daniel Huigens 2018-05-25 19:24:33 +02:00
  • ead3ddd706 Streaming decrypt old-format packets Daniel Huigens 2018-05-25 19:23:09 +02:00
  • 9fcc075f0b Streaming decrypt non-partial-length-encoded packets Daniel Huigens 2018-05-18 15:46:36 +02:00
  • fb155ffae0 Streaming support on Node Daniel Huigens 2018-05-17 20:40:37 +02:00
  • 8658816b90 Add Web Streams polyfill Daniel Huigens 2018-05-17 19:43:20 +02:00
  • 802e1b8d94 Transfer Streams to Workers Daniel Huigens 2018-05-17 19:10:07 +02:00
  • 58eca571bf Fix integrity_protect = false Daniel Huigens 2018-05-17 19:09:11 +02:00
  • d67526338e Streaming (de)compression (Web) Daniel Huigens 2018-05-17 16:28:12 +02:00
  • 37014ecf30 Pass more tests Daniel Huigens 2018-05-16 21:33:22 +02:00
  • 05479e6e6b Don't warn about await in loops Daniel Huigens 2018-05-16 18:57:30 +02:00
  • db39e616ca Replace stream.tee() with stream.clone() Daniel Huigens 2018-05-16 18:50:28 +02:00
  • 3475843d82 Don't hack util.concatUint8Array() to handle Streams Daniel Huigens 2018-05-16 17:46:58 +02:00
  • 16ba26c298 Streaming AEAD Daniel Huigens 2018-05-16 16:27:00 +02:00
  • 1f30556674 Split stream.transform into using two helper functions Daniel Huigens 2018-05-15 20:19:33 +02:00
  • 4ada3fa590 Don't mutate prototypes of Uint8Array, ReadableStream and ReadableStreamDefaultWriter Daniel Huigens 2018-05-15 18:56:25 +02:00
  • 70f0e1d2f5 Finish streaming armoring Daniel Huigens 2018-05-15 17:10:16 +02:00
  • 0af4742a14 Signatures Daniel Huigens 2018-05-15 16:43:43 +02:00
  • 0372bf78f1 Make (de)armoring and packet reading asynchronous Daniel Huigens 2018-05-15 14:58:33 +02:00
  • 403bdc5346 Streaming decryption (Web) Daniel Huigens 2018-05-09 12:43:45 +02:00
  • b4f5976242 Writing partial lengths Daniel Huigens 2018-05-08 20:16:16 +02:00
  • 9853d3d830 Streaming encryption (Web) Daniel Huigens 2018-05-07 13:40:12 +02:00
  • 9302fdcc56 Don't cache literal.getBytes() when signing with textMode=false Daniel Huigens 2018-05-31 18:18:41 +02:00
  • c271f87a69
    * [doc] add the date argument doc to Signature.prototype.verify Riceball LEE 2018-08-07 20:26:57 +08:00
  • 90e2bdda77
    + [feat] add the signatureExpirationTime support + add the date argument to the Signature.prototype.verify * message/clearTextMessage will verify date with signatureExpirationTime now Riceball LEE 2018-08-07 20:02:52 +08:00
  • d05847980e
    Merge branch 'master' into feature/addSubkey Riceball LEE 2018-08-06 14:07:08 +08:00
  • 5be838f9bb Release new version v3.1.2 Sanjana Rajan 2018-08-03 14:55:04 +02:00
  • c79bda1d37 bugfix - compare create time from key packet Sanjana Rajan 2018-08-03 14:21:15 +02:00
  • 16762d02f0 Release new version v3.1.1 Sanjana Rajan 2018-08-01 17:50:23 +03:00
  • 8f01d4b0b5 clean up tests Sanjana Rajan 2018-08-01 17:47:07 +03:00
  • cc72684709
    * adjust code order to diff more easy. Riceball LEE 2018-08-01 15:54:58 +08:00
  • 17575be6f0
    * [test] use the es6 async/await grammar to get rid of Intermediate variables and more readable Riceball LEE 2018-07-31 13:46:32 +08:00
  • adb0148ca1 fix #748, signature cloning in verification objects Sanjana Rajan 2018-07-30 15:32:17 +03:00
  • 8168d7343d
    * comment the main key decrypt automatically for this version Riceball LEE 2018-07-29 10:46:59 +08:00
  • d1416cbe2c
    Merge pull request #746 from KAYLukas/fix/worker Sanjana Rajan 2018-07-27 10:41:35 +02:00
  • 01abfc507d remove unnecessary trims Sanjana Rajan 2018-07-27 09:50:54 +02:00
  • 6f176f8b30 Fix multiple workers Kay Lukas 2018-07-26 15:34:24 +02:00
  • 438d47f634 handle case where primary user doesn't exist when getting exp time Sanjana Rajan 2018-07-24 17:17:12 +02:00
  • 2ebf5c67f4
    Merge branch 'master' into feature/addSubkey Riceball LEE 2018-07-24 23:14:22 +08:00
  • 5018b1a821
    * [generateSubkey] check default algo explicitly Riceball LEE 2018-07-24 22:14:12 +08:00
  • 7d527fdca1
    + add the SubKey.bindSignature method * [bug] wrapKeyObject keyFlags should be an array always Riceball LEE 2018-07-24 22:06:44 +08:00
  • 2dc4d43541
    * [test] make sure the generated signing subkey should be used to sign Riceball LEE 2018-07-24 21:42:15 +08:00
  • 49153db63b
    Merge pull request #742 from wiktor-k/fix-uat-verification Sanjana Rajan 2018-07-24 14:18:14 +02:00
  • 445678145a
    + test encrypt/decrypt data with the new subkey correctly Riceball LEE 2018-07-24 20:07:59 +08:00
  • 19e3c344fd
    Fix verification of User Attributes Wiktor Kwapisiewicz 2018-07-23 22:01:39 +02:00
  • b6e59d2473
    * [bug] can not sign data with subkey for keyFlags error Riceball LEE 2018-07-24 12:55:39 +08:00
  • 5c574d92ca remove package-lock Sanjana Rajan 2018-07-23 15:12:01 +02:00
  • 21449ebd50 Release new version v3.1.0 Sanjana Rajan 2018-07-19 18:13:51 +02:00
  • 11b2d2de3c
    Merge pull request #739 from twiss/key-expiry-capabilities Sanjana Rajan 2018-07-19 15:23:25 +02:00
  • 15e6f0d654 Replace get(Sub)KeyPackets with get(Sub)Keys Daniel Huigens 2018-07-19 14:37:27 +02:00
  • 91b7165b78 Add key/subKey.getKeyId, getFingerprint, getAlgorithmInfo, getCreationTime, isDecrypted Daniel Huigens 2018-07-19 14:25:32 +02:00
  • 8cfe817b18 Remove getEncryptionKeyPacket and getSigningKeyPacket Daniel Huigens 2018-07-18 16:10:48 +02:00
  • e24893224f
    + [test] add a new subkey with different password Riceball LEE 2018-07-19 15:48:02 +08:00
  • 967dca2c48
    * typo for comments Riceball LEE 2018-07-19 14:12:34 +08:00
  • 859177c23b
    * [bug] test curve 25519 subkey and primaray is the same algo should sign data both Riceball LEE 2018-07-19 14:02:36 +08:00
  • 1bfe9bd17c
    + add the SubKey.generate and SubKey.prototype.bindSignature methods * [bug] fixed get default curve algo from primary key Riceball LEE 2018-07-19 13:43:58 +08:00