Linux/gocryptfs: Difference between revisions

From Wiki
No edit summary
No edit summary
Line 14: Line 14:
gocryptfs -init -reverse /home/joe
gocryptfs -init -reverse /home/joe
gocryptfs -reverse /home/joe /home/joe.crypt
gocryptfs -reverse /home/joe /home/joe.crypt
 
fusermount -u plain 
-> then rsync/rcloud /home/joe.crypt to insecure cloud storage
-> then rsync/rcloud /home/joe.crypt to insecure cloud storage
</pre>
</pre>
</blockquote>
</blockquote>


[[Category:Linux/System]]
[[Category:Linux/System]]
[[Category:Linux]]
[[Category:Linux]]

Revision as of 11:43, 22 December 2017

Forward mode

  • files are always encrypted, become decrypted when mounting



reverse mode

  • files are always decrypted, become encrypted when mounting
  • good for cloud backup syncing
mkdir /home/joe.crypt
gocryptfs -init -reverse /home/joe
gocryptfs -reverse /home/joe /home/joe.crypt
fusermount -u plain   
-> then rsync/rcloud /home/joe.crypt to insecure cloud storage