
J'ai suivi le tutoriel https://wiki.archlinux.fr/Encryption_avec_eCryptfs
J'ai installé les deux paquets ecryptfs-utils et keyutils
J'ai éxécuté les commandes:
Code : Tout sélectionner
# mkdir -m 700 /home/$USER/.Private
# mkdir -m 500 /home/$USER/Private
# chown $USER:$USER /home/$USER/{.Private,Private}
Code : Tout sélectionner
chown: groupe incorrect: « antoine:antoine »
Code : Tout sélectionner
# mount -t ecryptfs /home/$USER/.Private /home/$USER/Private
Select key type to use for newly created files:
1) passphrase
2) openssl
Selection: 1
Passphrase:
Select cipher:
1) aes: blocksize = 16; min keysize = 16; max keysize = 32
2) blowfish: blocksize = 8; min keysize = 16; max keysize = 56
3) des3_ede: blocksize = 8; min keysize = 24; max keysize = 24
4) twofish: blocksize = 16; min keysize = 16; max keysize = 32
5) cast6: blocksize = 16; min keysize = 16; max keysize = 32
6) cast5: blocksize = 8; min keysize = 5; max keysize = 16
Selection [aes]: 1
Select key bytes:
1) 16
2) 32
3) 24
Selection [16]:
Enable plaintext passthrough (y/n) [n]:
Enable filename encryption (y/n) [n]:
Attempting to mount with the following options:
ecryptfs_unlink_sigs
ecryptfs_key_bytes=16
ecryptfs_cipher=aes
ecryptfs_sig=9e382686352a4872
WARNING: Based on the contents of [/root/.ecryptfs/sig-cache.txt],
it looks like you have never mounted with this key
before. This could mean that you have typed your
passphrase wrong.
Would you like to proceed with the mount (yes/no)? : yes
Would you like to append sig [9e382686352a4872] to
[/root/.ecryptfs/sig-cache.txt]
in order to avoid this warning in the future (yes/no)? : no
Not adding sig to user sig cache file; continuing with mount.
Mounted eCryptfs
[root@BonneBete antoine]# mv /root/.ecryptfs /home/$USER
[root@BonneBete antoine]# chown $USER:$USER /home/$USER/.ecryptfs
chown: groupe incorrect: « antoine:antoine »
Quel est le problème ?
Merci
