go-cose
go-cose copied to clipboard
Remove compressed point support from EC2 keys
What is the areas you would like to add the new feature to?
Go-COSE Library
Is your feature request related to a problem?
Point compression causes warnings.
What solution do you propose?
Doing point compression in this library is unnecessary, we can require keys to be in uncompressed form, and then throw errors when compressed point keys are passed, and instruct the user to do point compression before calling our interfaces.
What alternatives have you considered?
Doing point compression in our library
Any additional context?
related to https://github.com/veraison/go-cose/pull/178
and https://github.com/veraison/go-cose/issues/168#issuecomment-1750927203
If a test confirms errors are thrown for compressed points, this issue can be closed.