Daniel Huigens
54fc1dde3d
Throw error before decrypting in non-MDC packets
2019-02-12 11:49:38 +01:00
Daniel Huigens
40360b4955
Fix streaming/signed encryption with config.integrity_protect=false
2019-02-12 11:49:38 +01:00
rash0
3edc6e7501
++ Add another Domain for HKP server ( #855 )
...
* ++ Add another Domain for HKP server
the pgp.mit.edu domain is most of the time down and responds with time out...so i discovered this ubuntu domain for the same database...but its much faster and never falls....i think too much traffic over the bit one :(
* Update hkp.js
* Change HKP server url
* Defined the default HKP server
* Update README.md
Co-Authored-By: rash0 <40761345+rash0@users.noreply.github.com>
* ++ Add revocation certificate test
didn't know if i should use the revocation certificate in the test/key.js file or generate a new one...so i generated a test one and used it...
2019-02-11 11:33:24 +01:00
Sanjana Rajan
e2d19a7414
Release new version
2019-02-06 19:45:15 +01:00
Daniel Huigens
9d7db98362
Specify git commits in package.json
2019-02-05 13:46:59 +01:00
Daniel Huigens
352dd5639e
Fix async describe() in test suite that always runs
2019-02-05 13:46:59 +01:00
Daniel Huigens
1dd168e7a2
Fix ECDH message encryption for some session keys
2019-02-05 13:46:59 +01:00
Daniel Huigens
cd9fd860fd
Update openpgpjs/elliptic
2019-02-05 13:46:59 +01:00
Daniel Huigens
d91b064e14
Optimize util.removeTrailingSpaces ( #848 )
...
Backtracking regexes have pathological worst-case performance when
a long line contains a large amount of whitespace not followed by
a newline, since the regex engine will attempt to match the regex
at each whitespace character, read ahead to the non-whitespace non-
newline, declare no match, and try again at the next whitespace.
E.g. try running
util.removeTrailingSpaces(new Array(1e6).join(' ') + 'a').length
which would hang V8.
2019-01-27 00:22:47 +00:00
wussler
f018f60b9c
ECDHE tests ( #846 )
...
* Ellyptic curves tests
* Re-run tests
2019-01-27 00:19:36 +00:00
Sanjana Rajan
b0ac142f2e
Merge pull request #847 from twiss/dont-throw-verification-errors
...
Don't throw on signature verification errors in openpgp.decrypt/verify
2019-01-27 00:18:41 +00:00
Daniel Huigens
9e4cc1acfe
Don't throw on signature verification errors in openpgp.decrypt/verify
2019-01-26 11:41:44 +01:00
Sanjana Rajan
96eca0c281
Release new version
2019-01-24 10:16:36 +01:00
Sanjana Rajan
2b17ffba84
Merge pull request #844 from wussler/master
...
Make ephemeral secret available from ECDH module
2019-01-24 10:12:32 +01:00
Sanjana Rajan
bced4513ca
Merge pull request #843 from crcunningham/patch-1
...
Update README.md: Fix error
2019-01-24 10:10:38 +01:00
wussler
6b19af0a63
new BN, fix doc
2019-01-22 16:50:06 +01:00
wussler
2975e49dd0
genPublicEphemeralKey to return Uint8Array
2019-01-22 16:24:55 +01:00
wussler
6d9160dd87
Fix mistake in documentation
2019-01-22 16:22:05 +01:00
Aron Wussler
1face482ba
Naming
2019-01-21 15:35:45 +01:00
Aron Wussler
4c809a4846
Fix to returns
2019-01-21 14:57:02 +01:00
Daniel Huigens
31f72fb64d
Update src/crypto/public_key/elliptic/ecdh.js
...
Co-Authored-By: wussler <aron@wussler.it>
2019-01-18 16:40:31 +01:00
Daniel Huigens
680aa03bcd
Update src/crypto/public_key/elliptic/ecdh.js
...
Co-Authored-By: wussler <aron@wussler.it>
2019-01-18 16:40:22 +01:00
Daniel Huigens
f77ebc7605
Update src/crypto/public_key/elliptic/ecdh.js
...
Co-Authored-By: wussler <aron@wussler.it>
2019-01-18 16:40:13 +01:00
Aron Wussler
06952b4e30
Make ephemeral secret available from ECDH module
2019-01-18 16:06:57 +01:00
Chris Cunningham
bd964334cd
Update README.md: Fix error
...
I was seeing this error:
```
index.js:29
message: await openpgp.message.readArmored(encrypted), // parse armored message
^^^^^^^
```
And I think it's because the async was missing.
2019-01-15 20:51:30 -08:00
Sanjana Rajan
1ec216a6b4
Release new version
2019-01-15 11:46:22 -08:00
Daniel Huigens
49a7deacd4
Don't run AsyncProxy tests in browsers that don't fully support workers
2019-01-15 20:16:59 +01:00
Daniel Huigens
77055f6dfe
Don't zero-copy transfer buffers in Safari 11.1 and Chrome < 56
...
See https://bugs.webkit.org/show_bug.cgi?id=184254
and https://bugs.chromium.org/p/chromium/issues/detail?id=334408 .
2019-01-15 20:16:59 +01:00
Sanjana Rajan
b904aef3a7
Release new version
2019-01-15 02:51:28 -08:00
Sanjana Rajan
a87d03a7bd
Merge pull request #838 from twiss/worker-buffer-transfer
...
Transfer buffers in workers
2019-01-15 01:24:00 -08:00
Sanjana Rajan
e3cae6c34f
Merge pull request #837 from benhc123/patch-3
...
Added link to license for informational purposes
2019-01-15 01:20:27 -08:00
Sanjana Rajan
df72a3e826
Merge pull request #840 from mmso/fix/minification
...
Upgrade to terser-js
2019-01-15 01:18:30 -08:00
mmso
9ce5b7ca0c
Upgrade to terser-js
2019-01-15 10:10:49 +01:00
Daniel Huigens
fe69cb882d
Zero-copy transfer buffers when passing streams to workers
2019-01-09 15:18:59 +01:00
Daniel Huigens
625c6ea4b3
Zero-copy transfer buffers from the worker to the main thread
2019-01-09 15:18:56 +01:00
Daniel Huigens
c73b4536be
Fix error handling in worker delegation
2019-01-09 15:06:15 +01:00
Ben Holden-Crowther
53237392f2
Added link to license for informational purposes
2019-01-09 12:03:49 +00:00
Sanjana Rajan
1fc0b254bf
Merge pull request #835 from benhc123/patch-2
...
Removed broken links
2019-01-08 16:02:40 -08:00
Ben Holden-Crowther
e52504b0fd
Removed broken links
...
Removed broken links in readme
2019-01-05 21:30:21 +00:00
Sanjana Rajan
92ba73402a
Release new version
2019-01-03 07:03:26 -08:00
Sanjana Rajan
ffeb43ef04
Merge pull request #831 from twiss/web-crypto-cfb
...
Web Crypto CFB encryption, revision 2
2019-01-03 06:56:40 -08:00
Sanjana Rajan
37bc379663
Merge pull request #828 from tomholub/patch-1
...
Fix various JSDoc typos etc
2019-01-03 06:55:42 -08:00
Sanjana Rajan
b94031416d
Merge pull request #834 from benhc123/patch-1
...
Grammar improvement
2019-01-03 06:55:00 -08:00
Ben Holden-Crowther
fe3c9a0602
grammar improvement
...
built-in vs builtin
2019-01-03 14:24:47 +00:00
Sanjana Rajan
9b599c86b2
Merge pull request #827 from estelendur/double_is_readonly
...
Double is readonly
2019-01-02 15:15:22 -08:00
Esty Thomas
4458ea77f8
Revert "Adds dist changes derived from previous commit."
...
This reverts commit 6cd5152b16
.
2019-01-02 18:01:22 -05:00
Sanjana Rajan
83623b3d32
Release new version
2019-01-02 14:46:49 -08:00
Daniel Huigens
1e5935dff3
Require recent Firefox on Sauce Labs to pass
...
We want at least one browser to pass. Firefox usually passes, so use
it to gauge whether the browsers pass.
2019-01-02 15:44:47 +01:00
Sanjana Rajan
4ce2dd28e1
update CFB tests
2019-01-02 15:44:45 +01:00
Daniel Huigens
31931c9b0d
Simplify MDC verification
2019-01-02 15:13:00 +01:00