COSIGN(1)
π NAME π
okay so bestie, welcome to the COSIGN(1) page π β cosign is the Container Signing/Verification/Storage tool. that's the whole vibe. signing, verifying, storing. in a registry. iconic.
β¨ DESCRIPTION β¨
fr fr, here's the tea: cosign is a tool for Container Signing, Verification and Storage in an OCI registry. it's giving supply-chain-security main character energy π«Ά
here's how you call it:
Usage: cosign [command]
πΈ Available Commands πΈ
like, there are SO many subcommands, and you're gonna want all of them:
attestβ Attest the supplied container image.attest-blobβ Attest the supplied blob.bundleβ Interact with a Sigstore protobuf bundlecleanβ Remove all signatures from an image. (yes queen, ALL of them π )completionβ Generate completion scriptdownloadβ Provides utilities for downloading artifacts and attached artifacts in a registryenvβ Prints Cosign environment variablesgenerate-key-pairβ Generates a key-pair.helpβ Help about any commandimport-key-pairβ Imports a PEM-encoded RSA or EC private key.initializeβ Initializes SigStore root to retrieve trusted certificate and key targets for verification.loadβ Load a signed image on disk to a remote registryloginβ Log in to a registrypublic-keyβ Gets a public key from the key-pair.saveβ Save the container image and associated signatures to disk at the specified directory.signβ Sign the supplied container image.sign-blobβ Sign the supplied blob, outputting the base64-encoded signature to stdout.signing-configβ Interact with a Sigstore protobuf signing configtreeβ Display supply chain security related artifacts for an image such as signatures, SBOMs and attestationstrusted-rootβ Interact with a Sigstore protobuf trusted rootverifyβ Verify a signature on the supplied container imageverify-attestationβ Verify an attestation on the supplied container imageverify-blobβ Verify a signature on the supplied blobverify-blob-attestationβ Verify an attestation on the supplied blobversionβ Prints the version
π₯ Flags π₯
no cap, these apply to cosign itself:
-h,--help=falseβ help for cosign--output-file=''β log output to a file-t,--timeout=3m0sβ timeout for commands-d,--verbose=falseβ log debug output
π Additional help topics π
a lil extra lore for you:
cosign piv-toolβ This cosign was not built with piv-tool support!cosign pkcs11-toolβ This cosign was not built with pkcs11-tool support!
bestie, heads up: those two tool topics literally just tell you this cosign was not built with that support. no piv-tool, no pkcs11-tool. that's it, that's the message π
and when you're lost (we've all been there), remember:
Use "cosign [command] --help" for more information about a command.
and that's the whole page, bestie π this was cosign 3.1.1-1, dated July 2026, and you just read the COSIGN(1) manual. go sign something iconic β¨π no cap.
π¦ where this page comes from
- ubuntu stonking: cosign 3.1.1-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms