Commit graph

363 commits

Author SHA1 Message Date
Filip Skokan
0e2ab79c8b chore(release): 1.25.1 2020-04-15 09:28:46 +02:00
Filip Skokan
530709d15c refactor: aes_kw 2020-04-15 09:27:18 +02:00
Filip Skokan
dcf8d75a8a fix: use native openssl AES Key Wrap 🤦 2020-04-15 09:21:50 +02:00
Filip Skokan
447f2bee01 refactor: clear check for supported curves 2020-04-08 08:51:13 +02:00
Filip Skokan
27b77b9edc refactor: get rid of multiple asn1 OID mappings 2020-04-07 20:10:55 +02:00
Max Ivanov
75e331d28a
docs: fix typo 2020-04-04 13:12:40 +02:00
Filip Skokan
41bd041705 chore: auto-lock old issues 2020-04-03 12:34:01 +02:00
Filip Skokan
f816dcc773 Revert "ci: remove low 13 node version from the test matrix"
This reverts commit d84fa09297.
2020-03-27 17:01:26 +01:00
Filip Skokan
d84fa09297 ci: remove low 13 node version from the test matrix 2020-03-23 10:29:47 +01:00
Filip Skokan
c1d503bdda chore: update readme 2020-03-19 11:08:29 +01:00
Filip Skokan
17fdaa95bf chore: update github issue templates 2 2020-03-19 11:05:11 +01:00
Filip Skokan
1deb515aaa chore: update github issue templates 2020-03-19 11:00:48 +01:00
Filip Skokan
54d6582cb9 chore: fix vector test titles 2020-03-17 20:00:30 +01:00
Filip Skokan
a28c4469ce chore: fix decryption test titles 2020-03-17 19:58:59 +01:00
Filip Skokan
af31c079ad test: add RSA-OAEP-256 test vectors from the jose mailing list 2020-03-17 19:58:15 +01:00
Filip Skokan
f2967bfe46 chore(release): 1.25.0 2020-03-11 15:32:33 +01:00
Filip Skokan
bc77a15fab feat: update JWT Profile for OAuth 2.0 Access Tokens to latest draft 2020-03-11 15:29:56 +01:00
Filip Skokan
d661852ea5 chore(release): 1.24.1 2020-03-05 20:42:00 +01:00
Filip Skokan
f86bda3bb7 fix: allow importing simpler passphrases as oct keys 2020-03-05 20:36:15 +01:00
Filip Skokan
5ca357c925 ci: get rid of dtslint 2020-03-05 16:13:49 +01:00
Filip Skokan
a2d428e5e0 test: add ECDH-ES test vectors from rfc8037 2020-02-27 17:46:43 +01:00
Filip Skokan
9daca837bf chore(release): 1.24.0 2020-02-25 14:19:43 +01:00
Filip Skokan
9c043a5b8d test: update dtslint 2020-02-24 09:12:28 +01:00
Filip Skokan
fc08426466 feat: add JWT.verify "typ" option for checking JWT Type Header parameter 2020-02-24 09:12:27 +01:00
Kyle Den Hartog
419d09b4d5
refactor: use consistent BigInt(n) syntax 2020-02-24 08:57:35 +01:00
Filip Skokan
3a7e49a782 docs: add note on decrypt 2020-02-20 10:26:24 +01:00
Filip Skokan
0356a468a1 ci: skip collecting coverage for electron 2020-02-19 11:21:59 +01:00
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