Skip to content

Commit 5783055

Browse files
danko-miladinovicultraviolet
andauthored
NOISSUE - Add reported TCB to attestation policy (#523)
Co-authored-by: ultraviolet <cocosai@ultraviolet.local>
1 parent c758b3b commit 5783055

File tree

1 file changed

+2
-2
lines changed
  • scripts/attestation_policy/src

1 file changed

+2
-2
lines changed

scripts/attestation_policy/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ fn main() {
133133
let family_id = BASE64_STANDARD.encode(vec![0; 16]);
134134
let image_id = BASE64_STANDARD.encode(vec![0; 16]);
135135
let vmpl = 2;
136-
let minimum_tcb = get_uint64_from_tcb(&status.platform_tcb_version);
137-
let minimum_launch_tcb = get_uint64_from_tcb(&status.platform_tcb_version);
136+
let minimum_tcb = get_uint64_from_tcb(&status.reported_tcb_version);
137+
let minimum_launch_tcb = get_uint64_from_tcb(&status.reported_tcb_version);
138138
let require_author_key = false;
139139
let measurement = BASE64_STANDARD.encode(vec![0; 48]);
140140
let host_data = BASE64_STANDARD.encode(vec![0; 32]);

0 commit comments

Comments
 (0)