| Ambdós costats versió prèvia Revisió prèvia Següent revisió | Revisió prèvia |
| criptografia:ecryptfs [10/03/2022 01:20] – [cli] mate | criptografia:ecryptfs [14/06/2023 06:09] (actual) – [related] mate |
|---|
| == related | == related |
| * <code bash>apt install ecryptfs-utils</code> | * <code bash>apt install ecryptfs-utils</code> |
| | * [[https://ostechnix.com/how-to-encrypt-directories-with-ecryptfs-in-linux/]] Práctico!! |
| * [[https://www.howtoforge.com/how-to-encrypt-directories-partitions-with-ecryptfs-on-debian-squeeze]] | * [[https://www.howtoforge.com/how-to-encrypt-directories-partitions-with-ecryptfs-on-debian-squeeze]] |
| * [[https://wiki.debian.org/TransparentEncryptionForHomeFolder]] | * [[https://wiki.debian.org/TransparentEncryptionForHomeFolder]] |
| * [[https://linux.die.net/man/7/ecryptfs]] | * [[https://linux.die.net/man/7/ecryptfs]] |
| * [[https://wiki.archlinux.org/index.php/ECryptfs]] | * [[https://wiki.archlinux.org/index.php/ECryptfs]] |
| | |
| |
| == cli | == cli |
| * setup:<code bash>sudo mount -t ecryptfs ~/SECRET/ ~/SECRET/ | * setup:<code bash>sudo mount -t ecryptfs ~/SECRET/ ~/SECRET/</code> |
| * mount:<code bash>sudo mount -t ecryptfs -o ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_enable_filename_crypto=n,ecryptfs_passthrough=n ~/SECRET ~/SECRET</code> | * mount:<code bash>sudo mount -t ecryptfs -o ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_enable_filename_crypto=n,ecryptfs_passthrough=n ~/SECRET ~/SECRET</code><code properties ; /root/.ecryptfsrc>key=passphrase:passphrase_passwd_file=/mnt/usb/password.txt |
| | ecryptfs_sig=8567ee2ae5880f2d # cat /root/.ecryptfs/sig-cache.txt |
| | ecryptfs_cipher=aes |
| | ecryptfs_key_bytes=16 |
| | ecryptfs_passthrough=n |
| | ecryptfs_enable_filename_crypto=n</code> |
| |
| == credentials | == credentials |
| * option: ''key=passphrase:passphrase_passwd_file=/mnt/usb/file.txt'' | * option: ''key=passphrase:passphrase_passwd_file=/mnt/usb/file.txt'' |
| * <code ; file.txt>passphrase_passwd=[passphrase]</code> | * <code ; file.txt>passphrase_passwd=[passphrase]</code> |