ECryptfs: Difference between revisions

From DrewWiki
Jump to navigation Jump to search
No edit summary
(fix syntax for ECryptfs)
 
Line 1: Line 1:
==ecryptfs==
==ecryptfs==
<pre>sudo apt-get install ecryptfs-utils
<syntaxhighlight lang=bash>
sudo apt-get install ecryptfs-utils
ecryptfs-setup-private
ecryptfs-setup-private
umount.ecryptfs_private
umount.ecryptfs_private
mount.ecryptfs_private</pre>
mount.ecryptfs_private
</syntaxhighlight>


==encfs==
==encfs==
Line 9: Line 11:


Install encfs
Install encfs
<pre>apt-get install encfs</pre>
<syntaxhighlight lang=bash>
<pre>mkdir -p ~/encrypted ~/temp_encr</pre>
apt-get install encfs
mkdir -p ~/encrypted ~/temp_encr
</syntaxhighlight>
Created encrypted dir / create password
Created encrypted dir / create password
<pre>encfs ~/encrypted ~/temp_encr</pre>
<syntaxhighlight lang=bash>
encfs ~/encrypted ~/temp_encr
</syntaxhighlight>


Copy files to ~/temp_encr
Copy files to ~/temp_encr


Umount encrypted dir
Umount encrypted dir
<pre>fusermount -u ~/temp_encr</pre>
<syntaxhighlight lang=bash>
fusermount -u ~/temp_encr
</syntaxhighlight>

Latest revision as of 00:44, 25 January 2018

ecryptfs

sudo apt-get install ecryptfs-utils
ecryptfs-setup-private
umount.ecryptfs_private
mount.ecryptfs_private

encfs

http://ubuntuforums.org/showthread.php?t=148600

Install encfs

apt-get install encfs
mkdir -p ~/encrypted ~/temp_encr

Created encrypted dir / create password

encfs ~/encrypted ~/temp_encr

Copy files to ~/temp_encr

Umount encrypted dir

fusermount -u ~/temp_encr