I want to encrypt and password protect hidden directory and its components (.folder/something/some/) using a secondary password (not login password). I have downloaded Cryptkeeper but i didnt find an option to password protect hidden directory
2 Answers
First of all, Cryptkeeper does what you want, you only have to dive on how to use it for hidden folders as detailed for example here.
Otherwise, you can use this:
- Press Ctrl + Alt + T
- Run
sudo apt-get install ecryptfs-utils
- Then
ecryptfs-setup-private
- Finally:
ecryptfs-unwrap-passphrase
Create a folder for your private data and protect it with a passphrase which is different from your login password.
Also, if you do not need additional software, you can fulfill what you ask using your login password however by playing with file permissions:
chmod -v 700 /path/to/your/hidden/directory
An other secured and effective method is available on Ubuntu documentation.
-
How to find the hidden directories. See the image (from your link) we cant find hidden directories in home directory Jul 8, 2015 at 6:13
Have you tried using the application mentioned in https://help.ubuntu.com/community/EncryptedPrivateDirectory .
In case encfs is what you're looking for:
Create a hidden directory (this is the encrypted storage) and mount it's content to another directory.
$ encfs ~/.hidden_encrypted ~/hidden_contents
After adding adding the contents to ~/hidden_contents you can unmount it using
$ fusermount -u ~/hiddent_contents
To remount ~/.hidden_encrypted repeat step 1.
-
you meant this method askubuntu.com/a/105002 , but sadly it requires our login password which i dont want to do Jul 8, 2015 at 5:51
-
Ok, I didn't know that. If it's OK to create an archive of the directory then maybe you could encrypt the folder using GPG?– RazGoJul 8, 2015 at 5:57
-
archive means to convert hidden folder to a tar file then password protect it right? that also doesn’t work for me Jul 8, 2015 at 6:02
-