pass_typer: Don't use borg encryption passphrases
This commit is contained in:
parent
d89209a1f3
commit
9fce2cc890
@ -82,7 +82,9 @@ class ServerMatch:
|
|||||||
print("Candidate globs:")
|
print("Candidate globs:")
|
||||||
for glob in self.to_globs():
|
for glob in self.to_globs():
|
||||||
print(glob)
|
print(glob)
|
||||||
yield from PASSWORD_STORE.glob(str(glob))
|
for path in PASSWORD_STORE.glob(str(glob)):
|
||||||
|
if not path.parent.match("**/borg"):
|
||||||
|
yield path
|
||||||
|
|
||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
folder = self.folder if self.folder is not None else '**'
|
folder = self.folder if self.folder is not None else '**'
|
||||||
|
Loading…
Reference in New Issue
Block a user