mirror of
https://github.com/cloudflare/redoctober.git
synced 2026-01-04 12:14:21 +00:00
Copy predicate when re-encrypting. Fixes #143.
This commit is contained in:
@@ -580,6 +580,7 @@ func ReEncrypt(jsonIn []byte) ([]byte, error) {
|
||||
Names: s.Owners,
|
||||
LeftNames: s.LeftOwners,
|
||||
RightNames: s.RightOwners,
|
||||
Predicate: s.Predicate,
|
||||
}
|
||||
|
||||
resp, err := crypt.Encrypt(data, s.Labels, access)
|
||||
|
||||
Reference in New Issue
Block a user