Skip to content

fix!: Prevent misconfiguration of the secret used with the HS*** algorithms #840

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

fix!: Prevent misconfiguration of the secret used with the HS*** algorithms #840

wants to merge 1 commit into from

Conversation

david-renaud-okta
Copy link
Contributor

@david-renaud-okta david-renaud-okta commented Aug 3, 2022

Description

Added checks to make sure that a valid secret is used with the HS*** algorithms when signing and verifying

BREAKING CHANGE: Requires node 12.x or later to allow use of KeyObject

Testing

  • All automated tests pass

  • Checked via script that this type of misconfiguration does not pass signing or verification

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not master

…rithms

Added checks to make sure that a valid secret is used with the HS*** algorithms when signing and verifying

BREAKING CHANGE: Requires node 12.x or later to allow use of `KeyObject`
@david-renaud-okta david-renaud-okta deleted the Prevent_signing_key_misconfiguration branch November 14, 2022 19:51
@david-renaud-okta david-renaud-okta restored the Prevent_signing_key_misconfiguration branch November 15, 2022 17:12
@david-renaud-okta david-renaud-okta marked this pull request as draft November 15, 2022 17:13
@david-renaud-okta
Copy link
Contributor Author

Closed in favour of #852

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant