Skip to content

Add support for EdDSA #457

Closed
alecsammon wants to merge 4 commits into
jumbojett:masterfrom
PaddleHQ:master
Closed

Add support for EdDSA #457
alecsammon wants to merge 4 commits into
jumbojett:masterfrom
PaddleHQ:master

Conversation

@alecsammon
Copy link
Copy Markdown

List of common tasks a pull request require complete

  • Changelog entry is added or the pull request don't alter library's functionality

Adds support for EdDSA/Ed25519

/**
* @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
Copy link
Copy Markdown
Author

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';
}

Copy link
Copy Markdown
Author

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;

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a whitespace fix

Copy link
Copy Markdown
Collaborator

@DeepDiver1975 DeepDiver1975 left a 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

@alecsammon
Copy link
Copy Markdown
Author

@DeepDiver1975 - thanks - I've added test cases for the EdDSA key :)

@alecsammon alecsammon requested a review from DeepDiver1975 March 8, 2025 13:39
throw new OpenIDConnectClientException('Malformed key object');
}

if (!function_exists("sodium_crypto_sign_verify_detached")) {
Copy link
Copy Markdown
Collaborator

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": "*",

alecsammon and others added 4 commits May 9, 2026 16:46
* Refactor state

* add state payload

* Improve the check

* update changelog
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
Co-authored-by: stepsecurity-app[bot] <188008098+stepsecurity-app[bot]@users.noreply.github.com>
@alecsammon
Copy link
Copy Markdown
Author

Re-opened this PR here - so I could remove some incorrect changes that we have on our fork.
#506

@alecsammon alecsammon closed this May 9, 2026
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.

3 participants