cunicu wg pubkey
Calculates a public key and prints it in base64 to standard output.
Synopsis
Calculates a public key and prints it in base64 to standard output from a corresponding private key (generated with genkey) given in base64 on standard input.
cunicu wg pubkey [flags]
Examples
# 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
Options
  -h, --help   help for pubkey
Options inherited from parent commands
  -q, --color string            Enable colorization of output (one of: auto, always, never) (default "auto")
  -l, --log-file stringArray    path of a file to write logs to
  -d, --log-level stringArray   log level filter rule (one of: debug, info, warn, error, dpanic, panic, and fatal) (default "info")
SEE ALSO
- cunicu wg - WireGuard commands