Daniel Huigens
8585ad8924
Merge pull request #935 from twiss/fix-armor-checksum-errors
...
Fix armor checksum errors being ignored when not streaming
2019-07-19 20:08:16 +02:00
Daniel Huigens
562783df01
Fix armor checksum mismatch error message with allow_unauthenticated_stream
2019-07-19 19:06:19 +02:00
Daniel Huigens
9166d6737c
Don't babelify ES6 in unit tests when testing in modern browsers
2019-07-19 19:06:19 +02:00
Daniel Huigens
2a5ab75fca
Decrypt message with multiple keys in parallel
...
Don't keep the entire message in memory.
This also fixes an unhandled promise rejection when the input
stream contains an error (e.g. an armor checksum mismatch).
2019-07-19 19:05:26 +02:00
Daniel Huigens
10cbd307c3
Add test for throwing on armor modifications
2019-07-19 19:05:26 +02:00
Daniel Huigens
237db2c7f3
Fix armor checksum errors being ignored when not streaming
2019-07-19 19:05:26 +02:00
Ilya Chesnokov
29d67415e2
Accept @
in User ID names ( #930 )
2019-07-18 15:45:54 +02:00
Ilya Chesnokov
70cf2d60ff
Implement ECDH using Node crypto ( #921 )
2019-07-09 20:45:28 +02:00
Ilya Chesnokov
6d626ea70c
Style fixes and new style rules for eslint ( #919 )
2019-06-28 15:33:18 +02:00
chesnokovilya
1bd5689d75
Implement ECDH using Web Crypto for supported (NIST) curves ( #914 )
2019-06-27 19:21:32 +02:00
Daniel Huigens
32b4f2bd27
Fix grunt-saucelabs ( #917 )
...
Update Sauce Labs Tunnel
2019-06-26 23:32:21 +02:00
Daniel Huigens
3a7db8ea60
Release new version
2019-06-24 20:17:15 +02:00
Daniel Huigens
6a60d92e8a
Update web-stream-tools
2019-06-24 20:09:43 +02:00
Daniel Huigens
17c994865b
Release new version
2019-06-21 16:23:53 +02:00
Sam
c7fb8d8fe7
Node detection: base on process instead of window ( #911 )
2019-06-21 15:43:56 +02:00
Remy
b035f2ea46
Fix nodejs API crypto link ( #909 )
2019-06-07 14:57:09 +02:00
Daniel Huigens
f00f256f50
Release new version
2019-06-06 16:17:05 +02:00
Daniel Huigens
5a17648922
Fix error message when reformatting a GNU stripped-key with a passphrase
2019-06-06 16:08:22 +02:00
Daniel Huigens
43441bfe0d
openpgp.reformatKey: Fix key preferences for signing subkeys
2019-05-23 17:37:20 +02:00
Daniel Huigens
72e3b491d7
Release new version
2019-05-16 16:23:36 +02:00
Daniel Huigens
5987e99c5b
Merge pull request #901 from wiktor-k/notations
...
Expose all signature notations
2019-05-16 13:31:47 +02:00
Wiktor Kwapisiewicz
82799390de
Fix signatures with critical notations
...
Previously the signature parsing function ignored critical bit on
notations.
This change checks for notations that are marked "critical" but are not
on the known notations list (controlled by config array
`openpgp.config.known_notations`) and triggers parse error if such
a notation have been encountered.
See: #897 .
2019-05-16 09:57:58 +02:00
Wiktor Kwapisiewicz
16b12d7f55
Expose all signature notations
...
Previous implementation used an object to hold notations so if multiple
notations had the same key name only the last one was visible.
After this change notations are exposed as an array of key-value pairs
that can be converted to a map through `new Map(notations)`.
See #897 .
2019-05-09 12:12:22 +02:00
Daniel Huigens
54f3eb5870
Release new version
2019-05-06 13:17:19 +02:00
Daniel Huigens
ee01883a52
Merge pull request #894 from twiss/dont-throw-verification-errors-workers
...
Fix one-pass signature verification when using a Worker
2019-05-05 00:01:14 +02:00
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