mirror of
https://github.com/cloudflare/redoctober.git
synced 2026-01-05 13:07:10 +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,
|
Names: s.Owners,
|
||||||
LeftNames: s.LeftOwners,
|
LeftNames: s.LeftOwners,
|
||||||
RightNames: s.RightOwners,
|
RightNames: s.RightOwners,
|
||||||
|
Predicate: s.Predicate,
|
||||||
}
|
}
|
||||||
|
|
||||||
resp, err := crypt.Encrypt(data, s.Labels, access)
|
resp, err := crypt.Encrypt(data, s.Labels, access)
|
||||||
|
|||||||
Reference in New Issue
Block a user