Ací es mostren les diferències entre la revisió seleccionada i la versió actual de la pàgina.
| Ambdós costats versió prèvia Revisió prèvia Següent revisió | Revisió prèvia |
| criptografia:ecryptfs [10/03/2022 01:25] – [related] mate | criptografia:ecryptfs [14/06/2023 06:09] (actual) – [related] mate |
|---|
| * [[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> |