pvebc - Man Page

Protected Virtualization Early Boot Customization Tool

Synopsis

pvebc [OPTIONS] --toc <FILE>

Description

Use the pvebc tool to process add-secret request files (toc.asr) that define the root of early boot customization (EBC) resources for IBM Secure Execution for Linux (SEL) guests. The tool validates the integrity and completeness of add-secret request (ASR) files using cryptographic verification to prevent tampering during transmission over unsecured channels.

The tool operates on a structure consisting of three types of files:

The integrity protection mechanism works as follows:

  1. Each add-secret request file includes an AES-GCM authentication tag (last 16 bytes), which provides integrity protection for the file.
  2. The toc.pol file lists the expected message authentication code (MAC) tags of all add-secret request files.
  3. The toc.asr file contains a cryptographically protected reference to toc.pol, consisting of the relative file path and a SHA-512 hash of the policy file.
  4. The AES-GCM authentication tag of toc.asr protects the integrity of this reference.

This structure prevents attackers from:

pvebc validates the entire chain of trust by:

The tool can run in one of two modes:

Options

-t,  --toc <FILE>

Specify the table-of-contents add-secret request file toc.asr, which serves as the root of the EBC resources. This file must contain a reference to toc.pol in its user data field, as generated by pvsecret with the --policy option. The toc.asr file cryptographically links to the policy file by using a relative path and SHA-512 hash, ensuring the integrity of the complete EBC structure.

--dry-run

Validate the EBC structure without adding the add-secret requests to the ultravisor. Use this option to verify the integrity of the generated policy file and the links between add-secret request files and the policy. This mode can be run on non-SEL guests to validate the structure before deployment. When --dry-run is specified, the tool performs all cryptographic verifications but skips the actual addition of secrets to the ultravisor secret store.

--version

Print version information and exit.

-h,  --help

Print help information.

Files

The pvebc tool operates on the following file types (actual names may differ):

toc.asr

The root add-secret request file that contains a reference to the table-of-content toc.pol in its user data field. This file is generated by using pvsecret create with the --policy option.

toc.pol

The policy file containing a newline-separated list of AES-GCM authentication tags (MAC tags) in hexadecimal format. Each entry corresponds to one add-secret request file. This file is generated by using pvsecret create with the --toc-policy option.

*.asr

Individual add-secret request files that contain the actual secrets to be added to the SEL guest. Each add-secret request file includes an AES-GCM authentication tag (the last 16 bytes), which provides integrity protection.

Exit Status

pvebc returns the following exit codes:

0

Success. All validations passed and secrets were added (if not in dry-run mode).

1

Failure. An error occurred during validation or secret addition. Error details are printed to stderr.

Notes

- All file paths in a policy reference must be relative to the directory that contains the referencing file.

- On z/Architecture systems, the tool requires access to the ultravisor device (/dev/uv) to add secrets.

See Also

pvsecret(1), pvsecret-create(1), pvsecret-add(1)

Info

2026-03-24 s390-tools EBC Management Manual