https://www.howtoforge.com/tutorial/enc ... 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.
encfs
Antivirus, forensics, intrusion detection, cryptography, etc.
Message
Author
Jump to
- House Training
- ↳ Beginners Help ( Start Here)
- ↳ Users ( For the regulars )
- ↳ Für deutschsprachige Anhänger
- ↳ Pour les francophones
- ↳ Usuarios de habla Hispana
- ↳ HOWTO ( Solutions )
- ↳ Bugs ( Submit bugs )
- Advanced Topics
- ↳ Additional Software (PETs, n' stuff)
- ↳ Package Collections / Repositories
- ↳ REQUESTS
- ↳ Browsers and Internet
- ↳ Business
- ↳ Compiling
- ↳ Desktop
- ↳ Documents
- ↳ Drivers
- ↳ Educational
- ↳ Engineering/Science/Simulation
- ↳ Eye Candy
- ↳ Filesystem
- ↳ Games
- ↳ Graphics
- ↳ Multimedia
- ↳ Network
- ↳ Security/Privacy
- ↳ System
- ↳ Utilities
- ↳ Virtualization
- ↳ Unsorted
- ↳ Cutting edge
- ↳ Multi-session live-CD/DVD
- ↳ Hardware
- ↳ Audio
- ↳ Networking
- ↳ Dialup
- ↳ Ethernet
- ↳ Wireless
- ↳ Printers
- ↳ Video
- ↳ Puppy Derivatives
- ↳ Puppy Projects
- ↳ Next Puppy Development
- ↳ 4.x
- ↳ Bugs (4.x dev)
- ↳ Usability Issues (4.x dev)
- ↳ 5.x
- ↳ Bugs (5.x dev)
- ↳ Usability Issues (5.x dev)
- ↳ Localization Project
- ↳ Documentation Project
- Taking the Puppy out for a walk
- ↳ Announcements
- ↳ Puppy Power
- ↳ Suggestions
- ↳ Misc
- Off-Topic Area
- ↳ Programming
- ↳ Security
- ↳ Truly off-topic conversations
- ↳ Spam reports