Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libvirt: Use 16/32 hex long host-data based on libvirt version #3620

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

smit-gardhariya
Copy link
Collaborator

Use token_hex with 16/32 to generate hex string
for host data based on libvirt version.

Also use hex format in attestation tool to compare as libvirt convert host data in ASCII hex string. Based on node context, either decode or use plain string to compare as libvirt expect base64 encoded string for >=10.5.0 version

Use token_hex with 16/32 to generate hex string
for host data based on libvirt version.

Also use hex format in attestation tool to compare as libvirt
convert host data in ASCII hex string. Based on node context,
either decode or use plain string to compare as libvirt expect
base64 encoded string for >=10.5.0 version

Signed-off-by: Smit Gardhariya <sgardhariya@microsoft.com>
@praveen-pk
Copy link
Contributor

LGTM!

@squirrelsc squirrelsc merged commit 01a7502 into main Jan 30, 2025
45 checks passed
@squirrelsc squirrelsc deleted the sgardhariya/token_hex_16 branch January 30, 2025 16:37
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.

4 participants