vonage-node-code-snippets
vonage-node-code-snippets copied to clipboard
Bump jsonwebtoken and @vonage/jwt
Bumps jsonwebtoken and @vonage/jwt. These dependencies needed to be updated together.
Updates jsonwebtoken from 8.5.1 to 9.0.0
Changelog
Sourced from jsonwebtoken's changelog.
9.0.0 - 2022-12-21
Breaking changes: See Migration from v8 to v9
Breaking changes
- Removed support for Node versions 11 and below.
- The verify() function no longer accepts unsigned tokens by default. ([834503079514b72264fd13023a3b8d648afd6a16]https://github.com/auth0/node-jsonwebtoken/commit/834503079514b72264fd13023a3b8d648afd6a16)
- RSA key size must be 2048 bits or greater. ([ecdf6cc6073ea13a7e71df5fad043550f08d0fa6]https://github.com/auth0/node-jsonwebtoken/commit/ecdf6cc6073ea13a7e71df5fad043550f08d0fa6)
- Key types must be valid for the signing / verification algorithm
Security fixes
- security: fixes
Arbitrary File Write via verify function- CVE-2022-23529- security: fixes
Insecure default algorithm in jwt.verify() could lead to signature validation bypass- CVE-2022-23540- security: fixes
Insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC- CVE-2022-23541- security: fixes
Unrestricted key type could lead to legacy keys usage- CVE-2022-23539
Commits
e1fa9dcMerge pull request from GHSA-8cf7-32gw-wr335eaedbfchore(ci): remove github test actions job (#861)cd4163echore(ci): configure Github Actions jobs for Tests & Security Scanning (#856)ecdf6ccfix!: Prevent accidental use of insecure key sizes & misconfiguration of secr...8345030fix(sign&verify)!: Remove defaultnonesupport fromsignandverifymet...7e6a86bUpload OpsLevel YAML (#849)74d5719docs: update references vercel/ms references (#770)d71e383docs: document "invalid token" error3765003docs: fix spelling in README.md: Peak -> Peek (#754)a46097edocs: make decode impossible to discover before verify- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by julien.wollscheid, a new releaser for jsonwebtoken since your current version.
Updates @vonage/jwt from 1.0.0 to 1.2.0
Release notes
Sourced from @vonage/jwt's releases.
v1.2.0
- ADDED: Add File API to library.
nexmo.files.getandnexmo.files.save.v1.1.2
- Fixed: Bug #104 - Fix JSON parsing error
v1.1.1
- UPDATED: Changed User Agent format to match other libraries
- FIXED: Bug #88 - Undefined method when missing
methoddeclarationv1.1.0
- ADDED: nexmo.generateJwt to generate JWT based on instance credentials
- ADDED: Nexmo.generateJwt static function to generate JWT
Changelog
Sourced from @vonage/jwt's changelog.
1.2.0
- ADDED: Add File API to library.
nexmo.files.getandnexmo.files.save.1.1.2
- Fixed: Bug #104 - Fix JSON parsing error
1.1.1
- UPDATED: Changed User Agent format to match other libraries
- FIXED: Bug #88 - Undefined method when missing
methoddeclaration1.1.0
- ADDED:
nexmo.generateJwtto generate JWT based on instance credentials- ADDED:
Nexmo.generateJwtstatic function to generate JWT
Commits
8ac7c32Publish342d903feat: video client acl (#814)555ea86feat: updating messages to be non breaking (#813)f10f9e4feat: add experience composer and captions to video (#809)254386ffeat: auth signature timestamp (#810)8b2834fbuild: adding coverage (#812)08d50bdfeat: verify v2 (#805)5eaa96dfeat!: messages update (#804)9a310e4Publishc71d424fix: kebabecase api parameters (#802)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.