diff options
author | Jakob Unterwurzacher | 2015-11-03 21:06:52 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-11-03 21:09:58 +0100 |
commit | 988e0a047c01b2f59c4e059876bfb2122981d605 (patch) | |
tree | 41a38ec1e985bace5b7900f33ffb89ebc1d796b0 /cryptfs/config_test | |
parent | 3e367b29b0d68b26c606231310e053ef9c8c48a9 (diff) |
tests: add config file and feature flags tests
Diffstat (limited to 'cryptfs/config_test')
-rw-r--r-- | cryptfs/config_test/.gitignore | 1 | ||||
-rw-r--r-- | cryptfs/config_test/PlaintextNames.conf | 14 | ||||
-rw-r--r-- | cryptfs/config_test/StrangeFeature.conf | 14 | ||||
-rw-r--r-- | cryptfs/config_test/v1.conf | 11 | ||||
-rw-r--r-- | cryptfs/config_test/v2.conf | 11 |
5 files changed, 51 insertions, 0 deletions
diff --git a/cryptfs/config_test/.gitignore b/cryptfs/config_test/.gitignore new file mode 100644 index 0000000..0720169 --- /dev/null +++ b/cryptfs/config_test/.gitignore @@ -0,0 +1 @@ +tmp.conf diff --git a/cryptfs/config_test/PlaintextNames.conf b/cryptfs/config_test/PlaintextNames.conf new file mode 100644 index 0000000..c1ff8cc --- /dev/null +++ b/cryptfs/config_test/PlaintextNames.conf @@ -0,0 +1,14 @@ +{ + "EncryptedKey": "rG4u0argMq02V5G9Fa+gAaaHtNrj3wn7OZjP44hWOzO4yBFtn+Qn3PW4V6LMuKmGLEhyktCyWOI3K8lj", + "ScryptObject": { + "Salt": "bRjq1V63u5ML3FoTWx/GBXUhUVpTunOX3DPxS+yPjg0=", + "N": 65536, + "R": 8, + "P": 1, + "KeyLen": 32 + }, + "Version": 2, + "FeatureFlags": [ + "PlaintextNames" + ] +} diff --git a/cryptfs/config_test/StrangeFeature.conf b/cryptfs/config_test/StrangeFeature.conf new file mode 100644 index 0000000..6a97781 --- /dev/null +++ b/cryptfs/config_test/StrangeFeature.conf @@ -0,0 +1,14 @@ +{ + "EncryptedKey": "rG4u0argMq02V5G9Fa+gAaaHtNrj3wn7OZjP44hWOzO4yBFtn+Qn3PW4V6LMuKmGLEhyktCyWOI3K8lj", + "ScryptObject": { + "Salt": "bRjq1V63u5ML3FoTWx/GBXUhUVpTunOX3DPxS+yPjg0=", + "N": 65536, + "R": 8, + "P": 1, + "KeyLen": 32 + }, + "Version": 2, + "FeatureFlags": [ + "StrangeFeatureFlag" + ] +} diff --git a/cryptfs/config_test/v1.conf b/cryptfs/config_test/v1.conf new file mode 100644 index 0000000..588a25a --- /dev/null +++ b/cryptfs/config_test/v1.conf @@ -0,0 +1,11 @@ +{ + "EncryptedKey": "t6YAvFQJvbv46c93bHQ5IZnvNz80DA9cohGoSPL/2M257LuIigow6jbr8b9HhnbDqHTCcz7aKkMDzneF", + "ScryptObject": { + "Salt": "yT4yQmmRmVNx2P0tJrUswk5SQzZaL6Z8kUteAoNJkXM=", + "N": 65536, + "R": 8, + "P": 1, + "KeyLen": 32 + }, + "Version": 1 +} diff --git a/cryptfs/config_test/v2.conf b/cryptfs/config_test/v2.conf new file mode 100644 index 0000000..8ef3dcf --- /dev/null +++ b/cryptfs/config_test/v2.conf @@ -0,0 +1,11 @@ +{ + "EncryptedKey": "RvxJnZWKTBSU21+7xbl08xlZyNyUCkpIqlK8Z51TUrRiBhqqNPxbdk1WXMvmOf/YzZ85Xbyz+DGM+SDf", + "ScryptObject": { + "Salt": "2OrFRfdW/5SanbMXM3TMINmfMO6oYU9awG+NZ77V8E8=", + "N": 65536, + "R": 8, + "P": 1, + "KeyLen": 32 + }, + "Version": 2 +} |