Daniel Huigens
e3bcce275e
Merge pull request #865 from twiss/gnu-stripped-keys
...
Support GNU export-secret-subkeys extension
2019-05-05 00:00:38 +02:00
Daniel Huigens
df8364930b
Fix one-pass signature verification when using a Worker
2019-05-03 18:40:31 +02:00
Daniel Huigens
1090464a70
Throw more informative error when trying to use a key with missing params
...
E.g. when trying to sign with a GPG stripped key without a valid signing
subkey.
2019-05-03 14:29:43 +02:00
Daniel Huigens
19d14b521b
Add test for signing with GNU stripped key
2019-05-03 14:07:10 +02:00
Daniel Huigens
bc756d0ed4
Make key.isDecrypted() and key.encrypt() consistent for gnu-dummy keys
2019-05-03 12:39:28 +02:00
Daniel Huigens
10e10effb6
Support GNU export-secret-subkeys extension
2019-05-03 12:39:28 +02:00
Daniel Huigens
dff2dcd9a7
Release new version
2019-05-02 14:01:48 +02:00
Daniel Huigens
39bb4dde92
Merge pull request #893 from twiss/tweetnacl
...
Use tweetnacl's 25519 implementation
2019-05-02 12:57:18 +02:00
Daniel Huigens
6689f93465
Fix flaky test in Edge
2019-05-02 12:55:08 +02:00
Daniel Huigens
f322aaf715
CI: Require Chrome instead of Firefox to succeed
...
Sauce Labs seems to be having issues with Firefox.
2019-05-02 12:08:08 +02:00
Daniel Huigens
34e6eacb2f
Don't attempt to use workers if they fail to load
2019-05-02 12:08:08 +02:00
Daniel Huigens
ecc8ae2a09
Don't include package.json
2019-05-02 12:08:08 +02:00
Daniel Huigens
ffa8344809
Only include tweetnacl functions we need
2019-05-02 12:08:08 +02:00
Daniel Huigens
caa712c337
Fix using local dependencies
2019-05-02 12:08:08 +02:00
Daniel Huigens
e637e75891
Clean up ECDH API
2019-05-02 12:08:08 +02:00
Daniel Huigens
ca0322bbea
Use tweetnacl's X25519 implementation
2019-05-02 12:08:08 +02:00
Daniel Huigens
be1b4df140
Use tweetnacl's Ed25519 implementation
2019-05-02 12:08:08 +02:00
Si Feng
d2c38693f5
Put comment before email when generating UIDs ( #892 )
2019-05-01 13:12:52 +02:00
Daniel Huigens
cc4a9119a3
Add Node 12 to CI ( #889 )
2019-04-29 15:58:59 +02:00
Daniel Huigens
d5e87dc6f4
Move non-external dependencies to devDependencies ( #888 )
...
They are not needed to use the dist file.
2019-04-29 13:45:58 +02:00
Daniel Huigens
7fb2901ede
Fix detached signing of messages created from streams ( #887 )
2019-04-29 13:45:09 +02:00
Thomas Oberndörfer
038d8466fe
Add date parameter to user.verifyAllCertifications and user.verify methods ( #871 )
...
Also, in user.verifyCertificate, fix certificate.isExpired check for keys with future creation date.
2019-03-08 17:33:36 +01:00
Sanjana Rajan
1ac84484bd
Release new version
2019-03-04 06:32:51 -08:00
Daniel Huigens
a9599fea42
Work around go crypto bug in ECDH messages ( #869 )
2019-03-04 13:53:19 +01:00
Sanjana Rajan
10d3bca6d3
Release new version
2019-02-28 10:39:10 -08:00
Thomas Oberndörfer
b1be7d1202
Fix merging multiple subkey binding signatures ( #868 )
2019-02-28 10:34:46 -08:00
Sanjana Rajan
b9abf80d5a
Release new version
2019-02-25 13:33:56 -08:00
Daniel Huigens
76ce33d96b
Use ES6 build of web-streams-polyfill in non-compat builds
2019-02-25 20:56:33 +01:00
Daniel Huigens
ab0892bd64
Update web-streams-polyfill
...
Fixes a memory leak in Node.js (see
https://github.com/MattiasBuelens/web-streams-polyfill/pull/8 ).
2019-02-25 20:56:33 +01:00
Stephen Simpson
e17ad669a1
Expand git hashes in dependencies
...
Expanded the git hashes as pnpm cannot install via short hashes.
2019-02-25 20:55:59 +01:00
Daniel Huigens
a291a803fb
Fix reading indeterminate-length packets in IE11
...
Broken in 5dcaf85
.
2019-02-25 04:41:58 +01:00
Daniel Huigens
cd6eadd6e0
Fix reading empty partial body part (again)
...
Broken in 5dcaf85
.
2019-02-25 04:34:28 +01:00
Daniel Huigens
5dcaf85f5a
Optimize reading large messages with lots of tiny partial body parts ( #864 )
...
* Fix pako decompression
* Optimize base64-decoding
* Don't stream-parse packets when not stream-reading data
2019-02-21 08:33:55 -08:00
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