Repository navigation
attestation-service: add default SNP appraisal - #216
Merged
Merged
Conversation
jialez0
force-pushed
the
agent/snp-ear-appraisal
branch
from
August 5, 2026 11:18
3a81df0 to
20af991
Compare
|
@jialez0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@jialez0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@jialez0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@jialez0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
Signed-off-by: Jiale Zhang <zhangjiale@linux.alibaba.com>
jialez0
force-pushed
the
agent/snp-ear-appraisal
branch
from
August 5, 2026 11:20
20af991 to
82d4f9f
Compare
|
@jialez0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@jialez0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@jialez0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@jialez0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
jialez0
marked this pull request as ready for review
August 5, 2026 11:43
|
@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.
What changed
Why
The SNP verifier already validated the report signature, endorsement chain, VCEK TCB extensions, VMPL, and
REPORT_DATA, but the default token policies did not recognize SNP. Consequently, valid SNP evidence still produced a contraindicated EAR appraisal. The default policies now recognize successfully verified SNP evidence and reject unsafe Debug or Migration Agent policy bits. Relying parties can uncomment the documented measurement and TCB checks after provisioning their deployment-owned RVPS values.Validation
cargo test -p attestation-service --no-default-features --features fs,snp-verifier --lib(34 passed)cargo test -p verifier --no-default-features --features snp-verifier snp::tests --lib(20 passed)cargo clippy -p attestation-service --no-default-features --features fs,snp-verifier --lib -- -D warningscargo clippy -p verifier --no-default-features --features snp-verifier --lib -- -D warningscargo check -p kbs --no-default-features --features coco-as-builtin-no-verifier,attestation-service/snp-verifier,attestation-service/fssnp.*reference valueear.status=affirmingear.status=affirmingattestation-agent-client get-token --token-type kbsreturned an EAR withear.status=affirmingaffirmingREPORT_DATA, performed nosnp.*RVPS query, and returned HTTP 200 from/authand/attestSigned-off-by: Jiale Zhang zhangjiale@linux.alibaba.com