Skip to content

Fix COSEKeyTypeId serialization for non-EC keys#292

Merged
jschanck merged 3 commits into
mozilla:ctap2-2021from
jschanck:cose-key-type-id
Aug 23, 2023
Merged

Fix COSEKeyTypeId serialization for non-EC keys#292
jschanck merged 3 commits into
mozilla:ctap2-2021from
jschanck:cose-key-type-id

Conversation

@jschanck

Copy link
Copy Markdown
Collaborator

This was previously serializing the enum label, e.g. "RSA", instead of the value from https://www.iana.org/assignments/cose/cose.xhtml#key-type.

@jschanck jschanck requested a review from mozkeeler August 21, 2023 20:13

@mozkeeler mozkeeler left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - just a couple of questions.

Comment thread src/crypto/mod.rs
Comment thread src/crypto/mod.rs Outdated

@mozkeeler mozkeeler left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice - I think I like this a lot better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants