Generate a Nonce

Learn to generate nonce on the verifier

Note: A nonce is a random, one-time-use value generated by the verifier and sent to the attester.

  • It ensures the attestation report is fresh and not a replay of an old, potentially compromised report.

  • It binds the attestation to a specific request, preventing replay attacks.

Create the Nonce

Generate a nonce for the session. For more information see, the attestation nonce CLI.

Example

vhsm nitride attestation nonce f43042c2-3ac6-43fd-be0a-efbfd2c5b419

Output

/Key            Value
---            -----
created        1752752829
description    A small Azure VM running MariaDB
events         http://localhost:8000
name           Azure MariaDB
namespace      n/a
nonce          E5a8XdpQhg7f9ET0VMXIJT6HftUrvMWCob2Ki4B5EyEKn_MrekFjYRO_NzKc_ppUcSIXGSptY0bVrrI1tAQt_g==
policy         azure-dc2asv5-raw
updated        1752752873
uuid           f43042c2-3ac6-43fd-be0a-efbfd2c5b419

Last updated

Was this helpful?