Commit graph

99 commits

Author SHA1 Message Date
Filip Skokan
fb590bf66f chore: publish updated docs 2021-04-01 13:38:52 +02:00
Filip Skokan
caa8108f30 chore: publish updated docs 2021-03-31 11:58:10 +02:00
Filip Skokan
5fc55b80b0 chore(release): 3.11.2 2021-03-30 18:02:14 +02:00
Filip Skokan
3e6a0306f3 chore(release): 3.11.1 2021-03-26 14:50:10 +01:00
Filip Skokan
48f5829705 chore(release): 3.11.0 2021-03-24 13:42:12 +01:00
Filip Skokan
ca61c15a24 chore(release): 3.10.0 2021-03-18 07:51:50 +01:00
Filip Skokan
3fffdac15d docs: consistent readme fragment 2021-03-15 18:08:06 +01:00
Filip Skokan
9d10136a51 chore(release): 3.9.0 2021-03-15 17:21:54 +01:00
Filip Skokan
edfc6863e5 chore: update build deps and docs 2021-03-15 16:18:39 +01:00
Filip Skokan
9340a112da chore(release): 3.8.0 2021-03-12 16:56:56 +01:00
Filip Skokan
74317e335c chore(release): 3.7.1 2021-03-11 15:03:38 +01:00
Filip Skokan
348b83712d docs: fix fromKeyLike example 2021-03-11 09:37:12 +01:00
Filip Skokan
e17c305dce chore(release): 3.7.0 2021-03-03 00:23:42 +01:00
Filip Skokan
f7dd3e5bf4 chore(release): 3.6.2 2021-02-16 11:40:55 +01:00
Filip Skokan
812d0c1fa1 chore(release): 3.6.1 2021-02-10 13:40:49 +01:00
Filip Skokan
f56fbfd630 chore(release): 3.6.0 2021-02-04 17:49:31 +01:00
Filip Skokan
f717f841cb chore(release): 3.5.4 2021-01-26 23:41:25 +01:00
Filip Skokan
c60953fe64 docs: generate keylike hint 2021-01-22 17:03:42 +01:00
Filip Skokan
9998cb389a refactor: generate_key_pair type returns KeyLike 2021-01-22 14:31:08 +01:00
Filip Skokan
d9bc1b6d8a chore(release): 3.5.3 2021-01-20 17:08:38 +01:00
Filip Skokan
7759a1bd9d chore(release): 3.5.2 2021-01-18 13:52:51 +01:00
Filip Skokan
02941146c7 chore(release): 3.5.1 2021-01-10 14:39:32 +01:00
Filip Skokan
71d35a7d0e docs: update unsecured jwt docs 2020-12-29 10:27:29 +01:00
Filip Skokan
1bad86bc2e docs: update docs 2020-12-21 19:03:10 +01:00
Filip Skokan
5a51a0ef5f docs: re-run generate 2020-12-17 13:45:16 +01:00
Filip Skokan
a9b6ea9078 chore(release): 3.5.0 2020-12-17 12:29:05 +01:00
Filip Skokan
9369f73d6c docs: include new features 2020-12-17 12:27:35 +01:00
Filip Skokan
7d2fd14ca1 chore(release): 3.4.0 2020-12-16 18:45:02 +01:00
Filip Skokan
4e1ede4dbb docs: include new features 2020-12-16 18:43:35 +01:00
Filip Skokan
41e8afc0ce chore(release): 3.3.2 2020-12-14 16:43:16 +01:00
Filip Skokan
4fecada4ef chore(release): 3.3.1 2020-12-06 18:20:10 +01:00
Filip Skokan
28976a2039 chore(release): 3.3.0 2020-12-06 18:04:18 +01:00
Filip Skokan
ee6d725103 chore(release): 3.2.0 2020-12-02 10:00:42 +01:00
Filip Skokan
e74922250c chore(release): 3.1.3 2020-11-26 19:01:42 +01:00
Filip Skokan
8ce6287649 chore(release): 3.1.2 2020-11-24 14:54:30 +01:00
Filip Skokan
ff98da6fe1 chore(release): 3.1.1 2020-11-24 14:41:57 +01:00
Filip Skokan
66546dbb4a chore(release): 3.1.0 2020-11-22 17:11:24 +01:00
Filip Skokan
7a8418eadd feat: added "KeyLike to JWK" module
resolves #109
2020-11-22 12:44:27 +01:00
Filip Skokan
a76fc75459 chore(release): 3.0.2 2020-11-15 15:50:46 +01:00
Filip Skokan
b02902ef88 chore(release): 3.0.1 2020-11-15 12:35:28 +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
b6916946ac chore: remove sponsorship campaign 2020-09-23 18:33:30 +02:00
Filip Skokan
30e5c46ecf feat: decrypt allowlists for both key management and content encryption
BREAKING CHANGE: the `JWE.decrypt` option `algorithms` was removed and
replaced with contentEncryptionAlgorithms (handles `enc` allowlist) and
keyManagementAlgorithms (handles `alg` allowlist)
2020-09-08 14:12:04 +02:00
Filip Skokan
fd69d7f509 refactor: move JWT profile specifics outside of generic JWT
BREAKING CHANGE: the `JWT.verify` profile option was removed, use e.g.
`JWT.IdToken.verify` instead.

BREAKING CHANGE: removed the `maxAuthAge` `JWT.verify` option, this
option is now only present at the specific JWT profile APIs where the
`auth_time` property applies.

BREAKING CHANGE: removed the `nonce` `JWT.verify` option, this
option is now only present at the specific JWT profile APIs where the
`nonce` property applies.

BREAKING CHANGE: the `acr`, `amr`, `nonce` and `azp` claim value types
will only be checked when verifying a specific JWT profile using its
dedicated API.

BREAKING CHANGE: using the draft implementing APIs will emit a one-time
warning per process using `process.emitWarning`
2020-09-08 14:12:04 +02:00
Filip Skokan
c4267cc655 refactor: removed nonce option from JWT.sign
BREAKING CHANGE: `JWT.sign` function options no longer accept a `nonce`
property. To create a JWT with a `nonce` just pass the value to the
payload.
2020-09-08 14:12:04 +02:00
Filip Skokan
70bd4ae6b2 refactor: encrypt APIs unprotectedHeader and aad arguments swapped
BREAKING CHANGE: jose.JWE.Encrypt constructor aad and unprotectedHeader
arguments swapped places
BREAKING CHANGE: jose.JWE.encrypt.flattened header (unprotectedHeader)
and aad arguments swapped places
BREAKING CHANGE: jose.JWE.encrypt.general header (unprotectedHeader)
and aad arguments swapped places
2020-09-08 14:12:04 +02:00
Filip Skokan
ba5c897919 refactor: removed payload parsing from JWS.verify
BREAKING CHANGE: JWS.verify returned payloads are now always buffers
BREAKING CHANGE: JWS.verify options `encoding` and `parse` were removed
2020-09-08 14:12:04 +02:00
GitHubPang
d57e8c59e8
docs: fix grammar (#95) 2020-09-05 10:40:58 +02:00
Filip Skokan
67c1a5de77 docs: update decode docs to be less likely to be discovered instead of verify 2020-09-03 16:05:24 +02:00