aboutsummaryrefslogtreecommitdiff
path: root/tests/hkdf_sanity/broken_content
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-03-18 16:48:58 +0100
committerJakob Unterwurzacher2017-03-18 16:48:58 +0100
commitf1dbd19fe9f277430f4edc1501f4fb5dd8f745b1 (patch)
tree66006704ed99b2fc53b62c6684c0f41d4177c030 /tests/hkdf_sanity/broken_content
parentcb47f65212801fbdd999674e549921d8cf23f2f2 (diff)
tests: add hkdf_sanity tests with broken example filesystemv1.3-beta1
These are deliberately corrupt.
Diffstat (limited to 'tests/hkdf_sanity/broken_content')
-rw-r--r--tests/hkdf_sanity/broken_content/gocryptfs.conf17
-rw-r--r--tests/hkdf_sanity/broken_content/status.txtbin0 -> 60 bytes
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/hkdf_sanity/broken_content/gocryptfs.conf b/tests/hkdf_sanity/broken_content/gocryptfs.conf
new file mode 100644
index 0000000..205f3ad
--- /dev/null
+++ b/tests/hkdf_sanity/broken_content/gocryptfs.conf
@@ -0,0 +1,17 @@
+{
+ "Creator": "gocryptfs v1.2.1-32-g14038a1-dirty",
+ "EncryptedKey": "b3888jnQC5GYem+YGtUkOTS13/YCOfA6J0/bkftfEoNA9fZTN2xMGw4c+LK+emg4L6P2wGvm44RUqCfFfgowxw==",
+ "ScryptObject": {
+ "Salt": "7YnR8bF7TzYNP5mIwmpQ1qj4e/QZkbH92Hx7YQctIZQ=",
+ "N": 1024,
+ "R": 8,
+ "P": 1,
+ "KeyLen": 32
+ },
+ "Version": 2,
+ "FeatureFlags": [
+ "GCMIV128",
+ "HKDF",
+ "PlaintextNames"
+ ]
+}
diff --git a/tests/hkdf_sanity/broken_content/status.txt b/tests/hkdf_sanity/broken_content/status.txt
new file mode 100644
index 0000000..30d42f7
--- /dev/null
+++ b/tests/hkdf_sanity/broken_content/status.txt
Binary files differ