Commit graph

41 commits

Author SHA1 Message Date
Filip Skokan
6453e1ffc9 refactor: require order and base64url split encode buffer/string 2019-03-06 22:12:43 +01:00
Filip Skokan
3d8b3a5fe8 test: re-enable lint, test with min node, remove BLNS 2019-03-06 21:50:25 +01:00
Filip Skokan
68548603da fix: "dir" is only available on keys with correct lengths 2019-03-04 23:04:55 +01:00
Filip Skokan
be3f4e4b7e fix: do not 'in' operator when importing keys as string 2019-03-04 22:56:25 +01:00
Filip Skokan
d5fc18e4d2 refactor: less relying on KeyObject prototype 2019-03-04 20:04:42 +01:00
Filip Skokan
4460c4c88f refactor: key keyObject property is private 2019-02-28 21:08:31 +01:00
Filip Skokan
ca4355be19 chore: include third party license 2019-02-27 22:51:38 +01:00
Filip Skokan
dba1abdaf3 feat: add JWT.sign/verify/decode 2019-02-27 22:38:30 +01:00
Filip Skokan
8dd95426dc feat: add JWKS.KeyStore.fromJWKS() and JWK.isKey() 2019-02-26 22:51:25 +01:00
Filip Skokan
e9f5fdcfc8 feat: verify and decrypt complete option returns the matched key as well 2019-02-26 22:45:02 +01:00
Filip Skokan
0a6027d62a refactor: add .d.ts and simplify errors 2019-02-25 21:27:39 +01:00
Filip Skokan
546840d55c feat: throw JOSEMultiError when general formats and keystore use 2019-02-24 14:05:57 +01:00
Filip Skokan
77fe241aa7 feat: add decrypt/verify complete and algorithm options 2019-02-22 22:26:33 +01:00
Filip Skokan
581215f5d7 test: cleanup cookbook 2019-02-21 23:48:21 +01:00
Filip Skokan
cb718b545b feat: add JWE zip support 2019-02-21 23:39:32 +01:00
Filip Skokan
962c1f5021 feat: b64 (rfc7797) support 2019-02-21 22:51:32 +01:00
Filip Skokan
7bc3cc4c71 feat: resolving alg/enc, crit members, add tests 2019-02-20 23:12:08 +01:00
Filip Skokan
869438c798 refactor: jwe/jws serializer detection 2019-02-19 23:30:57 +01:00
Filip Skokan
505fe3c35d test: enc/dec input check tests 2019-02-17 09:29:44 +01:00
Filip Skokan
de352bf209 test: add keystore tests 2019-02-17 17:14:16 +01:00
Filip Skokan
1eb041355e test: keystore decrypt and verify 2019-02-17 16:23:09 +01:00
Filip Skokan
6f44bf4b7d test: add generate failure tests 2019-02-16 14:54:49 +01:00
Filip Skokan
44848fd879 test: add timingSafeEqual tests 2019-02-16 14:18:30 +01:00
Filip Skokan
bcd920600d test: keystore verify 2019-02-16 14:12:47 +01:00
Filip Skokan
cc89d4e02b refactor: cleanup, TODO chores 2019-02-10 21:39:59 +01:00
Filip Skokan
775ea638b6 chore: cleanup 2019-02-10 17:45:55 +01:00
Filip Skokan
05251b81c6 feat: add messy encrypt/decrypt structure and shorthands 2019-02-09 20:04:15 +01:00
Filip Skokan
ac1bb358d7 test: jwe cookbook decrypt 2019-02-09 19:26:02 +01:00
Filip Skokan
5c4346e9cd test: start with cookbook tests 2019-02-09 18:35:29 +01:00
Filip Skokan
05d76ef2d5 test: prepare cookbook 2019-02-08 23:00:48 +01:00
Filip Skokan
5f6f3920a2 test: generate and generate async 2019-02-08 22:07:03 +01:00
Filip Skokan
faa45bc03b refactor: remove generic errors 2019-01-20 19:37:27 +01:00
Filip Skokan
6862c78bed refactor: JWT verify errors 2019-01-20 19:25:36 +01:00
Filip Skokan
7080840f62 feat: verify and decode complete options 2019-01-20 14:26:09 +01:00
Filip Skokan
a752663317 refactor: move keys around 2019-01-19 17:24:43 +01:00
Filip Skokan
033a025a34 feat: jwt.verify 2019-01-19 16:33:17 +01:00
Filip Skokan
94b29d1c44 feat: jwt first commit 2019-01-19 00:33:45 +01:00
Filip Skokan
289729e12d test: rsa key 2018-11-04 11:34:22 +01:00
Filip Skokan
db7ae073ef test: ec key 2018-11-04 11:15:59 +01:00
Filip Skokan
fae6de9f93 test: oct key properties 2018-11-04 09:59:14 +01:00
Filip Skokan
7f84ce9252 feat: add ES521 support, start test suite 2018-11-03 14:30:20 +01:00