tests: add v1.1-aessiv example filesystem
Also move the example content into "content".
This commit is contained in:
parent
e47577834b
commit
3c2c3453ad
1
tests/example_filesystems/content/status.txt
Normal file
1
tests/example_filesystems/content/status.txt
Normal file
@ -0,0 +1 @@
|
||||
It works!
|
@ -138,3 +138,22 @@ func TestExampleFSv09(t *testing.T) {
|
||||
checkExampleFSLongnames(t, pDir)
|
||||
test_helpers.UnmountPanic(pDir)
|
||||
}
|
||||
|
||||
// gocryptfs v1.1 introduced AES-SIV
|
||||
func TestExampleFSv11(t *testing.T) {
|
||||
cDir := "v1.1-aessiv"
|
||||
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",
|
||||
"be505f7d-54871394-2c0c2481-1bdcd0d8-9113b08a-0f7b4dfc-851c96da-55ef36b5",
|
||||
"-aessiv", opensslOpt)
|
||||
checkExampleFSLongnames(t, pDir)
|
||||
test_helpers.UnmountPanic(pDir)
|
||||
}
|
||||
|
BIN
tests/example_filesystems/v1.1-aessiv/MA0FDdmnXpmPJtS_AcAbqQ==
Normal file
BIN
tests/example_filesystems/v1.1-aessiv/MA0FDdmnXpmPJtS_AcAbqQ==
Normal file
Binary file not shown.
1
tests/example_filesystems/v1.1-aessiv/Sjl6QXHm2IjuKwaKgJ5jig==
Symbolic link
1
tests/example_filesystems/v1.1-aessiv/Sjl6QXHm2IjuKwaKgJ5jig==
Symbolic link
@ -0,0 +1 @@
|
||||
ozeZ1xXCP-Q904JCvkPk40enJd5zVL6FqBugkS6Y4tfcii_G1DOdDQ==
|
19
tests/example_filesystems/v1.1-aessiv/gocryptfs.conf
Normal file
19
tests/example_filesystems/v1.1-aessiv/gocryptfs.conf
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"Creator": "gocryptfs v1.1-beta1-33-gf054353-dirty",
|
||||
"EncryptedKey": "y2ldEXg3Ui0jwic99bqvvrvGRPRDB7gYzvOBwZxcmWqRgcp3BLMShhIXwx3Pewmst5TivqSrK2r9wUIL",
|
||||
"ScryptObject": {
|
||||
"Salt": "oEt1In6W5UD1Pe9CFSz21x5ptTRluU43mmshUtmSwAk=",
|
||||
"N": 1024,
|
||||
"R": 8,
|
||||
"P": 1,
|
||||
"KeyLen": 32
|
||||
},
|
||||
"Version": 2,
|
||||
"FeatureFlags": [
|
||||
"GCMIV128",
|
||||
"DirIV",
|
||||
"EMENames",
|
||||
"LongNames",
|
||||
"AESSIV"
|
||||
]
|
||||
}
|
1
tests/example_filesystems/v1.1-aessiv/gocryptfs.diriv
Normal file
1
tests/example_filesystems/v1.1-aessiv/gocryptfs.diriv
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>qy<>@<40><15>0<EFBFBD>kY<6B>]
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
8S9oaCrWGfWIF0_DTQsRvNARW78Vl5HcEYPZOwh3susDIHIbs8JiAF19oqWQz5HN1gpH2213kWqE4m1H1jVKslRHxSPxkQ5sDyaIm4PBZZg5-5djCYoQDLObvrgQv9HsN_NDb2rV8bmmH9SFArJ2SSKX5JdbMcraGr9Rj1AE89-9jIS0VTfKvpA_UgZEdR6IJ7V8VnD3eNo4KsBzJiL4G5wlpxvDLTy7mm7lxK_erV5gzKVHZGIz9Z-ehF--duIfY3x_h2hDNdocIKQltOEcxryHtcUqzcuFB_XkjW6BOTOYINHvLLA8CkLNSOXxLAqoeeu-8GwTgIDKrKhGnTTzgQ==
|
1
tests/example_filesystems/v1.1-aessiv/jCGXyJJqu4sdxRLsDQNEtA==
Symbolic link
1
tests/example_filesystems/v1.1-aessiv/jCGXyJJqu4sdxRLsDQNEtA==
Symbolic link
@ -0,0 +1 @@
|
||||
GMqHOo4BNUhfLc-Vqi_R6J76C-OQhHLVgsBl5j9t-XFoq97KNlcuC1Vd
|
Loading…
Reference in New Issue
Block a user