How does Encfs work?

I can not understand the idea of ​​Encfs. Even the ready-made example offered by my Ubuntu does not work for me:

encfs ~ / crypt ~ / .crypt

An error occurred:

could not find mount point

Should I initialize the files somehow? What's wrong?

+3
source share
3 answers

Since I have been using encfs since 2009 and still every day, I will quickly do the following:

What do you need for his work?

and only flags, they can be found directly in package management

Debian : apt-get install encfs
Fedora : yum install encfs
Gentoo : emerge encfs

...

(select only encfs will automatically install the dependencies)

How to create an encrypted directory?

encfs ( root), . root:

adduser youruser fuse

youruser .

, X .

( user $):

groups

, :

encfs /home/youruser/.crypt/ /home/youruser/crypt

.crypt crypt- , ,

:

"/home/youruser/.crypt/" . ? (y, n) y
"/home/youruser/crypt" . ? (y, n) y
: options: "x" , "p" , - , .? > p
Encfs:
Encfs:

, → y | | p

( ), crypt. , :

fusermount -u /home/youruser/crypt

, "" .crypt:

ls /home/youruser/.crypt/

- (3 ):

0WoRsjyzZHI,Un-198TRY-dU  91rj264Z09Jcz7XZ4sbDeYfd  KpJTDI2TVUEFHTkksqxPT9xu

, :

encfs /home/youruser/.crypt /home/youruser/crypt 

,

/

, , encfs6.xml, .

http://en.wikipedia.org/wiki/Salt_%28cryptography%29

:

/home/youruser/.crypt/.encfs6.xml

:

tar cvzf CryptedBackup.tar.gz /home/youruser/.crypt/

/ /home/user/ (mkdir/home/user/crypt), .

, encfs6.xml ,

+2

, - :

  • ~/crypt (, , - ~/crypt)
  • ~/crypt encfs (mkdir , , ~/crypt )

http://code.google.com/p/encfs/source/browse/trunk/encfs/main.cpp?spec=svn27&r=27

+1

, . ~/crypt ~/.crypt , encfs , encfs, - , , .

See also here for a guide to setting up and using encfs.

0
source

Source: https://habr.com/ru/post/1704707/


All Articles