fix: multiple user keys in secrets

We were not loading all the user keys, only the first one.
This commit is contained in:
Brian McGee
2025-04-18 17:05:47 +01:00
committed by Michael Hoang
parent 1bfe318865
commit e281b689df
4 changed files with 106 additions and 56 deletions

View File

@@ -201,7 +201,7 @@ def encrypt_secret(
recipient_keys = collect_keys_for_path(secret_path)
if not admin_keys.intersection(recipient_keys):
if admin_keys not in recipient_keys:
recipient_keys.update(admin_keys)
files_to_commit.extend(