PVATTEST-CREATE(1)
π pvattest-create β from the Attestation Manual π
Hiii bestie!! This is the PVATTEST-CREATE(1) page, and it's literally all about creating an attestation measurement request. The vibe? Trusted environment, shiny keys, and absolutely no leaking the protection key. Let's go. β¨
β¨ NAME β¨
pvattest-create β Create an attestation measurement request. π
πΈ SYNOPSIS πΈ
pvattest create [OPTIONS] --host-key-document <FILE> --output <FILE> --arpk <FILE> <--no-verify|--cert <FILE>>
π¦ DESCRIPTION π¦
Okay so: you use this to create attestation measurement requests to attest an IBM Secure Execution guest. That's the main character energy of the whole page. π
Only build attestation requests in a trusted environment such as your Workstation. no cap β that part is important.
bestie, to avoid compromising the attestation: do not publish the attestation request protection key, and shred it after verification. π₯ Like, do not be out here leaking it.
Every create will generate a new, random protection key. Fresh key, fresh vibe. β¨
π OPTIONS π
-k,--host-key-document <FILE>β UseFILEas a host-key document. Can be specified multiple times and must be specified at least once. Yes, at least once β it's required, bestie.--no-verifyβ Disable the host-key document verification. Does not require the host-key documents to be valid. Do not use for a production request unless you verified the host-key document beforehand. This one is a big ol' caution, okay?-C,--cert <FILE>β UseFILEas a certificate to verify the host-key or keys. The certificates are used to establish a chain of trust for the verification of the host-key documents. Specify this option twice to specify the IBM Z signing key and the intermediate CA certificate (signed by the root CA). π--crl <FILE>β UseFILEas a certificate revocation list (CRL). The list is used to check whether a certificate of the chain of trust is revoked. Specify this option multiple times to use multiple CRLs. π--offlineβ Make no attempt to download CRLs. π--root-ca <ROOT_CA>β UseFILEas the root-CA certificate for the verification. If omitted, the system wide-root CAs installed on the system are used. Use this only if you trust the specified certificate. π-o,--output <FILE>β Write the generated request toFILE. π¦-a,--arpk <FILE>β Save the protection key as unencrypted GCM-AES256 key inFILE. Do not publish this key, otherwise your attestation is compromised. seriously, protect this one with your life. π--add-data <FLAGS>β Specify additional data for the request. Additional data is provided by the Ultravisor and returned during the attestation request and is covered by the attestation measurement. Can be specified multiple times. Optional. Possible values:phkh-img: Request the public host-key-hash of the key that decrypted the SE-image as additional-data.phkh-att: Request the public host-key-hash of the key that decrypted the attestation request as additional-data.secret-store-hash: Request a hash over all successful Add-secret requests and the lock state as additional-data.firmware-state: Request the state of the firmware as additional-data.
--att-version <VERSION>β Specify the Attestation Request version to use.[default: '1']Possible values:1: Version 1 - uses traditional cryptographic keys.2: Version 2 - uses hybrid (post-quantum) cryptographic keys.
-h,--helpβ Print help (see a summary with-h). π«Ά
π EXAMPLES π
Example 1: Create an attestation request with the protection key arp.key, write the request to arcb.bin, and verify the host-key document using the CA-signed key DigiCertCA.crt and the intermediate key IbmSigningKey.crt. Here's the exact command, no edits:
$ pvattest create -k hkd.crt --rpk arp.key -o attreq.bin --cert DigiCertCA.crt --cert IbmSigningKey.crt
Example 2: Create an attestation request with the protection key arp.key, write the request to arcb.bin, verify the host-key document using the CA-signed key DigiCertCA.crt and the intermediate key IbmSigningKey.crt, and instead of downloading the certificate revocation list use certificate revocation lists DigiCertCA.crl, IbmSigningKey.crl, and rootCA.crl. Copy this exactly, bestie:
$ pvattest create -k hkd.crt --arpk arp.key -o attreq.bin --cert DigiCertCA.crt --cert IbmSigningKey.crt --offline --crl DigiCertCA.crl --crl IbmSigningKey.crl --crl rootCA.crl
π«Ά SEE ALSO π«Ά
pvattest(1) β go check out the main page, bestie. It's the meta icon. π
kay bye bestie π«Ά β this page is from source/package s390-tools, dated 2026-08-11, and it's PVATTEST-CREATE(1) signing off. π
β¨
π¦ where this page comes from
- centos-stream 10: s390utils 2:2.44.1-2.el10 Β· MIT AND LGPL-2.1-or-later
- centos-stream 9: s390utils 2:2.44.1-2.el9 Β· MIT
- opensuse-leap 16.0: s390-tools 2.44.1-160000.1.1 Β· MIT
- opensuse-leap 16.0: s390-tools 2.44.1-160000.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms