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 πŸ’…

  • --debug β€” Set the logging verbosity level to β€˜debug’. yes ma'am, maximum yapping πŸ”
  • --log-format format β€” Set the format of log output; one of raw, internal-json, bar or bar-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
  • --option name value β€” Set the Nix configuration setting name to value (overriding nix.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