SKOPEO-GENERATE-SIGSTORE-KEY(1)

πŸ’… skopeo-generate-sigstore-key

okay bestie, so this is a page from the skopeo manual β€” like, the skopeo family of man pages, iykyk β€” and this one is all about making yourself a sigstore key pair. Yes, a public key AND a private key, one each, a matching set. Iconic. πŸŽ€


✨ NAME ✨

skopeo-generate-sigstore-key β€” generate a sigstore public/private key pair.


πŸ¦‹ SYNOPSIS πŸ¦‹

skopeo generate-sigstore-key [options] --output-prefix prefix

🌸 DESCRIPTION 🌸

So basically this command generates a public/private key pair, and the whole point of that pair is signing sigstore image signatures. That's the vibe. πŸ”₯

The private key is encrypted with a passphrase β€” and here's the cute part β€” if you don't hand over a passphrase using an option, the command will just prompt you for it interactively. Very "it'll ask you when it needs to know" of it. πŸ’–

The private key gets written to prefix.private. The public key gets written to prefix.pub. Two files, one prefix, matching names, slay. 🌈


🧚 OPTIONS 🧚

Also, ngl, for the options that go before the subcommand name, go check out skopeo(1). That's where those live. 🫢

  • --help, -h β€” prints the usage statement. standard, but we love her. ✨
  • --output-prefix prefix β€” Mandatory, bestie. This is the path prefix for your output keys, and it turns into prefix.private and prefix.pub. No prefix, no keys. periodt. πŸ’…
  • --passphrase-file path β€” the passphrase used to encrypt the private key lives in this file. Only the first line gets read, okay? Just the first one. And listen β€” a passphrase stored in a file is of, like, questionable security if other users can read that file. Lowkey risky. The manpage is fr fr telling you: do not use this option if at all avoidable. πŸ™ˆ
⚠️ Like, genuinely: storing your passphrase in a readable file is a security question mark. Only use --passphrase-file if there's literally no other way.

πŸ’œ EXAMPLES πŸ’œ

$ skopeo generate-sigstore-key --output-prefix mykey

πŸ‘‘ SEE ALSO πŸ‘‘

skopeo(1), skopeo-copy(1), containers-policy.json(5)


πŸ’€ AUTHORS πŸ’€

Miloslav Trmač <mitr@redhat.com> ⟨mailto:mitr@redhat.com⟩


okay that's the whole page, you ate that πŸ“ β€” this one's from the skopeo-generate-sigstore-key(1) manual, same title on the header and the footer because that's just how man pages do, and the footer's date/version is right there with it. mwah πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from