Skip to content
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

Backport ECDSA improvements #288

Merged
merged 6 commits into from
Feb 5, 2019
Merged

Backport ECDSA improvements #288

merged 6 commits into from
Feb 5, 2019

Conversation

lcobucci
Copy link
Owner

@lcobucci lcobucci commented Feb 5, 2019

Two minor BC-breaks added:

  • Dependency on mbstring
  • ECDSA now throws InvalidArgumentException instead of RuntimeException for invalid keys (InvalidArgumentException is what the interface expects, though)

Making the required adjustments to make it compatible with PHP 5.6.

Had to add mbstring explicitly in the dependency list, however this is
not necessarily a BC-break.
Which will then be used by RSA and ECDSA signers.
Since we rely on the mbstring implementation to do the signature
conversion, this is quite irrelevant.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant