diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-10-21 20:40:51 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-10-21 20:40:51 +0200 |
commit | 20a2fd22f4657b60e02485cd9137bfc068fb44f9 (patch) | |
tree | 099282b164e4c5e87aa215efafecd1d87a729e3d /src/helpers | |
parent | 71e793d92faefcb589d3090b8af8d3e77e06b023 (diff) | |
download | vyos-1x-20a2fd22f4657b60e02485cd9137bfc068fb44f9.tar.gz vyos-1x-20a2fd22f4657b60e02485cd9137bfc068fb44f9.zip |
strip-private: T3926: strip cisco-authentication key
Diffstat (limited to 'src/helpers')
-rwxr-xr-x | src/helpers/strip-private.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/strip-private.py b/src/helpers/strip-private.py index c74a379aa..e4e1fe11d 100755 --- a/src/helpers/strip-private.py +++ b/src/helpers/strip-private.py @@ -106,6 +106,7 @@ if __name__ == "__main__": stripping_rules = [ # Strip passwords (True, re.compile(r'password \S+'), 'password xxxxxx'), + (True, re.compile(r'cisco-authentication \S+'), 'cisco-authentication xxxxxx'), # Strip public key information (True, re.compile(r'public-keys \S+'), 'public-keys xxxx@xxx.xxx'), (True, re.compile(r'type \'ssh-(rsa|dss)\''), 'type ssh-xxx'), |