Commit graph

273 commits

Author SHA1 Message Date
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
Filip Skokan
10a8cb4178 chore: remove unnecessary .npmrc file 2019-10-23 16:44:58 +02:00
Filip Skokan
6d839c6ed6 refactor: remove Object.assign where ... is possible 2019-10-23 16:44:40 +02:00
Filip Skokan
c44ebdded6 ci: enable node 13 and macOS in CI 2019-10-22 11:00:02 +02:00
Filip Skokan
c11a9d32de docs: update sponsor link 2019-10-18 12:15:43 +02:00
Filip Skokan
34b755afcf refactor: xt5 -> x5t 2019-10-17 14:56:53 +02:00
Filip Skokan
aaa4197877 docs: update sponsor link 2019-10-17 14:55:12 +02:00
Filip Skokan
7510a7e574 ci: dont run actions for yml and md changes 2019-10-17 14:55:12 +02:00
Filip Skokan
d8807ca204 chore(release): 1.10.1 2019-10-04 12:21:56 +02:00
Filip Skokan
0a16efb961 fix: throw proper error when runtime doesn't support OKP
closes #48
2019-10-04 12:21:08 +02:00
Filip Skokan
12ea8a6ee5 docs: update intro gif 2019-10-01 18:27:06 +02:00