I seem to have a very basic issue. I am running OpenSuse 10.2 and am using the OpenSSL key module. I can mount an ecryptfs in overlay mode, create a new file and read it back. However, if I umount the file and remount it, using exactly the same options, the new file is not properly decrypted. I would expect that I can read the file again. Am I missing something?
eng-1:~ # mount -t ecryptfs -o key=openssl:keyfile=/root/.ecryptfs/pki/ openssl/key.pem /secret /secret Passphrase: Cipher 1) Blowfish 2) CAST5 3) CAST6 4) Triple-DES Selection [Blowfish]: 4 Enable plaintext passthrough (y/n): y Attempting to mount with the following options: ecryptfs_passthrough ecryptfs_cipher=des3_ede ecryptfs_key_bytes=24 ecryptfs_sig=2cd3f104ecab25e4 Mounted eCryptfs eng-1:~ # eng-1:~ # eng-1:~ # eng-1:~ # date > /secret/date eng-1:~ # cat /secret/date Fri Feb 29 14:49:22 PST 2008 eng-1:~ # eng-1:~ # eng-1:~ # umount /secret eng-1:~ # eng-1:~ # mount -t ecryptfs -o key=openssl:keyfile=/root/.ecryptfs/pki/ openssl/key.pem /secret /secret Passphrase: Cipher 1) Blowfish 2) CAST5 3) CAST6 4) Triple-DES Selection [Blowfish]: 4 Enable plaintext passthrough (y/n): y Attempting to mount with the following options: ecryptfs_passthrough ecryptfs_cipher=des3_ede ecryptfs_key_bytes=24 ecryptfs_sig=2cd3f104ecab25e4 Mounted eCryptfs eng-1:~ # cat /secret/date ??? k???r??|9q?r??|9q?r??|9eng-1:~ # eng-1:~ # Thanks in advance. Mike Davis ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ eCryptfs-users mailing list eCryptfs-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecryptfs-users