mirror of
https://github.com/vgough/encfs.git
synced 2024-11-29 11:23:52 +01:00
9feb263dea
Example Results
* Seagate Barracuda 7200.9, model ST3250824AS
* Linux 3.16.3
* EncFS 1c5c75c44f
Test | EncFS | eCryptfs | EncFS advantage
----------------|--------------|--------------|----------------
stream_write | 32 MiB/s | 38 MiB/s | 0.84
extract | 28744 ms | 30027 ms | 1.04
du | 495 MB | 784 MB | 1.58
rsync | 3319 ms | 62486 ms | 18.83
delete | 6462 ms | 74652 ms | 11.55
(eCryptfs is very slow for stat() on a classical HDD)
23 lines
546 B
Plaintext
23 lines
546 B
Plaintext
#!/bin/expect -f
|
|
|
|
# Passed by controlling process via "-c"
|
|
#spawn mount -t ecryptfs ecryptfs_ciphertext ecryptfs_plaintext
|
|
|
|
expect "Selection: "
|
|
send "1\n"
|
|
expect "Passphrase: "
|
|
send "test\n"
|
|
expect "Selection \\\[aes\\\]: "
|
|
send "aes\n"
|
|
expect "Selection \\\[16\\\]: "
|
|
send "16\n"
|
|
expect "Enable plaintext passthrough (y/n) \\\[n\\\]: "
|
|
send "n\n"
|
|
expect "Enable filename encryption (y/n) \\\[n\\\]: "
|
|
send "y\n"
|
|
# Filename Encryption Key (FNEK) Signature [d395309aaad4de06]:
|
|
expect "\\\]: "
|
|
send "\n"
|
|
expect "Mounted eCryptfs"
|
|
send_user "\n"
|