Skip to content

Add serde implementations for platforms and release v0.6.0-rc.2#78

Open
robin-nitrokey wants to merge 4 commits into
mainfrom
test-client
Open

Add serde implementations for platforms and release v0.6.0-rc.2#78
robin-nitrokey wants to merge 4 commits into
mainfrom
test-client

Conversation

@robin-nitrokey
Copy link
Copy Markdown
Member

Cherry-picked from #75.

@0x0ece The reason I did not include this in rc.1 is that I wanted to discuss the feature name but did not want to delay the rc for it as it does not affect fido-authenticator so it does not block the PRs there.

The name test-client makes sense from the perspective of the solo2 test suite, but IMHO not for ctap-types. What do you think about calling the feature platform-serde because it provides the serde trait implementations required by platforms but not by authenticators?

Comment thread src/ctap2.rs
x5c,
}))
}
_ => Ok(AttestationStatement::None(NoneAttestationStatement {})),
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I think it would be more accurate to only return AttestationStatement::None if the map does not have any entries and return an error otherwise. What do you think?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes, this seems better, a non suppported attestation format should be rejected not considered as null.

@robin-nitrokey robin-nitrokey mentioned this pull request May 22, 2026
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.

3 participants