From 30a8fda0a1d69dc9019e35a3da5bb8434ca9dbc0 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Fri, 4 Jan 2019 19:02:36 +0100 Subject: xray: add tests and example aes-gcm fs The single test compares the gocryptfs-xray output with the expected output. --- .../xray_tests/aesgcm_fs/fRtDWUFQK9vDAtAJrTbbWg | Bin 0 -> 5082 bytes gocryptfs-xray/xray_tests/aesgcm_fs/gocryptfs.conf | 20 ++++++++++++++++++++ gocryptfs-xray/xray_tests/aesgcm_fs/gocryptfs.diriv | 1 + 3 files changed, 21 insertions(+) create mode 100644 gocryptfs-xray/xray_tests/aesgcm_fs/fRtDWUFQK9vDAtAJrTbbWg create mode 100644 gocryptfs-xray/xray_tests/aesgcm_fs/gocryptfs.conf create mode 100644 gocryptfs-xray/xray_tests/aesgcm_fs/gocryptfs.diriv (limited to 'gocryptfs-xray/xray_tests/aesgcm_fs') diff --git a/gocryptfs-xray/xray_tests/aesgcm_fs/fRtDWUFQK9vDAtAJrTbbWg b/gocryptfs-xray/xray_tests/aesgcm_fs/fRtDWUFQK9vDAtAJrTbbWg new file mode 100644 index 0000000..9021496 Binary files /dev/null and b/gocryptfs-xray/xray_tests/aesgcm_fs/fRtDWUFQK9vDAtAJrTbbWg differ diff --git a/gocryptfs-xray/xray_tests/aesgcm_fs/gocryptfs.conf b/gocryptfs-xray/xray_tests/aesgcm_fs/gocryptfs.conf new file mode 100644 index 0000000..9963e2d --- /dev/null +++ b/gocryptfs-xray/xray_tests/aesgcm_fs/gocryptfs.conf @@ -0,0 +1,20 @@ +{ + "Creator": "gocryptfs v1.7-beta1-7-g6b94f5e", + "EncryptedKey": "mHLMC8208CamUCy6lpX8BtQ0h93dmhUycXAJRPYJI5d8vHvlS7hVgWOuAIf1wQEWQ2veEo9GBe3rmfmTnGzSvA==", + "ScryptObject": { + "Salt": "0yHaO65zMQgn9izBA3HlcLkX0KdI3PGBc4799TRVQYo=", + "N": 65536, + "R": 8, + "P": 1, + "KeyLen": 32 + }, + "Version": 2, + "FeatureFlags": [ + "GCMIV128", + "HKDF", + "DirIV", + "EMENames", + "LongNames", + "Raw64" + ] +} diff --git a/gocryptfs-xray/xray_tests/aesgcm_fs/gocryptfs.diriv b/gocryptfs-xray/xray_tests/aesgcm_fs/gocryptfs.diriv new file mode 100644 index 0000000..205ed2f --- /dev/null +++ b/gocryptfs-xray/xray_tests/aesgcm_fs/gocryptfs.diriv @@ -0,0 +1 @@ +Ów5Ó44¦R#òTÃ^• \ No newline at end of file -- cgit v1.2.3