cunΔ«cu(1)

πŸ“¦ version 0.12.0, in nixos 26.05, nixpkgs unstable

πŸ’– cunicu-wg-pubkey Β· cunΔ«cu(1) πŸ’–

✨ NAME ✨

cunicu-wg-pubkey β€” calculates a public key and prints it in base64 to standard output. That’s literally the whole main-character job, bestie.

πŸ¦‹ SYNOPSIS πŸ¦‹

cunicu wg pubkey [flags]

Okay so that’s the shape of it: cunicu wg pubkey plus [flags]. Slay.

🌸 DESCRIPTION 🌸

This one calculates a public key and prints it in base64 to standard output. The key it uses? It comes from a corresponding private key β€” generated with genkey β€” that you give it in base64 on standard input. So private key goes in on stdin, public key comes out on stdout, and it’s giving base64 both ways. πŸ’…

πŸŽ€ OPTIONS πŸŽ€

  • -h, --help[=false] β€” help for pubkey. Iconic little helper behavior, fr fr.

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

  • -q, --color="auto" β€” enable colorization of output (one of: auto, always, never). The vibe check for your terminal’s colors, iykyk.
  • -l, --log-file=[] β€” path of a file to write logs to. Put those logs somewhere cute (well, somewhere useful).
  • -d, --log-level=[] β€” log level filter rule (one of: debug, info, warn, error, dpanic, panic, and fatal) (default "info"). Lowkey controls how much log tea gets spilled.

πŸ”₯ EXAMPLE πŸ”₯

Bestie, the example is a whole combo move: a private key and a corresponding public key may be generated at once by calling:

# A private key and a corresponding public key may be generated at once by calling:
$ umask 077
$ wg genkey | tee private.key | wg pubkey > public.key

πŸ’œ SEE ALSO πŸ’œ

Go give cunicu-wg(1) a little look too β€” it’s the parent-command bestie, and the manual says see also, so we stan. 🫢


source/version: https://github.com/cunicu/cunicu Β· date: Jan 1980 Β· mwah πŸ’‹ cunΔ«cu(1) ⭐

πŸ“¦ where this page comes from