Skip to content

Clarify Ecdsa\Sha512::expectedKeyLength()#909

Merged
lcobucci merged 1 commit into
lcobucci:5.0.xfrom
enumag:patch-1
Sep 15, 2022
Merged

Clarify Ecdsa\Sha512::expectedKeyLength()#909
lcobucci merged 1 commit into
lcobucci:5.0.xfrom
enumag:patch-1

Conversation

@enumag

@enumag enumag commented Sep 14, 2022

Copy link
Copy Markdown
Contributor

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

@lcobucci

lcobucci commented Sep 14, 2022

Copy link
Copy Markdown
Owner

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

@enumag

enumag commented Sep 14, 2022

Copy link
Copy Markdown
Contributor Author

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

@Ocramius

Copy link
Copy Markdown
Collaborator

@enumag you can adjust your patch to include that 👍

@enumag

enumag commented Sep 14, 2022

Copy link
Copy Markdown
Contributor Author

Will do tomorrow. :)

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

enumag commented Sep 15, 2022

Copy link
Copy Markdown
Contributor Author

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