Filip Skokan
691b44ad47
fix: reject JWTs with b64: false
...
As per https://tools.ietf.org/html/rfc7797 abstract
This specification updates RFC 7519 by stating that JSON Web Tokens
(JWTs) MUST NOT use the unencoded payload option defined by this
specification.
2020-12-06 17:54:32 +01:00
Filip Skokan
ee6d725103
chore(release): 3.2.0
2020-12-02 10:00:42 +01:00
Filip Skokan
205529fc54
style: upgrade typescript-eslint and resolve lint issues
2020-12-01 14:57:43 +01:00
Filip Skokan
e72af2742e
test: add coverage for generate key pair options
2020-12-01 12:12:24 +01:00
Filip Skokan
5f7a0e9055
feat: allow specifying modulusLength when generating RSA Key Pairs
...
resolves #121
2020-12-01 12:12:24 +01:00
Filip Skokan
98a68449a1
docs: update readme
2020-11-30 11:08:12 +01:00
Filip Skokan
e74922250c
chore(release): 3.1.3
2020-11-26 19:01:42 +01:00
Filip Skokan
29373633bc
fix(typescript): refactored how types are published
...
resolves #119
2020-11-26 18:53:01 +01:00
Filip Skokan
ac4aef840f
ci: check latest node
2020-11-24 20:01:39 +01:00
Filip Skokan
be55dfa81a
Revert "ci: disable 12 temporarily"
...
This reverts commit b442ffc19d .
2020-11-24 19:57:45 +01:00
Filip Skokan
8ce6287649
chore(release): 3.1.2
2020-11-24 14:54:30 +01:00
Filip Skokan
b83c59bb43
fix: handle globalThis undefined in legacy browsers
2020-11-24 14:53:08 +01:00
Filip Skokan
ff98da6fe1
chore(release): 3.1.1
2020-11-24 14:41:57 +01:00
Filip Skokan
56ff8fa65a
fix: global detection in a browser worker runtime
2020-11-24 14:40:38 +01:00
Filip Skokan
3bda5796f5
refactor: import agent types differently
2020-11-24 14:27:22 +01:00
Filip Skokan
66546dbb4a
chore(release): 3.1.0
2020-11-22 17:11:24 +01:00
Filip Skokan
b442ffc19d
ci: disable 12 temporarily
2020-11-22 17:09:44 +01:00
Filip Skokan
115dcb7873
build: smaller test related package.json footprint
2020-11-22 17:09:33 +01:00
Filip Skokan
38494a8882
feat: allow http.Agent and https.Agent passed in remote JWK Set
2020-11-22 14:53:25 +01:00
Filip Skokan
ce521d567b
refactor: less for in, added type checks, error messages
2020-11-22 12:44:27 +01:00
Filip Skokan
e39c3dba75
feat: allow compact verify/decrypt tokens to be uint8array encoded
...
This means that when Nested JWT is used the decrypted plaintext can
be piped directly to verify.
2020-11-22 12:44:27 +01:00
Filip Skokan
6e1f089803
docs: update readme
2020-11-22 12:44:27 +01:00
Filip Skokan
7a8418eadd
feat: added "KeyLike to JWK" module
...
resolves #109
2020-11-22 12:44:27 +01:00
Filip Skokan
a6fa15e64d
test: add coverage
2020-11-22 12:35:38 +01:00
Filip Skokan
2276f5a572
ci: limit github actions concurrency on browserstack jobs
2020-11-15 19:55:40 +01:00
Filip Skokan
0b5fbc211a
ci: silent browserstack run
2020-11-15 19:30:24 +01:00
Filip Skokan
8406b809fe
Revert "ci: limit github actions concurrency on browserstack jobs"
...
This reverts commit d61f73c0ab .
2020-11-15 19:19:26 +01:00
Filip Skokan
8f240fba46
ci: limit karma concurrency
2020-11-15 17:20:54 +01:00
Filip Skokan
87b80a6c9c
test: deflake cbc hmac
2020-11-15 16:46:34 +01:00
Filip Skokan
a76fc75459
chore(release): 3.0.2
2020-11-15 15:50:46 +01:00
Filip Skokan
7b6364f26f
fix(build): publish esm submodules
...
closes #104
2020-11-15 15:49:15 +01:00
Filip Skokan
8bc4c67fd0
src: runtime declarations
2020-11-15 13:17:21 +01:00
Filip Skokan
78d424c886
lint: tests
2020-11-15 13:16:38 +01:00
Filip Skokan
d61f73c0ab
ci: limit github actions concurrency on browserstack jobs
2020-11-15 13:16:12 +01:00
Filip Skokan
4fd035f03e
test: deflake a cbc test
2020-11-15 12:47:54 +01:00
Filip Skokan
e6e789c8dd
style: lint .d.ts files
2020-11-15 12:40:47 +01:00
Filip Skokan
b02902ef88
chore(release): 3.0.1
2020-11-15 12:35:28 +01:00
Filip Skokan
d9cb5734d7
fix(typescript): fix compiling by adding .d.ts files for runtime modules
2020-11-15 12:33:42 +01:00
Filip Skokan
076eea11bb
chore(release): 3.0.0
2020-11-14 18:28:54 +01:00
Filip Skokan
357fe0b964
feat: Revised API, No dependencies, Browser Support, Promises
...
BREAKING CHANGE: Revised, Promise-based API
BREAKING CHANGE: No dependencies
BREAKING CHANGE: Browser support (using [Web Cryptography API](https://www.w3.org/TR/WebCryptoAPI/ ))
BREAKING CHANGE: Support for verification using a remote JWKS endpoint
BREAKING CHANGE: Experimental Node.js libuv thread pool based runtime (non-blocking 🎉 )
2020-11-14 18:26:46 +01:00
Filip Skokan
c803d1be74
chore(release): 2.0.3
2020-10-29 20:48:59 +01:00
Filip Skokan
921737fa83
style: upgrade standard
2020-10-29 20:43:19 +01:00
Filip Skokan
6c3b92f439
fix: allow stubbing of the JWT.decode function
2020-10-29 20:26:09 +01:00
Filip Skokan
9cb049bc81
ci: add node v15.x to the test matrix
2020-10-23 22:23:35 +02:00
Filip Skokan
b6916946ac
chore: remove sponsorship campaign
2020-09-23 18:33:30 +02:00
Filip Skokan
4e26b3ca70
chore: bump dev deps
2020-09-14 19:35:41 +02:00
Filip Skokan
4e743b0dd0
chore(release): 2.0.2
2020-09-14 14:09:39 +02:00
Filip Skokan
1956746df6
fix(esm): include esm files in the published package
2020-09-14 14:09:32 +02:00
Filip Skokan
d3f3dc60ca
chore: remove FUNDING.yml
2020-09-11 15:09:25 +02:00
Filip Skokan
cb19a1ca7a
chore(release): 2.0.1
2020-09-10 10:05:05 +02:00