go-cose icon indicating copy to clipboard operation
go-cose copied to clipboard

Remove compressed point support from EC2 keys

Open OR13 opened this issue 1 year ago • 1 comments

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

OR13 avatar Mar 08 '24 16:03 OR13

If a test confirms errors are thrown for compressed points, this issue can be closed.

OR13 avatar Mar 08 '24 16:03 OR13