Filip Skokan
734a9dc2ab
test: refactor jwe long running tests
2020-02-19 10:53:08 +01:00
Filip Skokan
ddda88e4d7
chore(release): 1.23.0
2020-02-18 22:18:17 +01:00
Filip Skokan
9e7444b7d2
refactor: removed asn1.js in favor of slimmer @panva/asn1.js
...
resolves #61
2020-02-18 16:12:10 +01:00
Filip Skokan
a0cdeb633f
chore: update .gitignore
2020-02-18 11:03:17 +01:00
Filip Skokan
f7e463d0dd
improvement: private / public key input support improved in node 10
2020-02-14 21:17:19 +01:00
Filip Skokan
38369ea3d7
feat: add ECDH-ES with X25519 and X448 OKP keys
2020-02-13 16:26:09 +01:00
Filip Skokan
594c3e4e43
improvement: dsaEncoding is now available in lts/erbium
2020-02-13 15:31:28 +01:00
Filip Skokan
7477f0831b
feat: add RSA-OAEP-384 and RSA-OAEP-512 JWE Key Management Algorithms
...
These are registered for JOSE by W3C Web Cryptography Working Group in
[Web Cryptography API](https://www.w3.org/TR/WebCryptoAPI/ )
2020-02-13 15:24:37 +01:00
Filip Skokan
b92079cb64
fix(typescript): add optional JWK.Key props and make them readonly
...
resolves #67
2020-02-13 12:32:12 +01:00
Filip Skokan
29ef6ae521
chore(release): 1.22.2
2020-02-06 14:19:10 +01:00
Filip Skokan
3e3d7dd381
perf: various codepaths refactored
2020-02-06 14:18:48 +01:00
Filip Skokan
eb12f168d6
ci: add electron@8
2020-02-05 22:09:23 +01:00
Filip Skokan
91fc911c49
chore(release): 1.22.1
2020-02-03 14:08:11 +01:00
Filip Skokan
eae01b57ab
fix: actually remove the base64url proper encoding check
...
This should've landed with 470b4c7
2020-02-03 14:07:28 +01:00
Filip Skokan
dec5d233e1
refactor: simplify lib/jwa/ecdsa.js
2020-01-30 16:16:42 +01:00
Filip Skokan
10f8336c45
chore(release): 1.22.0
2020-01-29 21:15:28 +01:00
Filip Skokan
2fb1d8ed85
style: remove unused requires
2020-01-29 20:38:03 +01:00
Filip Skokan
470b4c7315
perf: base64url decode, JWT.verify, JWK.Key instance re-use
...
I'm done trying to educate other JOSE producers about interoperability
so i'm going to be accepting their non-conform base64url so that users
of this module don't suffer performance loss.
2020-01-29 20:33:30 +01:00
Filip Skokan
955171701f
docs: update README.md
2020-01-29 16:45:54 +01:00
Filip Skokan
d8c50ade6d
chore: package.json tags
2020-01-28 18:20:34 +01:00
Filip Skokan
93068a63c8
refactor: improve performance when decoding base64url values
...
When creating a Buffer from a string, this encoding will also correctly
accept "URL and Filename Safe Alphabet".
2020-01-28 16:41:03 +01:00
Filip Skokan
ed1f78023e
refactor: cleanup, code diet
2020-01-27 10:34:21 +01:00
Filip Skokan
21e0ea5357
docs: update secp256k1 draft version link
2020-01-27 09:00:39 +01:00
Filip Skokan
a9f6f71350
feat: keystore filtering by JWK Key thumbprint
2020-01-26 19:31:55 +01:00
Filip Skokan
9df7d9d2b4
chore(release): 1.21.1
2020-01-25 16:45:34 +01:00
Filip Skokan
70ff22227a
fix: contactKDF iteration count fixed for key sizes larger than 256 bits
2020-01-25 16:43:53 +01:00
Filip Skokan
e3ad39fea0
test: add test for rfc7518#appendix-C
2020-01-25 10:15:35 +01:00
Filip Skokan
33308234d2
docs: update README.md
2020-01-24 08:25:02 +01:00
Filip Skokan
b99fd942e6
chore(release): 1.21.0
2020-01-23 18:50:44 +01:00
Filip Skokan
3a6d17fdd1
feat: add opt-in support for Unsecured JWS algorithm "none"
2020-01-23 18:38:00 +01:00
Filip Skokan
0f8bf886da
fix(typescript): don't expose non existant classes, fix decode key
2020-01-23 17:05:36 +01:00
Filip Skokan
2a7780cf49
chore(release): 1.20.0
2020-01-16 08:49:51 +01:00
Filip Skokan
a0c0c7ad70
feat: add JWTExpired error and JWTClaimInvalid claim and reason props
...
Resolves #62
2020-01-16 08:49:37 +01:00
Filip Skokan
79aaf2b104
chore(release): 1.19.0
2020-01-13 17:09:22 +01:00
Filip Skokan
b1864e319d
feat: exposed shorthands for JWT verification profiles
2020-01-12 16:40:51 +01:00
Filip Skokan
93cb7f0268
chore: update tags
2020-01-09 15:43:41 +01:00
Filip Skokan
f9374b29ad
chore(release): 1.18.2
2020-01-08 13:24:20 +01:00
Filip Skokan
13b1106048
fix: ensure asn1.js version to remove Buffer deprecation notice
2020-01-08 13:17:46 +01:00
Filip Skokan
bc81e5dec2
fix: expose JOSENotSupported key import errors on unsupported runtimes
2020-01-08 13:17:45 +01:00
Filip Skokan
bb58c9ce52
fix: typo in JOSENotSupported error when x509 certs are not supported
2020-01-07 21:03:00 +01:00
Filip Skokan
5ade37c1db
chore: update deps
2020-01-07 14:57:03 +01:00
Filip Skokan
3035b8a4f1
docs: fix flattened encrypt docs
2020-01-04 23:19:20 +01:00
Filip Skokan
927118cc47
chore: cleanup
2020-01-01 21:31:20 +01:00
Filip Skokan
6e9f912684
chore(release): 1.18.1
2020-01-01 21:25:11 +01:00
Filip Skokan
828ad5a33d
fix: force iat past check when maxTokenAge option is used + JWT refactor
2020-01-01 21:23:05 +01:00
Filip Skokan
d55df86e51
chore(release): 1.18.0
2019-12-31 14:25:37 +01:00
Filip Skokan
7bb5c953a9
feat: add JWT validation profiles for Access Tokens and Logout Tokens
2019-12-31 14:20:52 +01:00
Filip Skokan
1f02124857
chore: update c8
2019-12-22 20:43:06 +01:00
Filip Skokan
dc7d87f03d
chore(release): 1.17.2
2019-12-17 20:43:35 +01:00
Filip Skokan
0ed5025de3
fix: skip validating iat is in the past when exp is present
...
validating that iat is in the past is common sense but actually nowhere
defined, in most applications tokens will contain `exp` and for those
it seems requiring a few second leeway just to satisfy `iat` seems
inappropriate
2019-12-17 20:40:23 +01:00