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> β€” Use FILE as 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> β€” Use FILE as 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> β€” Use FILE as 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> β€” Use FILE as 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 to FILE. πŸ¦‹
  • -a, --arpk <FILE> β€” Save the protection key as unencrypted GCM-AES256 key in FILE. 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