Commit graph

18 commits

Author SHA1 Message Date
Filip Skokan
8434e31452 refactor: update tests and internals of jwks 2021-11-11 22:56:47 +01:00
Filip Skokan
aaba8f3000 fix: createRemoteJWKSet handles all JWS syntaxes 2021-11-11 22:05:17 +01:00
Filip Skokan
92df7032fe
style: global prettierc 2021-10-27 17:47:13 +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
a51a9f6770
refactor: remove public API default exports in favour of named ones 2021-10-14 13:45:03 +02:00
Filip Skokan
914e47fc9b
refactor: remove util/random
BREAKING CHANGE: The undocumented `jose/util/random` was removed.
2021-10-14 13:44:53 +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
9932bb6828
chore: remove a bunch of ignores for deno's sake 2021-10-13 10:53:03 +02:00
Filip Skokan
d304baa433
test: firefox 93 now supports PKCS8? 2021-10-11 21:02:28 +02:00
Filip Skokan
efa1619517
fix: proper createRemoteJWKSet timeoutDuration handling
fixes #277
2021-10-06 16:09:34 +02:00
Filip Skokan
ee03b7eefa
test: bump deno, update imports 2021-09-29 14:08:59 +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
6ea19c3aaa test: add negative tests for CF, Deno, Browsers 2021-09-10 11:11:51 +02:00
Filip Skokan
8b3cc9818e test: less browser and deno test duplication 2021-09-07 16:15:12 +02:00
Filip Skokan
5c7d2656b6 feat: experimental Deno build & publish 2021-08-20 12:01:17 +02:00
Filip Skokan
d9d4a5f2e8 fix(browser): remove the use of a node std-lib in decodeProtectedHeader
closes #206
2021-06-02 18:24:13 +02:00
Filip Skokan
afae428f39 feat(webcrypto): allow generate* modules extractable: false override 2021-05-12 14:07:26 +02: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