cunΔ«cu(1)
π 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, andfatal) (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
- nixos 26.05: cunicu 0.12.0
- nixpkgs unstable: cunicu 0.12.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms