reformat after update

This commit is contained in:
Jörg Thalheim
2025-01-14 15:30:29 +01:00
parent 0ef777b3c2
commit 3bcbc8fa3d
17 changed files with 37 additions and 35 deletions

View File

@@ -141,7 +141,7 @@ class SecretStore(StoreBase):
# TODO get the path to the secrets from the machine
[
"cat",
f"{self.machine.deployment["password-store"]["secretLocation"]}/.pass_info",
f"{self.machine.deployment['password-store']['secretLocation']}/.pass_info",
],
RunOpts(log=Log.STDERR, check=False),
).stdout.strip()

View File

@@ -238,7 +238,7 @@ class SecretStore(StoreBase):
msg = (
f"One or more recipient keys were added to secret{' shared' if generator.share else ''} var '{var_id}', but it was never re-encrypted.\n"
f"This could have been a malicious actor trying to add their keys, please investigate.\n"
f"Added keys: {', '.join(f"{r.key_type.name}:{r.pubkey}" for r in recipients_to_add)}\n"
f"Added keys: {', '.join(f'{r.key_type.name}:{r.pubkey}' for r in recipients_to_add)}\n"
f"If this is intended, run 'clan vars fix' to re-encrypt the secret."
)
return needs_update, msg