pass_typer: Append .gpg suffix, instead of replacing

This commit is contained in:
Adam Goldsmith 2022-04-12 11:41:06 -04:00
parent ca7fb74daa
commit afd922caa1
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ def get_password(password_name: str) -> None:
def select_and_type(server_name: Path) -> None:
path = ("servers" / server_name).with_suffix(".gpg")
path = ("servers" / server_name).with_name(server_name.name + ".gpg")
files = chain(
PASSWORD_STORE.glob(str(path)),
PASSWORD_STORE.glob(str(path.with_name("*@" + path.name))),