nix3-key-c...t-to-public(1)
π nix3-key-c...t-to-public(1) β General Commands Manual
okay bestie, so this one is a General Commands Manual page, and it's giving β¨cryptographic glow-upβ¨ β we're turning your secret key into a public one, no cap.
β οΈ Warning β οΈ This program is experimental and its interface is subject to change. Like, fr fr. Don't build your whole personality around it.
π NAME π
nix key convert-secret-to-public β generate a public key for verifying store paths from a secret key read from standard input π
π¦ SYNOPSIS π¦
nix key convert-secret-to-public [optionβ¦]
β¨ EXAMPLES β¨
- Convert a secret key to a public key π (it's giving alchemy, honestly):
# echo cache.example.org-0:E7lAO+MsPwTFfPXsdPtW8GKui/5ho4KQHVcAGnX+Tti1V4dUxoVoqLyWJ4YESuZJwQ67GVIksDt47og+tPVUZw== \
| nix key convert-secret-to-public
cache.example.org-0:tVeHVMaFaKi8lieGBErmScEOuxlSJLA7eO6IPrT1VGc=
πΈ DESCRIPTION πΈ
So here's the tea β: this command reads an Ed25519 secret key from standard input, and writes the corresponding public key to standard output. That's it, that's the whole vibe. π«Ά
For more details, go peek at nix key generate-secret. π
π OPTIONS π
π§ Logging-related options
--debugβ Set the logging verbosity level toβdebugβ. yes ma'am, maximum yapping π--log-formatformat β Set the format of log output; one ofraw,internal-json,barorbar-with-logs. pick your aesthetic π--print-build-logs/-Lβ Print full build logs on standard error. all the receipts, on stderr π--quietβ Decrease the logging verbosity level. shhh π€«--verbose/-vβ Increase the logging verbosity level. talk more, bestie π£οΈ
π Miscellaneous global options
--helpβ Show usage information. when in doubt π--offlineβ Disable substituters and consider all previously downloaded files up-to-date. βοΈ mode: activated--optionname value β Set the Nix configuration setting name to value (overridingnix.conf). assertive, iconic π--refreshβ Consider all previously downloaded files out-of-date. everything is old again, deal with it π--versionβ Show version information. the lore π
π Note See man nix.conf for overriding configuration settings with command line flags. iykyk π₯
π tl;dr β secret key goes in, public key comes out, you cannot explain that π
and that's a wrap, bestie!! π¦ this page came to you from the General Commands Manual, filed under nix3-key-c...t-to-public(1) β same title at the bottom as the top, because symmetry is slay. periodt. ππβ¨
π¦ where this page comes from
- fedora 44: nix-core 2.35.3-2.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms