veraison / go-cose

go library for CBOR Object Signing and Encryption (COSE)
Mozilla Public License 2.0
49 stars 26 forks source link

Improve error message for RS256, RS384, RS512 constants #164

Closed roywill closed 1 year ago

roywill commented 1 year ago

What is the areas you experience the issue in?

Go-COSE Library

What is not working as expected?

The error message could be better.

What did you expect to happen?

Text string changed

How can we reproduce it?

Attempting to use the constants for internal operations.

Describe your environment

All

What is the version of your Go-COSE Library?

V1.0

hslatman commented 1 year ago

Context: https://github.com/veraison/go-cose/pull/163#pullrequestreview-1572832541