Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 24 May 2017, 17:57
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Security/Privacy
encfs
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
labbe5

Joined: 13 Nov 2013
Posts: 755
Location: Canada

PostPosted: Sat 25 Feb 2017, 14:33    Post subject:  encfs
Subject description: encrypting files with a few command lines
 

https://www.howtoforge.com/tutorial/encrypt-your-data-with-encfs-on-ubuntu/

If you have some files to encrypt, encfs can help you do just that. Even beginners can do it with a few command lines.

Using Mintpup, or Debiandog, or Xenialdog, you can easily install encfs (sudo apt -y install encfs)
-y= yes for all prompts

Then, you create the directories encrypted and decrypted in your home directory :

mkdir -p ~/encrypted
mkdir -p ~/decrypted

Then, to mount ~/encrypted to ~/decrypted, simply run :

encfs ~/encrypted ~/decrypted

If you run this command for the first time, the EncFS setup is started, and you must define a password for the encrypted volume.

enter "p" for pre-configured paranoia mode

If you do mount, you will see a line (with your own user ID) : encfs on /home/falko/decrypted type fuse.encfs (rw,nosuid,nodev,relatime,user_id=1001,group_id=1001)

Following the mount command, do this to check your setup :

df -h

(your folder will be with a different name and size) encfs 27G 1.7G 24G 7% /home/falko/decrypted

Then, to save your data in encrypted form, put your data into the decrypted directory, just as you would do with a normal directory.

At this time in the process, you have both encrypted and decrypted files in your two newly created folders.

To unmount the encrypted volume, run :

fusermount -u ~/decrypted

You can check the outputs with mount and df -h, and you will see that the EncFS volume isn't listed anymore.

To mount it again, run :

encfs ~/encrypted ~/decrypted

You need your newly created password to mount the EncFS volume.

As a result, you have two folders, an empty decrypted folder and an encrypted one, until your mount your EncFS volume again, then your files are available again in decrypted folder.

Passwords can be stored in such a volume, mounted and unmounted at will, as well as other sensitive information.

Information on how to setup EncFS is part of the website link above.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Security/Privacy
Jump to:  

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
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0321s ][ Queries: 13 (0.0039s) ][ GZIP on ]