Skip to content

feat: Support obtaining signed CoSERV responses through the API client.#32

Merged
paulhowardarm merged 2 commits into
veraison:mainfrom
paulhowardarm:phSignedCoSERV
Feb 26, 2026
Merged

feat: Support obtaining signed CoSERV responses through the API client.#32
paulhowardarm merged 2 commits into
veraison:mainfrom
paulhowardarm:phSignedCoSERV

Conversation

@paulhowardarm

Copy link
Copy Markdown
Collaborator
  • Common code refactored into private method, with media type switching based on the requirement for a signature
  • New public method to obtain signed CoSERV response as raw bytes
  • New public convenience method to obtain the signed CoSERV and perform the verification inline (with the verifier passed as an argument)
  • Unit tests
  • Integration tests have been performed manually using the Linaro Veraison server with signed responses.

Signed-off-by: Paul Howard paul.howard@arm.com

- Common code refactored into private method, with media type switching based on the requirement for a signature
- New public method to obtain signed CoSERV response as raw bytes
- New public convenience method to obtain the signed CoSERV and perform the verification inline (with the verifier passed as an argument)
- Unit tests

Signed-off-by: Paul Howard <paul.howard@arm.com>
Signed-off-by: Paul Howard <paul.howard@arm.com>

@setrofim setrofim left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@thomas-fossati thomas-fossati left a comment

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.

🚢 it!

@paulhowardarm

Copy link
Copy Markdown
Collaborator Author

Some limitations of the verification API are recorded here: veraison/coserv-rs#10

This means there will likely be some rework of this in the future, but it's worth having the functionality available in its current form for end-to-end demonstrability.

@paulhowardarm paulhowardarm merged commit ff7ce87 into veraison:main Feb 26, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from In Review to Done in RATS Endorsement Distribution Feb 26, 2026
@github-project-automation github-project-automation Bot moved this from In review to Done in CoSERV in Rust Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

coserv CoSERV enablement

Projects

Status: Done
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants