From 40c5d90f61604f34df849f156656390ff3bf75d4 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 21 Oct 2021 20:38:04 +0200 Subject: strip-private: T3926: strip cisco-authentication key (cherry picked from commit ac4292154ee3cbb165a75c8373d0b559c4027b51) --- scripts/vyos-strip-config.pl | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3