fix: multiple user keys in secrets
We were not loading all the user keys, only the first one.
This commit is contained in:
committed by
Michael Hoang
parent
1bfe318865
commit
e281b689df
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user