wg genkey

From wikieduonline
Jump to navigation Jump to search
This article is a Draft. Help us to complete it.
 umask 077
 wg genkey > privatekey
 wg pubkey < privatekey > publickey.pub
wg pubkey
Curve25519: ssh-keygen -t ed25519
.pub


WireGuard’s wg genkey and wg pubkey consistently produce 32-byte keys, which, when [[Base64\\-encoded, always result in a 44-character string with == padding due to the fixed length.


See also[edit]

Advertising: