Filip Skokan
|
5770d303dd
|
refactor: SHA-2 digests
|
2022-02-15 16:21:11 +01:00 |
|
Filip Skokan
|
e44cd18ea4
|
fix: concurrent fetch await in cloudflare
fixes #355
|
2022-02-07 13:57:36 +01:00 |
|
Filip Skokan
|
3d2a2b8eee
|
feat: add jose.decodeJwt utility
|
2022-02-07 13:49:35 +01:00 |
|
Filip Skokan
|
73c9b3df4c
|
refactor: src/runtime/node/base64url.ts
|
2022-01-26 14:31:36 +01:00 |
|
Filip Skokan
|
6b5e6acbe4
|
refactor: src/jwks/local.ts
|
2022-01-25 12:10:03 +01:00 |
|
Filip Skokan
|
bd7bf3789c
|
feat: add createLocalJWKSet, resolver to verify using a local JWKSet
|
2022-01-24 17:17:18 +01:00 |
|
Filip Skokan
|
dd6775eed0
|
fix: only add y to the epk header parameter when EC keys are used
fixes #348
|
2022-01-22 18:07:06 +01:00 |
|
tabarra
|
1039bcdb87
|
docs: added caching clarification to createRemoteJWKSet
|
2022-01-22 18:06:21 +01:00 |
|
Filip Skokan
|
7cb8af45eb
|
docs: update RemoteJWKSetOptions durations with the unit
closes #347
|
2022-01-22 11:01:40 +01:00 |
|
Filip Skokan
|
9ca1e4779e
|
chore: remove no longer needed deno 1.18 ts ignore
|
2022-01-20 13:06:23 +01:00 |
|
Filip Skokan
|
2cd44d478e
|
chore: remove no longer needed deno ts ignore
|
2022-01-15 10:01:32 +01:00 |
|
Filip Skokan
|
972653be5f
|
chore(style): prettier
|
2021-12-13 16:51:11 +01:00 |
|
Filip Skokan
|
80741cb32a
|
refactor: substr > slice
|
2021-12-13 10:29:41 +01:00 |
|
Filip Skokan
|
624df66ea8
|
refactor: src/runtime/browser
|
2021-12-10 14:56:09 +01:00 |
|
Filip Skokan
|
6abb5b4d1c
|
refactor: src/runtime
|
2021-12-10 14:56:01 +01:00 |
|
Filip Skokan
|
f71e583c5f
|
refactor: src/runtime/ecdhes.ts
|
2021-12-10 11:39:58 +01:00 |
|
Filip Skokan
|
8738325d48
|
refactor: src/runtime/browser/asn1.ts
|
2021-12-09 12:33:17 +01:00 |
|
Filip Skokan
|
5d3628c0f0
|
refactor: src/runtime/browser/asn1.ts
|
2021-12-09 12:28:03 +01:00 |
|
Max Arndt
|
4375cde03a
|
docs: fix decode UnsecuredJWT example (#330)
|
2021-11-20 12:56:52 +01:00 |
|
Filip Skokan
|
ee401c9e0f
|
fix(typescript): b64: true is fine to use in JWT, its useless, but allowed (#324)
|
2021-11-18 08:05:10 +01:00 |
|
Filip Skokan
|
444cc3f239
|
refactor: rm src/runtime/node/secret_key.ts
|
2021-11-16 13:32:18 +01:00 |
|
Filip Skokan
|
188c1f7090
|
fix(electron): rsa-pss keys are never supported
|
2021-11-16 13:00:36 +01:00 |
|
Bob Thomas
|
9da0a7f49c
|
fix(typescript): b64 header regression (#324)
|
2021-11-12 19:53:43 +01:00 |
|
Filip Skokan
|
7c70e7b970
|
fix: Compact JWS verification handles a zero-length payload string
|
2021-11-12 11:18:42 +01:00 |
|
Filip Skokan
|
d927d4eec1
|
docs: remove stray *
|
2021-11-12 09:51:52 +01:00 |
|
Filip Skokan
|
0c1946c3e2
|
fix(typescript): apply updated compact and jwt headers to compact/jwt verify and decrypt results
|
2021-11-11 23:30:07 +01:00 |
|
Filip Skokan
|
8434e31452
|
refactor: update tests and internals of jwks
|
2021-11-11 22:56:47 +01:00 |
|
Filip Skokan
|
2a84afa1c3
|
refactor: src/runtime/interfaces.d.ts
|
2021-11-11 22:05:17 +01:00 |
|
Filip Skokan
|
79cbd82d3d
|
fix(typescript): Signed JWT Header Parameters has alg as required and b64 as never
|
2021-11-11 22:05:17 +01:00 |
|
Filip Skokan
|
c7fabd0f01
|
fix(typescript): Compact JWS Header Parameters has alg as required
|
2021-11-11 22:05:17 +01:00 |
|
Filip Skokan
|
0fa87af64b
|
fix(typescript): Compact JWS Header Parameters has alg and enc as required
|
2021-11-11 22:05:17 +01:00 |
|
Filip Skokan
|
aaba8f3000
|
fix: createRemoteJWKSet handles all JWS syntaxes
|
2021-11-11 22:05:17 +01:00 |
|
Filip Skokan
|
2e2b79d486
|
docs: mention signed JWT alg as required
|
2021-11-11 20:14:12 +01:00 |
|
Filip Skokan
|
f3a0cc9e73
|
refactor: src/jws/general/sign.ts
|
2021-11-11 17:06:00 +01:00 |
|
Filip Skokan
|
c6da6c2bc2
|
refactor: src/jwe/general/encrypt.ts
|
2021-11-11 16:58:27 +01:00 |
|
Filip Skokan
|
cfc93f5daf
|
feat: add GeneralSign signature and GeneralEncrypt recipient builder chaining
|
2021-11-11 16:16:01 +01:00 |
|
Filip Skokan
|
808877ae88
|
refactor: src/runtime/node/hmac_digest.ts
|
2021-11-11 14:29:25 +01:00 |
|
Filip Skokan
|
3925ebc561
|
docs: update readmes and examples
|
2021-11-10 15:19:37 +01:00 |
|
Filip Skokan
|
53e84fa385
|
refactor(web): use is_key_like types
|
2021-11-09 18:13:00 +01:00 |
|
Filip Skokan
|
401cabf974
|
fix(node): dont mention CryptoKey in versions without webcrypto
|
2021-11-09 18:12:25 +01:00 |
|
Filip Skokan
|
e9981a6ab7
|
refactor(node): less unnecessary async
|
2021-11-09 16:03:39 +01:00 |
|
Filip Skokan
|
5f1320e08d
|
refactor: runtime and lib
|
2021-11-09 15:28:06 +01:00 |
|
Filip Skokan
|
34e8e9cb00
|
refactor: simplify refs in general produce code
|
2021-11-09 11:21:46 +01:00 |
|
Filip Skokan
|
be56574b19
|
docs: GeneralSign addSignature
|
2021-11-08 22:30:59 +01:00 |
|
Filip Skokan
|
94eca81687
|
feat: General JWE Encryption
|
2021-11-08 22:30:58 +01:00 |
|
Filip Skokan
|
29e03ada92
|
refactor: update JWE Header disjoint error message
|
2021-11-08 21:38:49 +01:00 |
|
Filip Skokan
|
51a18b675a
|
fix: importX509 certificate values that do not include a version number
closes #308
|
2021-11-05 23:40:10 +01:00 |
|
Filip Skokan
|
c3731481c7
|
refactor(node): skip concat on counter mode de/encrypt
|
2021-11-03 14:45:41 +01:00 |
|
Filip Skokan
|
57126f1806
|
fix: allow shorter HMAC secrets
With workarounds available its enforcement is just adding extra code
that annoys developers.
|
2021-11-01 17:52:04 +01:00 |
|
Filip Skokan
|
39520302d0
|
fix(edge-functions): don't use globalThis
|
2021-11-01 15:35:49 +01:00 |
|