veraison / go-cose

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

Add COSE_Key support #147

Closed setrofim closed 1 year ago

setrofim commented 1 year ago

Add support for marshalling/unmarshalling COSE_Key structures, and using them for signing and verification. At the moment, only RFC8152 is implemented (OKP and EC2 signatures); RFC8230 (RSASSA-PSS signatures) is NOT implemented.

setrofim commented 1 year ago

I have made the mistake of using the GitHub's "commit suggestion" feature while at the same time making commits for non-suggestion comments on my local version of the brach. While rebasing and squashing everything worked fine on the brach, GitHub seems to have gotten confused, and was refusing to update the old pull request to the new tip of sertrofim brach.

To get around that, I created a new branch and submitted this pull request. Weridly doing so seems to have "unstuck" the original pull request, renderring this one unnecessary. Closing this now. going back to #146. Apologies for the churn.