From ef1925571410a8bb862335ff29dee2d478490f78 Mon Sep 17 00:00:00 2001 From: Joshua Kroll Date: Fri, 6 May 2016 23:28:21 -0700 Subject: [PATCH] Copy predicate when re-encrypting. Fixes #143. --- core/core.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/core.go b/core/core.go index 9f2d9ef..855475a 100644 --- a/core/core.go +++ b/core/core.go @@ -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)