tests: add v1.3 example filesystem

This filesystem has both HKDF and Raw64 enabled.
This commit is contained in:
Jakob Unterwurzacher 2017-03-05 23:06:40 +01:00
parent a8fd8a2516
commit b7538fc026
8 changed files with 45 additions and 0 deletions

View File

@ -226,3 +226,24 @@ func TestExampleFSv11reversePlaintextnames(t *testing.T) {
test_helpers.UnmountPanic(dirC)
test_helpers.UnmountPanic(dirB)
}
// gocryptfs v1.3 introduced HKDF
func TestExampleFSv13(t *testing.T) {
cDir := "v1.3"
pDir := test_helpers.TmpDir + "/" + cDir
err := os.Mkdir(pDir, 0777)
if err != nil {
t.Fatal(err)
}
test_helpers.MountOrFatal(t, cDir, pDir, "-extpass", "echo test", opensslOpt)
checkExampleFSLongnames(t, pDir)
test_helpers.UnmountPanic(pDir)
/*
pDir = pDir + ".2"
test_helpers.MountOrFatal(t, cDir, pDir, "-masterkey",
"eaf371c3-f9a55336-8819f22b-7bccd7c2-a738cf61-7261c658-14c28a03-9428992b",
"-aessiv", opensslOpt)
checkExampleFSLongnames(t, pDir)
test_helpers.UnmountPanic(pDir)
*/
}

Binary file not shown.

View File

@ -0,0 +1 @@
UwLqHBQ8wn2TtxECb7D44WoT_zsk4y_OUjBhrboYjVwc_st8tPX0jg

View File

@ -0,0 +1 @@
6MMwNmTI01yd9FmF60rt-AYDd9hr_-aZSICYKhxAhGaoYZUQiVraaRip

View File

@ -0,0 +1,20 @@
{
"Creator": "gocryptfs v1.2.1-17-g5b54577-dirty",
"EncryptedKey": "dfneWTRGfme/SnCcuBmQ4WBbcU3V2HvZKpp6JMafFYEvrfs6+8QQM6iY1zAuctKvAp//IcfGFmNS2YYG+xkfEA==",
"ScryptObject": {
"Salt": "fHYTB0o+D9sTm2sIpNih1maN3SdGfM08al3WBhVNQ78=",
"N": 1024,
"R": 8,
"P": 1,
"KeyLen": 32
},
"Version": 2,
"FeatureFlags": [
"GCMIV128",
"DirIV",
"EMENames",
"LongNames",
"Raw64",
"HKDF"
]
}

View File

@ -0,0 +1 @@
;1c┴║ЭbЗ В┘G"w

View File

@ -0,0 +1 @@
oGplYtEMq6lIULihgghjAqWgwYd9E0oZ0PmYoSiGRAjjjQr3YpMWKEkC9zTnLPF1w8DuERO43QBD6LCqhsjuxeAmkZovYDbTS0O4plCWufTLpgxMuLJb_hu_vsi9vex8CmKDzcbGrkgzCuyVDjYb6hCuqxpxAXsgQlqgCkWg2e4N_O2UWvoBpz4rmvnvxr7mpIo6SBkBsSJGluRswsg__aqGa-heLn4hwTPapt8Xk441ka_mPwC9gnUHVgJJ6H9gg5TEi883PuG0S9OC5h_9ZcgHVjyxw7xg4CUpEeKpoGpqvkRHNqO4jvTXewNBevQ4JBhT0lRrxdSwa5DWu_G7jw