Skip to content

bifroest recording verify

Verifies a Recording against trusted producer identity without exporting or replaying its Cast.

1
bifroest recording verify default RECORDING_UUID

Syntax

Arguments

auditlogName

Configured auditlog name for repository selection. Used together with recording-uuid, locally or through @target.

recording-uuid

Recording UUID returned by recording ls for the selected auditlog.

file

One local .bcast, .becast or signed .cast file, as an alternative to repository selection. File inputs need an independent expected producer ID and no local server configuration. They cannot be combined with @target.

Flags

Includes general executable flags.

--configuration

Local repository configuration; defaults to the platform path. Cannot be combined with a file input, @target or direct SSH.

--expectedProducerId

string

Independent 64-hex producer ID for copied or downloaded evidence. The client can use X-ExpectedProducerId. Configured local selection uses its signing identity and does not accept this flag. Unavailable over direct SSH.

--decryptionIdentityFile

Matching local SSH private key for full verification of encrypted .becast; repeatable. The client can use X-RecordingPrivateKey. Keys stay on the CLI machine. Without a supplied key, encrypted verification has outer scope; supplied non-matching keys fail. Unavailable over direct SSH.

--require-full

bool = false

Reject outer-only verification. Clear Recordings need no decryption key. Direct SSH cannot meet this requirement for encrypted content using a private key held on the workstation.

--format

string = "table"

Result format: table, json, yaml or cbor.

Output

The default status is verified (scope: outer) or verified (scope: full). Structured formats contain the verification result and scope. Success exits with status 0; no Cast content is emitted.

Verification checks the trusted producer and, for remote selection, the requested Recording ID. Regular stdout files cannot replace the input, supplied private keys or protected configured state. See Trust and verification.

Examples

Verify a Recording on its host

  1. Generate a Recording and find its UUID using the recording guide.
  2. Verify with the configured signing identity:

    1
    bifroest recording verify default RECORDING_UUID --require-full
    

Verify encrypted remote content locally

  1. Configure the encrypted repository, trusted producer and recipient key as in the workstation guide.
  2. Require a full result:

    1
    bifroest @bifroest-admin recording verify evidence RECORDING_UUID --require-full --format=json
    

    The matching private key is read on the workstation and never transmitted to the service.

Availability

linux darwin windows
/ / /

Invocation modes

Local CLI @target Direct SSH

Local invocation supports configured repositories and copied files. Remote-client verification downloads the original and requires recordings.download, including outer-only verification. Direct-SSH verification requires recordings.verify.

Direct SSH accepts an auditlog name, Recording UUID, --require-full and --format. It verifies server-side evidence without artifact-transfer permission or access to a workstation's private decryption key.