From: Philip Withnall Date: Mon, 3 Aug 2026 15:38:47 +0000 (+0100) Subject: ostree-sign: Slightly clarify docs around --key-file X-Git-Tag: archive/raspbian/2026.4-1+rpi1^2~9^2^2~11^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=073f1334279238afb9f5adee8fd6a2686e45aacb;p=ostree.git ostree-sign: Slightly clarify docs around --key-file It wasn’t 100% clear to idiots like me that the key file is in a custom format, rather than being a GPG keyring. Signed-off-by: Philip Withnall --- diff --git a/man/ostree-sign.xml b/man/ostree-sign.xml index 8b645278..462169ce 100644 --- a/man/ostree-sign.xml +++ b/man/ostree-sign.xml @@ -123,13 +123,13 @@ License along with this library. If not, see . - Read key(s) from file filename. + Read keys from file filename. Valid for ed25519 and spki signature types. - This file must contain base64-encoded - secret key(s) (for signing) or public key(s) (for verifying) per line. + 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). diff --git a/src/ostree/ot-builtin-sign.c b/src/ostree/ot-builtin-sign.c index 5016794d..6d89a2fb 100644 --- a/src/ostree/ot-builtin-sign.c +++ b/src/ostree/ot-builtin-sign.c @@ -48,7 +48,7 @@ static GOptionEntry options[] { "sign-type", 's', 0, G_OPTION_ARG_STRING, &opt_sign_name, "Signature type to use (defaults to 'ed25519')", "NAME" }, #if defined(HAVE_ED25519) - { "keys-file", 0, 0, G_OPTION_ARG_STRING, &opt_filename, "Read key(s) from file", "NAME" }, + { "keys-file", 0, 0, G_OPTION_ARG_STRING, &opt_filename, "Read keys from file", "NAME" }, { "keys-dir", 0, 0, G_OPTION_ARG_STRING, &opt_keysdir, "Redefine system-wide directories with public and revoked keys for verification", "NAME" },