Peppermint | Linux OS Community Forum
 
It is currently Wed Aug 15, 2018 3:31 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How to create an encrypted password protected folder
PostPosted: Fri Aug 23, 2013 3:51 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Let's say your Laptop or Netbook is stolen, with local access your login isn't much protection and is quite easily bypassed.

An encrypted home folder is an option (and is offered during installation), but having the WHOLE home folder encrypted can make troubleshooting a lot of login issues nearly impossible, so it's not for everyone (me included).

So how would you like a password protected and encrypted FOLDER in your home folder where you can save JUST your sensitive files ?

Cryptkeeper is a Linux system tray applet that manages encrypted folders. It utilises EncFS which is a FUSE-based encrypted file system, which transparently handles encryption/decryption.

OK, first to install cryptkeeper .. open a terminal and run:
Code:
sudo apt-get install cryptkeeper

then to make cryptkeeper autostart at login, run:
Code:
mkddir -v ~/.config/autostart

(don't worry if that last command fails, it just means the directory already exists .. just carry on below)
then:
Code:
cp -v /usr/share/applications/cryptkeeper.desktop ~/.config/autostart/cryptkeeper.desktop

Now log off/on (or reboot)

You'll now see a new Cryptkeeper icon in your system tray (by the clock).

Right-click the Cryptkeeper system tray icon, and select "Preferences"

Change -

File browser: nautilus

to

File browser: pcmanfm

and click the "Close" button.

Now normal (left) click the Cryptkeeper icon and you'll be presented with a menu like this:-

Image

Select "New encrypted folder" .. and you'll be presented with this dialog:-

Image

Select your home folder in the right hand column, and enter a name for your new encrypted folder (I've called mine "Encrypted" in the above screenshot), then click the "Forward" button.

You''ll then be presented with this dialog asking for a password for the Encrypted folder

Image

Enter the password you want to use (twice) and click the "Forward" button.

That's it .. you're done :)

You'll now find a folder (in your home folder) called whatever name you chose .. it will appear to work as any other folder (encryption/decryption will be totally transparent)

BUT

When you reboot, that folder won't even by visible in your home directory until you click the system tray icon and select the folder
(shown as the top option here):-

Image

then enter the password you chose when prompted.

Only then does the encrypted folder appear.

Any data you keep in there should be safe if your PC is stolen because the thief won't have the password to access the folder .. but .. DO NOT FORGET YOUR PASSWORD ;)

If you forget your password, don't come moaning to me .. I CANNOT help you recover the data from the encrypted folder .. that's kinda the whole point ;)

=====================================================

Original (unmodified for Peppermint) source:
http://xmodulo.com/2013/08/how-to-password-protect-folder-on-linux.html

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Powered by php B.B. © 2000, 2002, 2005, 2007 php B.B. Group
Template made by DEVPPL