Skip to content

Add reference-values-in.json file#11

Merged
Jakob-Naucke merged 3 commits into
trusted-execution-clusters:mainfrom
Jakob-Naucke:macros
Aug 25, 2025
Merged

Add reference-values-in.json file#11
Jakob-Naucke merged 3 commits into
trusted-execution-clusters:mainfrom
Jakob-Naucke:macros

Conversation

@Jakob-Naucke
Copy link
Copy Markdown
Contributor

with dummy values that throw errors when not replaced with hex strings.

Also includes some nits.

Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
@Jakob-Naucke Jakob-Naucke requested a review from alicefr August 19, 2025 15:12
@Jakob-Naucke Jakob-Naucke mentioned this pull request Aug 21, 2025
@Jakob-Naucke
Copy link
Copy Markdown
Contributor Author

Jakob-Naucke commented Aug 21, 2025

superseded by #12 (sorry Rhys for the noise -- the fate of an early adopter username)

Comment thread operator/src/trustee.rs
if let serde_json::Value::String(hex) = value
&& hex
.chars()
.all(|c| (c >= '0' && c <= '9') || (c >= 'a' && c <= 'f'))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

On Azure, iirc, the letter are capital, so maybe it is worth to reduce value to lowercase first

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

compute-pcrs will also give lower case and this should be fixed attestation policy side. This is now included (cc @6-dehan)

@alicefr
Copy link
Copy Markdown
Contributor

alicefr commented Aug 25, 2025

I added one comment but the rest looks good

with dummy values that throw errors when not replaced with hex strings

Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
@Jakob-Naucke Jakob-Naucke merged commit ed8f0f3 into trusted-execution-clusters:main Aug 25, 2025
@Jakob-Naucke Jakob-Naucke deleted the macros branch August 25, 2025 10:21
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