From f1dbd19fe9f277430f4edc1501f4fb5dd8f745b1 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sat, 18 Mar 2017 16:48:58 +0100 Subject: tests: add hkdf_sanity tests with broken example filesystem These are deliberately corrupt. --- tests/hkdf_sanity/broken_content/gocryptfs.conf | 17 +++++++++++++++++ tests/hkdf_sanity/broken_content/status.txt | Bin 0 -> 60 bytes 2 files changed, 17 insertions(+) create mode 100644 tests/hkdf_sanity/broken_content/gocryptfs.conf create mode 100644 tests/hkdf_sanity/broken_content/status.txt (limited to 'tests/hkdf_sanity/broken_content') 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 Binary files /dev/null and b/tests/hkdf_sanity/broken_content/status.txt differ -- cgit v1.2.3