0

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 2

1

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.

1
  • How to find the hidden directories. See the image (from your link) we cant find hidden directories in home directory
    – potholiday
    Jul 8, 2015 at 6:13
0

Have you tried using the application mentioned in https://help.ubuntu.com/community/EncryptedPrivateDirectory .


In case encfs is what you're looking for:

  1. Create a hidden directory (this is the encrypted storage) and mount it's content to another directory.

    $ encfs ~/.hidden_encrypted ~/hidden_contents

  2. After adding adding the contents to ~/hidden_contents you can unmount it using

    $ fusermount -u ~/hiddent_contents

  3. To remount ~/.hidden_encrypted repeat step 1.

4
  • you meant this method askubuntu.com/a/105002 , but sadly it requires our login password which i dont want to do
    – potholiday
    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?
    – RazGo
    Jul 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
    – potholiday
    Jul 8, 2015 at 6:02
  • Maybe encfs is what you're looking for?
    – RazGo
    Jul 8, 2015 at 6:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .