LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

apptainer-sign

Cryptographically sign SIF container images

TLDR

Sign an image with the default PGP key
$ apptainer sign [path/to/image.sif]
copy
Choose which key in the keyring to sign with
$ apptainer sign --keyidx [1] [path/to/image.sif]
copy
Sign with a PEM private key rather than PGP
$ apptainer sign --key [path/to/private.pem] [path/to/image.sif]
copy
Sign every object the image contains
$ apptainer sign --all [path/to/image.sif]
copy
Sign one object group
$ apptainer sign --group-id [1] [path/to/image.sif]
copy
Sign a single object by its SIF id
$ apptainer sign --sif-id [3] [path/to/image.sif]
copy

SYNOPSIS

apptainer sign [options] image.sif

DESCRIPTION

apptainer sign adds digital signatures to SIF container images, enabling verification of image integrity and authenticity. Signatures can use PGP keys or X.509 certificates.Signing containers is essential for establishing trust in shared container images and meeting security requirements in production environments.

PARAMETERS

--key file

Path to a private key file for signing
-k, --keyidx index
Index of the PGP key to use from the keyring
-g, --group-id id
Sign only a specific object group within the SIF
-i, --sif-id id
Sign only a specific object by ID within the SIF

INSTALL

sudo dnf install apptainer
copy
sudo pacman -S apptainer
copy
sudo apk add apptainer
copy
sudo zypper install apptainer
copy
brew install apptainer
copy
nix profile install nixpkgs#apptainer
copy

CAVEATS

A PGP key pair or X.509 certificate must be configured before signing. The private key must be kept secure; compromised keys should be revoked immediately.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid