-
Notifications
You must be signed in to change notification settings - Fork 394
Add support for EdDSA #457
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
base: master
Are you sure you want to change the base?
Conversation
| /** | ||
| * @var mixed holds well-known openid configuration parameters, like policy for MS Azure AD B2C User Flow | ||
| * @see https://docs.microsoft.com/en-us/azure/active-directory-b2c/user-flow-overview | ||
| * @see https://docs.microsoft.com/en-us/azure/active-directory-b2c/user-flow-overview |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a whitespace fix
| $protocol = 'http'; | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a whitespace fix
|
|
||
| $port = (443 === $port) || (80 === $port) ? '' : ':' . $port; | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a whitespace fix
DeepDiver1975
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a unit test for this - THX
|
@DeepDiver1975 - thanks - I've added test cases for the EdDSA key :) |
| throw new OpenIDConnectClientException('Malformed key object'); | ||
| } | ||
|
|
||
| if (!function_exists("sodium_crypto_sign_verify_detached")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be handled via composer as well. Please adjust composer.json and add
"ext-sodium": "*",
List of common tasks a pull request require complete
Adds support for
EdDSA/Ed25519