feat: query RVPS reference values from attestation policies - #208
Open
jialez0 wants to merge 7 commits into
Open
feat: query RVPS reference values from attestation policies#208jialez0 wants to merge 7 commits into
jialez0 wants to merge 7 commits into
Conversation
Signed-off-by: Jiale Zhang <zhangjiale@linux.alibaba.com>
Signed-off-by: Jiale Zhang <zhangjiale@linux.alibaba.com>
Signed-off-by: Jiale Zhang <zhangjiale@linux.alibaba.com>
Signed-off-by: Jiale Zhang <zhangjiale@linux.alibaba.com>
Signed-off-by: Jiale Zhang <zhangjiale@linux.alibaba.com>
Signed-off-by: Jiale Zhang <zhangjiale@linux.alibaba.com>
Signed-off-by: Jiale Zhang <zhangjiale@linux.alibaba.com>
|
@jialez0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@jialez0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
jialez0
marked this pull request as ready for review
July 31, 2026 02:52
|
@jialez0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@jialez0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sync the Confidential Containers policy-to-RVPS query model into Anolis Trustee:
query_reference_value(key)to Regorus policies;data.referencepolicies working.The implementation is based on CoCo Trustee
9829257aand Anolis Trustee6cc322d9.Anolis compatibility and hardening
This deliberately adapts rather than copies the CoCo behavior:
null; RVPS errors and the 10-second timeout fail policy evaluation.data.reference.Commit sequence
Validation
coco-as-builtin/coco-as-grpc, and gRPC AS all-verifier builds passed.go test ./...andgo vet ./...passed.null, legacy bulk query, JWT issuance, allow and reject paths.MR_TDfrom RVPS and issued a JWT; a mismatched reference value was rejected; restoring the value passed again; a legacydata.referencepolicy also passed. The test used side ports and all temporary services/data were removed afterward.Signed-off-by: Jiale Zhang zhangjiale@linux.alibaba.com