aboutsummaryrefslogtreecommitdiff
path: root/tests/hkdf_sanity/broken_names
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_names
parentcb47f65212801fbdd999674e549921d8cf23f2f2 (diff)
tests: add hkdf_sanity tests with broken example filesystemv1.3-beta1
These are deliberately corrupt.
Diffstat (limited to 'tests/hkdf_sanity/broken_names')
-rw-r--r--tests/hkdf_sanity/broken_names/L3yg-cJYAInDGg4TcjXrnwbin0 -> 60 bytes
-rw-r--r--tests/hkdf_sanity/broken_names/gocryptfs.conf20
-rw-r--r--tests/hkdf_sanity/broken_names/gocryptfs.diriv1
3 files changed, 21 insertions, 0 deletions
diff --git a/tests/hkdf_sanity/broken_names/L3yg-cJYAInDGg4TcjXrnw b/tests/hkdf_sanity/broken_names/L3yg-cJYAInDGg4TcjXrnw
new file mode 100644
index 0000000..7ba2789
--- /dev/null
+++ b/tests/hkdf_sanity/broken_names/L3yg-cJYAInDGg4TcjXrnw
Binary files differ
diff --git a/tests/hkdf_sanity/broken_names/gocryptfs.conf b/tests/hkdf_sanity/broken_names/gocryptfs.conf
new file mode 100644
index 0000000..f0b1509
--- /dev/null
+++ b/tests/hkdf_sanity/broken_names/gocryptfs.conf
@@ -0,0 +1,20 @@
+{
+ "Creator": "gocryptfs v1.2.1-32-g14038a1-dirty",
+ "EncryptedKey": "0ymk/BtKEN1KmRLMquLinLIzXDaf+GLuP2f9R4VbLOglim9nXd5WxkCFl0DQg0J2FtCEke9MQBaCfL5OTJdR4g==",
+ "ScryptObject": {
+ "Salt": "tCrF2o5GoOyQt0LAlCWk47hyJsF5K6ID9uPzjTSBbh8=",
+ "N": 1024,
+ "R": 8,
+ "P": 1,
+ "KeyLen": 32
+ },
+ "Version": 2,
+ "FeatureFlags": [
+ "GCMIV128",
+ "HKDF",
+ "DirIV",
+ "EMENames",
+ "LongNames",
+ "Raw64"
+ ]
+}
diff --git a/tests/hkdf_sanity/broken_names/gocryptfs.diriv b/tests/hkdf_sanity/broken_names/gocryptfs.diriv
new file mode 100644
index 0000000..24f3d28
--- /dev/null
+++ b/tests/hkdf_sanity/broken_names/gocryptfs.diriv
@@ -0,0 +1 @@
+%Cx(E!dц \ No newline at end of file