diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-10-21 20:38:04 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-10-21 20:38:04 +0200 |
commit | ac4292154ee3cbb165a75c8373d0b559c4027b51 (patch) | |
tree | 6e483ab9f78659728d6b2575561fd43c888d9942 | |
parent | bb42b60786f88fcebed09358d904e6d3118dce97 (diff) | |
download | vyatta-op-ac4292154ee3cbb165a75c8373d0b559c4027b51.tar.gz vyatta-op-ac4292154ee3cbb165a75c8373d0b559c4027b51.zip |
strip-private: T3926: strip cisco-authentication key
-rw-r--r-- | scripts/vyos-strip-config.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/vyos-strip-config.pl b/scripts/vyos-strip-config.pl index 9903f77..2a4c953 100644 --- a/scripts/vyos-strip-config.pl +++ b/scripts/vyos-strip-config.pl @@ -128,6 +128,7 @@ if ($stdin) { # Strip passwords $input =~ s/password \S+/password xxxxxx/g if !($keepPasswords); +$input =~ s/cisco-authentication \S+/cisco-authentication xxxxxx/g if !($keepPasswords); # Strip public key information $input =~ s/public-keys \S+/public-keys xxxx\@xxx.xxx/g if !($keepKeys); |