Skip to content

Conversation

@enumag
Copy link
Contributor

@enumag enumag commented Sep 14, 2022

@lcobucci I assume the 521 is unintended typo, right? 🤔

@lcobucci
Copy link
Owner

lcobucci commented Sep 14, 2022

Nope, it's correct 😄
ES512 means ECDSA using P-521 and SHA-512, the key size is 521 (I got confused too 😅)

@enumag
Copy link
Contributor Author

enumag commented Sep 14, 2022

Oh, interesting. Might be worth a comment in the code?

@Ocramius
Copy link
Collaborator

@enumag you can adjust your patch to include that 👍

@enumag
Copy link
Contributor Author

enumag commented Sep 14, 2022

Will do tomorrow. :)

@enumag enumag changed the title Fix Ecdsa\Sha512::expectedKeyLength() Clarify Ecdsa\Sha512::expectedKeyLength() Sep 15, 2022
@enumag
Copy link
Contributor Author

enumag commented Sep 15, 2022

Done.

@Slamdunk Slamdunk added this to the 5.0.0 milestone Sep 15, 2022
@lcobucci lcobucci merged commit f9cc3fc into lcobucci:5.0.x Sep 15, 2022
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.

4 participants