Daniel Huigens
a7cc71e35e
Throw when trying to encrypt a key that's already encrypted ( #950 )
2019-08-19 13:27:52 +02:00
Tom J
d27060e508
Use native Node crypto for RSA key generation ( #947 )
2019-08-16 13:11:04 +02:00
Daniel Huigens
c685e34c76
Release new version
2019-08-12 19:18:04 +02:00
Daniel Huigens
8d4440a369
Merge pull request #895 from twiss/fix-unencrypted-v5-keys
...
Implement V5 signatures and update V5 keys to rfc4880bis-07
Also, remove support for `openpgp.config.aead_protect_version = 0`.
2019-08-12 18:55:32 +02:00
Daniel Huigens
8f54c00fd3
Bump link to draft spec in README.md
2019-08-12 17:46:37 +02:00
Daniel Huigens
a184ef6ec4
Remove support for the previous draft00 AEAD
2019-08-12 17:46:37 +02:00
Daniel Huigens
80c535eeb7
Separate config option to use V5 keys from AEAD config option
2019-08-12 17:46:37 +02:00
Daniel Huigens
9bb1710a9f
Remove unused writeOldHeader function
2019-08-12 17:46:37 +02:00
Daniel Huigens
8312399f9d
Update V5 key hashing for signatures to rfc4880bis-07
2019-08-12 17:46:37 +02:00
Daniel Huigens
c8729a0295
Fix serializing GNU stripped-keys
2019-08-12 17:46:37 +02:00
Daniel Huigens
735d6d088f
Implement V5 signatures
2019-08-12 17:46:37 +02:00
Daniel Huigens
f629ddcb31
Fix reading and writing unencrypted V5 secret key packets
2019-08-12 17:46:37 +02:00
Ilya Chesnokov
dff1a8aed8
Fix test failing due to expired key ( #941 )
2019-08-12 17:45:35 +02:00
Daniel Huigens
cbe88a54e9
Disable HKP tests ( #940 )
...
keyserver.ubuntu.com no longer serves CORS headers.
2019-08-09 20:03:40 +02:00
Ilya Chesnokov
a0e9c608ba
DSA: Fix intermittent generation of invalid signatures ( #938 )
2019-08-07 17:42:55 +02:00
Tom J
3be779e0a1
Fix comment describing RSA coefficient u ( #937 )
2019-08-07 17:39:57 +02:00
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