italia / spid-cie-oidc-nodejs

The SPID/CIE OIDC Federation for Node.js
Apache License 2.0
10 stars 3 forks source link

chore(deps): bump jose from 4.6.0 to 4.12.0 in /relying-party #86

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps jose from 4.6.0 to 4.12.0.

Release notes

Sourced from jose's releases.

v4.12.0

Features

  • enable key iteration over JWKSMultipleMatchingKeys (a278acd)
const JWKS = jose.createRemoteJWKSet(new URL('https://www.googleapis.com/oauth2/v3/certs'))

const options = { issuer: 'urn:example:issuer', audience: 'urn:example:audience', } const { payload, protectedHeader } = await jose .jwtVerify(jwt, JWKS, options) .catch(async (error) => { if (error?.code === 'ERR_JWKS_MULTIPLE_MATCHING_KEYS') { for await (const publicKey of error) { try { return await jose.jwtVerify(jwt, publicKey, options) } catch (innerError) { if (innerError?.code === 'ERR_JWS_SIGNATURE_VERIFICATION_FAILED') { continue } throw innerError } } throw new jose.errors.JWSSignatureVerificationFailed() }

throw error

}) console.log(protectedHeader) console.log(payload)

v4.11.4

Fixes

  • build: ignore deno files in npm publishes (b3d6a11)

v4.11.3

Fixes

  • CF Workers: improve miniflare compat with different Node.js versions, get ready for future non-proprietary support (3406b9f), closes #446 #495 #497

v4.11.2

Refactor

  • node: dry node version checks (aff2f7c)

... (truncated)

Changelog

Sourced from jose's changelog.

4.12.0 (2023-02-15)

Features

  • enable key iteration over JWKSMultipleMatchingKeys (a278acd)

4.11.4 (2023-02-07)

Fixes

  • build: ignore deno files in npm publishes (b3d6a11)

4.11.3 (2023-02-07)

Fixes

  • CF Workers: improve miniflare compat with different Node.js versions, get ready for future non-proprietary support (3406b9f), closes #446 #495 #497

4.11.2 (2023-01-01)

Refactor

  • node: dry node version checks (aff2f7c)

4.11.1 (2022-11-22)

4.11.0 (2022-11-08)

Features

  • add bun as a supported runtime (3a63631)

Fixes

  • respect JWK ext for symmetric keys (20557fc)

4.10.4 (2022-10-28)

Fixes

  • typo in importPKSC8 error message (#468) (746bc64)
  • workaround for invalid use checks on CF Workers and Deno (e4d04eb)

... (truncated)

Commits
  • bba4824 chore(release): 4.12.0
  • 426e629 chore: upgrade dev deps
  • a278acd feat: enable key iteration over JWKSMultipleMatchingKeys
  • 8e3ca5e chore: upgrade dev deps
  • 5aa45b9 ci: use reusable browserstack cert setup
  • 92bbd2d ci: cleanup cache workflows
  • aa5aea1 docs: add missing '-' at end of PKCS#8 key example (#500)
  • 0cd8eba chore: cleanup after publish
  • a4610ca chore(release): 4.11.4
  • b3d6a11 fix(build): ignore deno files in npm publishes
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Superseded by #88.