Sunil Mohan Adapa 419559a86f
wireguard: Show public key even when connection is not active
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>
2020-01-18 13:53:55 -05:00
..
2020-01-18 13:53:44 -05:00
2020-01-18 13:53:44 -05:00
2020-01-18 13:52:38 -05:00