From d5f89f8fcc5172be183fb02b802fa23ed3e9f8fa Mon Sep 17 00:00:00 2001 From: "Joe Richey joerichey@google.com" Date: Thu, 8 Jun 2017 10:41:55 -0700 Subject: metadata: change encryption mode names As new encryption modes are being added to the kernel that use 128 bit keys (see https://patchwork.kernel.org/patch/9741913), we will need the encryption modes to be more descriptive. This change breaks backwards compatibility for the protobuf, but that's fine because we have not released yet. Change-Id: Ifb58d3d5a42db491f1e5393c12f3d260d9a091de --- filesystem/filesystem_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filesystem/filesystem_test.go') diff --git a/filesystem/filesystem_test.go b/filesystem/filesystem_test.go index 887b41e..33ab10b 100644 --- a/filesystem/filesystem_test.go +++ b/filesystem/filesystem_test.go @@ -173,7 +173,7 @@ func TestAddPolicy(t *testing.T) { if mnt.AddPolicy(policy) == nil { t.Error("encryption mode not set should make metadata invalid") } - policy.Options.Filenames = EncryptionOptions_CTS + policy.Options.Filenames = EncryptionOptions_AES_256_CTS // Use a bad wrapped key policy.WrappedPolicyKeys[0].WrappedKey = wrappedProtectorKey -- cgit v1.2.3