OSTREE-SIGN(1)
π NAME π
okay so welcome to the OSTREE SIGN(1) manual page, aka ostree sign β this is the one about signing commits, bestie. The name line energy is: ostree-sign β Sign a commit. slay. π
β¨ SYNOPSIS β¨
ostree sign [OPTIONS...] {COMMIT} {KEY-ID...}
π DESCRIPTION π
This adds a new signature to a commit. Heads up, though: currently this will append a new signature even if the commit is already signed with a given key. Not me explaining it twice, itβs literally in the manual: append energy. π
For ed25519 and spki, there are several "well-known" system places for trusted and revoked public keys as listed below.
Files:
/etc/ostree/trusted.SIGN-TYPE/etc/ostree/revoked.SIGN-TYPE/usr/share/ostree/trusted.SIGN-TYPE/usr/share/ostree/revoked.SIGN-TYPE
Directories containing files with keys:
/etc/ostree/trusted.SIGN-TYPE.d/etc/ostree/revoked.SIGN-TYPE.d/usr/share/ostree/trusted.SIGN-TYPE.d/usr/share/ostree/revoked.SIGN-TYPE.d
The format of those files depends on the signature mechanism; for ed25519, keys are stored in the base64 encoding per line, while for spki they are stored in the PEM "PUBLIC KEY" encoding. iykyk β¨
π OPTIONS π
KEY-IDβ the key ID situation, and it changes depending on the mechanism, bestie:- for
ed25519andspki: base64-encoded secret (for signing) or public key (for verifying). - for
dummy: ASCII-string used as secret key and public key.
- for
--verifyβ Verify signatures. thatβs the vibe check for signatures. β-s,--sign-typeβ Use particular signature mechanism. Currently available:ed25519,spki, anddummysignature types. The default ised25519. default queen behavior. π--keys-fileβ Read keys from file filename. Valid fored25519andspkisignature types. This file must contain one base64-encoded key per line. Each key may be a secret key (for signing) or a public key (for verifying). one key per line, no chaotic multi-key lines, okay? π«Ά--keys-dirβ Redefine the system path, where to search files and subdirectories with well-known and revoked keys. custom path moment. π¦
mwah π footer cutie check: source/version OSTree, page OSTREE SIGN(1) β the date wasnβt in this footer, so Iβm not inventing one, periodt ππβ¨
π¦ where this page comes from
- arch rolling: ostree 2026.6-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms