You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hm, it would be useful to see the attestation token itself to make sure that it matches up with the policy. Can you get that via debug? (It's not the same as the attestation info that is currently being printed) You'll probably need to add a debug entry in the simple attestation token broker
If you don't mind changing the source, you can add a debug log around here printing out the token.
I notice your log also has [2025-02-25T09:56:01Z DEBUG actix_web::middleware::logger] Error in response: TokenVerifierError(TokenVerificationFailed { source: Cannot verify token since trusted JWK Set is empty })
it's pretty easy to get around that temporarily by setting insecure_key to true in the config. I'm not sure how that error relates to the PolicyDeny tho.
Describe the bug
In GCP VM if use snp measurement as policy it always hit "PolicyDeny" error when get-resource.
The attestation step can pass.
Server policy:
Attestation token:
Attestation token payload:
How to reproduce
CoCo version information
kbs 0.1.0
What TEE are you seeing the problem on
Snp
Failing command and relevant log output
Server debug log:
debug.log
The text was updated successfully, but these errors were encountered: