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

kbs: add ProtocolVersion error #449

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

mythi
Copy link
Contributor

@mythi mythi commented Jul 30, 2024

kbs already supports checking the Request version but any version mismatch is not correctly returned to the client (nor checked by the current RCAR client handshake).

Add an explicit kbs ProtocolVersion error that is returned when the Request version is higher than what the KBS claims to support.

@mythi mythi marked this pull request as draft July 30, 2024 16:08
Copy link
Contributor

@larrydewey larrydewey left a comment

Choose a reason for hiding this comment

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

LGTM

@mythi mythi marked this pull request as ready for review July 30, 2024 17:52
Copy link
Member

@Xynnn007 Xynnn007 left a comment

Choose a reason for hiding this comment

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

lgtm. Thanks @mythi

kbs/src/http/attest.rs Outdated Show resolved Hide resolved
kbs already supports checking the Request version but
any version mismatch is not correctly returned to the
client (nor checked by the current RCAR client handshake).

Add an explicit kbs ProtocolVersion error that is returned
when the Request version is higher than what the KBS claims
to support.

Signed-off-by: Mikko Ylinen <[email protected]>
@mkulke mkulke merged commit 4a83e3b into confidential-containers:main Jul 31, 2024
14 checks passed
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.

4 participants