eCryptfs With Mount Command Has Passphrase Cache?
0
votes
1
answer
278
views
Guys help me understand this!
I'm using **eCryptfs** with
mount
command to encrypt a single folder. In first time for setup the volume I run:
mount --types ecryptfs /path/to/.private /path/to/.private
So I choose the options.
For second time or any other after setup I run:
mount --types ecryptfs --options key=passphrase,ecryptfs_key_bytes=,ecryptfs_cipher=,ecryptfs_passthrough=no /path/to/.private /path/to/.private
So, when I do this steps directly in **command line** and I type a wrong password the volume are mounted but your content stay encrypted, works as expected but, when I put this steps inside a script even though I type a wrong password the content of volume are decrypted!
The **eCryptfs** has some cache for the passphrase? It some that I'm not knowledg?
PS: sorry for my english, I'm learning yet :)
Asked by rhuanpk
(413 rep)
Dec 7, 2023, 04:48 AM
Last activity: Dec 21, 2023, 07:18 AM
Last activity: Dec 21, 2023, 07:18 AM