aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/wg.8
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-07-28 17:18:17 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-08-02 02:55:43 +0200
commitc27d64f703bb5f25e2008ed053200b99eeccd807 (patch)
treebc86ca9bfba4cb0c302bc70369352338bfd3f0bf /src/tools/wg.8
parentcontrib: move patchers to contrib/kernel-tree (diff)
downloadwireguard-monolithic-historical-c27d64f703bb5f25e2008ed053200b99eeccd807.tar.xz
wireguard-monolithic-historical-c27d64f703bb5f25e2008ed053200b99eeccd807.zip
tools: do not show private keys in pretty output
Diffstat (limited to 'src/tools/wg.8')
-rw-r--r--src/tools/wg.83
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/wg.8 b/src/tools/wg.8
index b8e6596..0795fdf 100644
--- a/src/tools/wg.8
+++ b/src/tools/wg.8
@@ -194,6 +194,9 @@ Note that not all keys are required.
.TP
.I WG_COLOR_MODE
If set to \fIalways\fP, always print ANSI colorized output. If set to \fInever\fP, never print ANSI colorized output. If set to \fIauto\fP, something invalid, or unset, then print ANSI colorized output only when writing to a TTY.
+.TP
+.I WG_HIDE_KEYS
+If set to \fInever\fP, then the pretty-printing \fBshow\fP sub-command will show private and pre-shared keys in the output. If set to \fIalways\fP, something invalid, or unset, then private and pre-shared keys will be printed as "(hidden)".
.SH SEE ALSO
.BR ip (8),