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

AA/kbs_protocol: fix the RCAR handshake unit test #438

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

Xynnn007
Copy link
Member

There are some changes upon KBS side.

https://github.com/confidential-containers/kbs/pull/265/files#diff-88f80dee1e5f367cb319573b2d524906c5631100a0a3ce6cc62bf2ebf62fb251L95 replaces token type to a token config, and we do not have a default token config builder thus we need to explicitly add the attestation_token_config.

Also, the commit
confidential-containers/trustee@43d56f3 will block the sample_attester by the default policy of KBS when verifying the CoCoAS token. This is due to security. But in this test, we leverage sample-attester, so we need a policy that allows this.

The commit
006e1ff enables sample_attester without setting environment variable.

This PR will resolve the blocker in #434 and #436

cc @fitzthum

There are some changes upon KBS side.

https://github.com/confidential-containers/kbs/pull/265/files#diff-88f80dee1e5f367cb319573b2d524906c5631100a0a3ce6cc62bf2ebf62fb251L95
replaces token type to a token config, and we do not have a default
token config builder thus we need to explicitly add the
attestation_token_config.

Also, the commit
confidential-containers/trustee@43d56f3
will block the sample_attester by the default policy of KBS when
verifying the CoCoAS token. This is due to security. But in this test,
we leverage sample-attester, so we need a policy that allows this.

The commit
confidential-containers@006e1ff
enables sample_attester without setting environment variable.

Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
Copy link
Member

@fitzthum fitzthum left a comment

Choose a reason for hiding this comment

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

Thanks. I guess we missed this at first because it's the other repo. That's an interesting dependency.

@fitzthum fitzthum merged commit 6389bda into confidential-containers:main Jan 18, 2024
9 checks passed
@Xynnn007 Xynnn007 deleted the fix-rcar-unit-test branch January 18, 2024 17:39
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