mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-04 08:13:38 +00:00
When wireguard interface is not active 'wg show' does not provide any information. In such case, get the public key by computing it from private key by calling 'wg pubkey'. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>