Commit graph

100 commits

Author SHA1 Message Date
Filip Skokan
6de381213d
chore: update readme, package.json, etc 2021-10-14 14:58:43 +02:00
Filip Skokan
dd2cf9ed2d
refactor: redo exports to support broader tooling
BREAKING CHANGE: All module named exports have moved from subpaths to
just "jose". For example, `import { jwtVerify } from 'jose/jwt/verify'`
is now just `import { jwtVerify } from 'jose'`.

BREAKING CHANGE: All submodule default exports and named have been
removed in favour of just "jose" named exports.
2021-10-14 14:08:05 +02:00
Filip Skokan
5afb713fbb
refactor: rename calculateThumprint to calculateJwkThumbprint
BREAKING CHANGE: The `jose/jwk/thumbprint` named export
is renamed to `calculateJwkThumbprint`, now
`import { calculateJwkThumbprint } from 'jose'`
2021-10-14 13:44:40 +02:00
Filip Skokan
a2af0f45fe
feat: add X.509/SPKI/PKCS8 key import and SPKI/PKCS8 export functions 2021-09-22 23:50:08 +02:00
Filip Skokan
808fec81d9 docs: update README.md 2021-09-10 10:36:37 +02:00
Filip Skokan
0967369402 feat(cloudflare workers): add support for EdDSA using Ed25519 2021-09-10 10:36:37 +02:00
Filip Skokan
05770a1a02 docs: update README.md 2021-09-06 11:14:01 +02:00
Filip Skokan
ced065aa97 fix: omit some fetch options when running in Cloudflare Workers env
closes #255
2021-09-02 18:53:41 +02:00
Filip Skokan
8c74ff955f chore: publish deno README.md 2021-08-20 14:08:34 +02:00
Filip Skokan
5c7d2656b6 feat: experimental Deno build & publish 2021-08-20 12:01:17 +02:00
Filip Skokan
1cc8844f4a readme: update README.md 2021-07-29 10:52:27 +02:00
Filip Skokan
08a92ccb89 docs: update readme deno note 2021-07-27 11:29:18 +02:00
Filip Skokan
26c4361c00 fix(docs): update doc links again 2021-07-21 14:19:04 +02:00
Filip Skokan
86f9134248 fix(docs): update doc links 2021-07-21 13:05:44 +02:00
Filip Skokan
a722553eb9 docs: update supported versions matrix 2021-04-30 14:10:53 +02:00
Filip Skokan
8488d5a6ad docs: update readme.md 2021-04-23 18:43:37 +02:00
Filip Skokan
5487311ca9 docs: cleanup faq 2021-03-26 16:04:09 +01:00
Filip Skokan
3fffdac15d docs: consistent readme fragment 2021-03-15 18:08:06 +01:00
Filip Skokan
edfc6863e5 chore: update build deps and docs 2021-03-15 16:18:39 +01:00
Filip Skokan
7856dad103 feat: publish alternative Node.js and Browser specific distributions 2021-03-12 16:55:36 +01:00
Filip Skokan
ed612c5769 docs: update readme 2021-03-09 15:22:39 +01:00
Filip Skokan
8fffd3e2e1 feat: electron >=12.0.0 is now supported (and tested on ci) 2021-03-03 00:19:04 +01:00
Filip Skokan
c60953fe64 docs: generate keylike hint 2021-01-22 17:03:42 +01:00
Filip Skokan
3dcee918e8 docs: update readme.md 2020-12-29 10:11:20 +01:00
Filip Skokan
9369f73d6c docs: include new features 2020-12-17 12:27:35 +01:00
Filip Skokan
4e1ede4dbb docs: include new features 2020-12-16 18:43:35 +01:00
Filip Skokan
e4bf481ba1
docs: one more FAQ 2020-12-13 10:20:30 +01:00
Filip Skokan
98a68449a1 docs: update readme 2020-11-30 11:08:12 +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
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
87c1562537 docs: add dpop profiles link 2020-09-08 14:12:04 +02:00
Filip Skokan
98a9f45f0a docs: update jwt profiles table 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
338c604f29 docs: update secp256k1 link to point to rfc8812 2020-08-18 15:26:11 +02:00
Filip Skokan
b50d69544b docs: update readme.md X25519 ECDH support caveat 2020-05-26 16:35:07 +02:00
Filip Skokan
7389bee2ff docs: update readme.md 2020-04-23 13:58:36 +02:00
Filip Skokan
c821bad8b6 docs: remove chacha plugin from the list 2020-04-22 10:40:07 +02:00
Filip Skokan
044caa5c33 docs: update readme.md 2020-04-16 12:16:18 +02:00
Filip Skokan
8c0a8a950e feat: update JWT Profile for OAuth 2.0 Access Tokens to latest draft
BREAKING CHANGE: `at+JWT` JWT draft profile - in the draft's Section 2.2
the claims `iat` and `jti` are now REQUIRED (was RECOMMENDED).
2020-04-16 12:09:08 +02: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
38369ea3d7 feat: add ECDH-ES with X25519 and X448 OKP keys 2020-02-13 16:26:09 +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
955171701f docs: update README.md 2020-01-29 16:45:54 +01:00
Filip Skokan
21e0ea5357 docs: update secp256k1 draft version link 2020-01-27 09:00:39 +01:00
Filip Skokan
33308234d2
docs: update README.md 2020-01-24 08:25:02 +01:00
Filip Skokan
3a6d17fdd1 feat: add opt-in support for Unsecured JWS algorithm "none" 2020-01-23 18:38:00 +01:00
Filip Skokan
b1864e319d feat: exposed shorthands for JWT verification profiles 2020-01-12 16:40:51 +01:00