mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Capture PASSPHRASE
See https://github.com/YunoHost-Apps/borg_ynh/issues/87
This commit is contained in:
parent
a97fce05ee
commit
dbe5e51ef1
1 changed files with 1 additions and 0 deletions
|
@ -417,6 +417,7 @@ class RedactingFormatter(Formatter):
|
||||||
match = re.search(
|
match = re.search(
|
||||||
r"(pwd|pass|password|passphrase|secret\w*|\w+key|token)=(\S{3,})$",
|
r"(pwd|pass|password|passphrase|secret\w*|\w+key|token)=(\S{3,})$",
|
||||||
record.strip(),
|
record.strip(),
|
||||||
|
re.IGNORECASE
|
||||||
)
|
)
|
||||||
if (
|
if (
|
||||||
match
|
match
|
||||||
|
|
Loading…
Add table
Reference in a new issue