From 72f8915843c5308336534d90286d2199c5d8932c Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sat, 4 Jun 2016 14:57:01 +0200 Subject: tests: add v0.9 example filesystem with a 255-byte filename gocryptfs v0.9 introduced long file names, so lets add an example filesystem that has that feature flag set. Operations on long file names are tested in the regular integration tests as well. --- .../example_filesystems/v0.9/00msNUi5h5aKMX_f-4pBhA== | 1 + .../example_filesystems/v0.9/R83PhW-BBA_q4rPYD7dEMg== | Bin 0 -> 60 bytes .../example_filesystems/v0.9/gocryptfs.conf | 17 +++++++++++++++++ .../example_filesystems/v0.9/gocryptfs.diriv | 1 + ...ngname.y4J-w3LBX165Mn_pGdDRY7Gb6EgHcTrdWjME3WGu-CQ= | Bin 0 -> 60 bytes ...e.y4J-w3LBX165Mn_pGdDRY7Gb6EgHcTrdWjME3WGu-CQ=.name | 1 + .../example_filesystems/v0.9/hwE1RKIXtF8hmQMvEXSTtg== | 1 + 7 files changed, 21 insertions(+) create mode 120000 integration_tests/example_filesystems/v0.9/00msNUi5h5aKMX_f-4pBhA== create mode 100644 integration_tests/example_filesystems/v0.9/R83PhW-BBA_q4rPYD7dEMg== create mode 100644 integration_tests/example_filesystems/v0.9/gocryptfs.conf create mode 100644 integration_tests/example_filesystems/v0.9/gocryptfs.diriv create mode 100644 integration_tests/example_filesystems/v0.9/gocryptfs.longname.y4J-w3LBX165Mn_pGdDRY7Gb6EgHcTrdWjME3WGu-CQ= create mode 100644 integration_tests/example_filesystems/v0.9/gocryptfs.longname.y4J-w3LBX165Mn_pGdDRY7Gb6EgHcTrdWjME3WGu-CQ=.name create mode 120000 integration_tests/example_filesystems/v0.9/hwE1RKIXtF8hmQMvEXSTtg== (limited to 'integration_tests/example_filesystems') diff --git a/integration_tests/example_filesystems/v0.9/00msNUi5h5aKMX_f-4pBhA== b/integration_tests/example_filesystems/v0.9/00msNUi5h5aKMX_f-4pBhA== new file mode 120000 index 0000000..c717734 --- /dev/null +++ b/integration_tests/example_filesystems/v0.9/00msNUi5h5aKMX_f-4pBhA== @@ -0,0 +1 @@ +5nI119EbCRtgT8AwTDPmxCuORvbGV4xdtmqnur7KK9ufir-ALyneV7Iy \ No newline at end of file diff --git a/integration_tests/example_filesystems/v0.9/R83PhW-BBA_q4rPYD7dEMg== b/integration_tests/example_filesystems/v0.9/R83PhW-BBA_q4rPYD7dEMg== new file mode 100644 index 0000000..1bc4a81 Binary files /dev/null and b/integration_tests/example_filesystems/v0.9/R83PhW-BBA_q4rPYD7dEMg== differ diff --git a/integration_tests/example_filesystems/v0.9/gocryptfs.conf b/integration_tests/example_filesystems/v0.9/gocryptfs.conf new file mode 100644 index 0000000..4d9b089 --- /dev/null +++ b/integration_tests/example_filesystems/v0.9/gocryptfs.conf @@ -0,0 +1,17 @@ +{ + "EncryptedKey": "sAB/dsiDbFBbMr7ppsB3Fu81hVr6BBxlcfY1wZYRHlRvRV2uwRdYAACNM39CDxLBHZuNjk9UyWh87McP", + "ScryptObject": { + "Salt": "3mphl9Hmhzd6exmc8Um0jOOCgR8hAYvbzbEpTnIEMPg=", + "N": 1024, + "R": 8, + "P": 1, + "KeyLen": 32 + }, + "Version": 2, + "FeatureFlags": [ + "GCMIV128", + "DirIV", + "EMENames", + "LongNames" + ] +} \ No newline at end of file diff --git a/integration_tests/example_filesystems/v0.9/gocryptfs.diriv b/integration_tests/example_filesystems/v0.9/gocryptfs.diriv new file mode 100644 index 0000000..47d97ee --- /dev/null +++ b/integration_tests/example_filesystems/v0.9/gocryptfs.diriv @@ -0,0 +1 @@ +~HA|ԁ \ No newline at end of file diff --git a/integration_tests/example_filesystems/v0.9/gocryptfs.longname.y4J-w3LBX165Mn_pGdDRY7Gb6EgHcTrdWjME3WGu-CQ= b/integration_tests/example_filesystems/v0.9/gocryptfs.longname.y4J-w3LBX165Mn_pGdDRY7Gb6EgHcTrdWjME3WGu-CQ= new file mode 100644 index 0000000..78eb3ff Binary files /dev/null and b/integration_tests/example_filesystems/v0.9/gocryptfs.longname.y4J-w3LBX165Mn_pGdDRY7Gb6EgHcTrdWjME3WGu-CQ= differ diff --git a/integration_tests/example_filesystems/v0.9/gocryptfs.longname.y4J-w3LBX165Mn_pGdDRY7Gb6EgHcTrdWjME3WGu-CQ=.name b/integration_tests/example_filesystems/v0.9/gocryptfs.longname.y4J-w3LBX165Mn_pGdDRY7Gb6EgHcTrdWjME3WGu-CQ=.name new file mode 100644 index 0000000..535cee7 --- /dev/null +++ b/integration_tests/example_filesystems/v0.9/gocryptfs.longname.y4J-w3LBX165Mn_pGdDRY7Gb6EgHcTrdWjME3WGu-CQ=.name @@ -0,0 +1 @@ +Py7wkyXYf1YXvFvHuizOqva6WWWYEQ-JYv1rOAvWWaARLyGdQdxuW-iBf1Vwd8orZjqkcIGgnxOfuRsarXKmn4-3L2MRIZKPhhx2QRqpPRtFylEABH1KwZ_2ZZnx5cpcO8TIoeVdL6NXnRw-WrT06zTUzVRioNPRLPa0J6c8_eb5QFb4EG5wPpn-XlJSedjAw31MUNvFxKYQku_UwJF0CvvXLCozVnNM_dDNWsgBevzB8VBySbfW7XgYMRPJRlJe3Pjeues9tyGJvAxGJVjfo4nZyWusMF2G4f9w06m3Bxjc7ladgJR6F6pyI4Z65DCIL7G6G2y__agmNcKtFwCS_Q== \ No newline at end of file diff --git a/integration_tests/example_filesystems/v0.9/hwE1RKIXtF8hmQMvEXSTtg== b/integration_tests/example_filesystems/v0.9/hwE1RKIXtF8hmQMvEXSTtg== new file mode 120000 index 0000000..4190a7e --- /dev/null +++ b/integration_tests/example_filesystems/v0.9/hwE1RKIXtF8hmQMvEXSTtg== @@ -0,0 +1 @@ +XRx7Nqxt_zuPNo7h8_j1LLVzqzIZg9qAYGRN9Iuq3XBc11Y7_RoQsg== \ No newline at end of file -- cgit v1.2.3