Commit graph

283 commits

Author SHA1 Message Date
Filip Skokan
4cd31bdbc4 chore(release): 1.17.1 2019-12-10 17:06:47 +01:00
Filip Skokan
bee574457f fix: properly fail to import unsupported openssh keys 2019-12-10 17:06:34 +01:00
Filip Skokan
94ec607d4c refactor: freeze the key's x5c array 2019-12-10 15:20:01 +01:00
Filip Skokan
0e28282e3e chore(release): 1.17.0 2019-12-10 15:03:19 +01:00
Filip Skokan
25a7a71915 feat: importing a certificate populates x5c and x5t thumbprints
closes #59
2019-12-10 14:58:54 +01:00
Filip Skokan
40cc05241e docs: add JWK.asKey DER public key type values 2019-12-10 14:01:12 +01:00
Filip Skokan
62bdee7b29 refactor: improve error message when JWE "enc" value is invalid 2019-12-06 16:09:49 +01:00
Filip Skokan
8976027c97 refactor: improve error message when key use mismatches the operation 2019-12-06 15:35:15 +01:00
Filip Skokan
cfe3dbab28 chore(release): 1.16.2 2019-12-05 21:00:11 +01:00
Filip Skokan
daabedc776 fix: handle Unencoded Payload (b64:false) with arbitrary buffer payloads
fixes #57
2019-12-05 20:54:43 +01:00
Filip Skokan
749b2ac9d3 chore(release): 1.16.1 2019-12-05 10:34:49 +01:00
Filip Skokan
f0d719416e fix: allow PBES2 for the correct JWK use values 2019-12-05 10:33:59 +01:00
Filip Skokan
2bd3d3c9ba docs: fix X449 -> X448 2019-12-04 18:15:40 +01:00
Filip Skokan
f8621ae23b chore(release): 1.16.0 2019-12-04 15:46:17 +01:00
Filip Skokan
5b27c97ac8 feat: two official jose plugins/extensions for those living on the edge
https://github.com/panva/jose-chacha
https://github.com/panva/jose-x25519-ecdh

See the docs of each if you need them.

Closes #56
2019-12-04 15:45:49 +01:00
Filip Skokan
af635be8ac refactor: allow ECDH-ES to be pluggable with extensions 2019-12-04 11:46:09 +01:00
Filip Skokan
b103874208 refactor: improve extra KW header parameter handling 2019-12-03 19:06:00 +01:00
Filip Skokan
a9f1d4b195 refactor: introduce various registries to prepare for extension modules 2019-12-03 18:54:37 +01:00
Filip Skokan
d5af0c364d refactor: set authTagLength option for Content Encryption with AES GCM
Node uses 16 by default, this is just making it explicit.
2019-12-01 19:01:47 +01:00
Filip Skokan
11a0c42b3e chore(release): 1.15.1 2019-11-30 14:47:49 +01:00
Filip Skokan
99eeb43d0e refactor: use dsaEncoding for ECDSA when supported 2019-11-29 10:57:20 +01:00
Filip Skokan
0277fcd189 fix(typescript): export Key Input types 2019-11-28 09:00:36 +01:00
Filip Skokan
078109803a chore(release): 1.15.0 2019-11-27 22:19:16 +01:00
Filip Skokan
ce77388254 fix: default JWT.sign kid option value is false for HMAC signatures 2019-11-27 22:04:15 +01:00
Filip Skokan
d45f845c45 refactor: backwards compatibility for node < 12 2019-11-27 22:04:15 +01:00
Filip Skokan
3a6906278d refactor: less overhead + truly private API for JWK.Key#algorithms 2019-11-27 22:04:15 +01:00
Filip Skokan
5e1009a63e feat: allow JWK.asKey inputs for sign/verify/encrypt/decrypt operations 2019-11-27 22:04:14 +01:00
Filip Skokan
56ef58e5bb chore(release): 1.14.0 2019-11-26 16:03:28 +01:00
Filip Skokan
ea60338ca6 feat: allow JWKS.KeyStore .all and .get to filter for key curves 2019-11-26 16:01:49 +01:00
Filip Skokan
f1f39779d8 chore(release): 1.13.0 2019-11-23 12:14:38 +01:00
Filip Skokan
c3eb8450b9 feat: return the CEK from JWE.decrypt operation with { complete: true } 2019-11-23 12:06:15 +01:00
Filip Skokan
097cf56af3 chore(release): 1.12.1 2019-11-14 17:55:27 +01:00
Filip Skokan
8086159669 chore: add funding to package.json 2019-11-14 17:51:52 +01:00
Filip Skokan
d839f8ecac ci: use extended npm-install-retry 2019-11-14 10:41:47 +01:00
Filip Skokan
bad0039e30 ci: update dtslint 2019-11-08 13:44:49 +01:00
Filip Skokan
9d61b301ce chore(release): 1.12.0 2019-11-05 20:12:45 +01:00
Filip Skokan
6bb66d4f0b feat: add JWS.verify encoding and parsing options 2019-11-05 20:09:34 +01:00
Filip Skokan
dfc91d8391 chore(release): 1.11.0 2019-11-03 17:32:59 +01:00
Filip Skokan
8ea968312e feat: expose crypto.KeyObject instances in supported runtimes 2019-11-03 17:27:44 +01:00
Filip Skokan
89db91cb50 ci: update dtslint 2019-10-31 15:32:54 +01:00
Filip Skokan
fbbda54ee0 ci: fail-fast true 2019-10-30 15:15:04 +01:00
Filip Skokan
d1b374241b chore: update dev deps 2019-10-30 15:11:59 +01:00
Filip Skokan
98cdad46ee test: fix secp256k1 tests 2019-10-29 15:31:52 +01:00
Filip Skokan
16727dc89e chore(release): 1.10.2 2019-10-29 15:22:06 +01:00
Filip Skokan
95882232d6 fix: only use secp256k1 keys for signing/verification 2019-10-29 15:21:57 +01:00
Filip Skokan
3cf22e2682 chore: update dev deps 2019-10-28 20:06:18 +01:00
Filip Skokan
3bf1f945a2 ci: enable electron 7 in CI 2019-10-24 19:27:15 +02:00
Filip Skokan
9a8f5857b0 ci: update test.yml to remove a setup-node deprecation 2019-10-24 12:15:14 +02:00
Filip Skokan
d6c2eb28e8 ci: retry npm install 2019-10-24 11:30:05 +02:00
Filip Skokan
e2f3c9be63 docs: remove badges 2019-10-23 16:56:46 +02:00