Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treewide: implement serializer interface for socket API #207

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

smo4201
Copy link
Collaborator

@smo4201 smo4201 commented Sep 26, 2024

For the socket API, the cmcd and testtool used CBOR serialization for the payloads (regardless of the
serialization of metadata and attestation reports).

This commit introduces the socketApiSerializer configuration for the testtool and adds automatic serialization detection for socket API requests in the cmcd. This makes it possible to interact with the cmcd socket API without requiring CBOR support.

For the socket API, the cmcd and testtool used CBOR
serialization for the payloads (regardless of the
serialization of metadata and attestation reports).

This commit introduces the socketApiSerializer configuration
for the testtool and adds automatic serialization detection
for socket API requests in the cmcd. This makes it possible
to interact with the cmcd socket API without requiring
CBOR support.

Signed-off-by: Simon Ott <[email protected]>
@smo4201 smo4201 merged commit 4d42b87 into main Sep 26, 2024
1 check passed
@smo4201 smo4201 deleted the socket-serializer branch September 26, 2024 15:55
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.

1 participant