table of contents
- Tumbleweed 2.44.1-1.1
- Leap-16.0
- Leap-15.6
| PVATTEST-VERIFY(1) | Attestation Manual | PVATTEST-VERIFY(1) |
NAME¶
pvattest-verify - Verify an attestation response
SYNOPSIS¶
pvattest verify [OPTIONS] --input <FILE> --hdr <FILE> --arpk <FILE>
DESCRIPTION¶
Verify that a previously generated attestation measurement of an IBM Secure Execution guest is as expected. Only verify attestation requests in a trusted environment, such as your workstation. Input must contain the response as produced by pvattest perform. The protection key must be the one that was used to create the request by pvattest create. Shred the protection key after the verification. The header must be the IBM Secure Execution header of the image that was attested during pvattest perform. The verify command solely verifies that the Attestation measurement is correct. It does not check for the content of additional data or user data. See `pvattest check` for policy checks after you verified the Attestation measurement.
OPTIONS¶
-i, --input <FILE>
-o, --output <FILE>
--hdr <FILE>
Can be an IBM Secure Execution image created by genprotimg or an extracted IBM Secure Execution header. The header must start at a page boundary.
-a, --arpk <FILE>
Do not publish this key, otherwise your attestation is compromised. Delete this key after verification.
--format <FORMAT>
Possible values:
-u, --user-data <FILE>
Writes the user data, if the response contains any, to FILE The user-data is part of the attestation measurement. If the user-data is written to FILE the user-data was part of the measurement and verified. Emits a warning if the response contains no user-data.
-h, --help
EXIT STATUS¶
- 0 - Attestation Verified
- 1 - Program Error
- 2 - Attestation NOT Verified
EXAMPLES¶
To verify a measurement in 'measurement.bin' with the protection key 'arp.kep' and SE-guest header 'se_guest.hdr'.
If the verification was successful the program exists with zero. If the verification failed it exists with 2 and prints the following to stderr:
$ pvattest verify --input attresp.bin --arpk arp.key --hdr se_guest.hdr
ERROR: Attestation measurement verification failed:
Calculated and received attestation measurement are not the same.
SEE ALSO¶
| 2026-08-11 | s390-tools |