Truecrypt : Création de volume chiffré. * Distribution : 2013-07-26-wheezy-raspbian * Carte mémoire : Marque : PNY Capacité : 8 go Classe : 10 1) Information :
pi@raspberrypi ~ $ df
Sys. fich. 1K-blocks Util. Disponible Uti% Monté sur
rootfs 7599584 1545268 5727236 22% /
...
2) Chiffrer un fichier comme un volume virtuel :
pi@raspberrypi ~ $ truecrypt -t -c
Volume type:
1) Normal
2) Hidden
Select [1]: 1
Enter volume path: /home/pi/volumeChiffre.vol
Enter volume size (sizeK/size[M]/sizeG): 4G
Encryption algorithm:
1) AES
2) Serpent
3) Twofish
4) AES-Twofish
5) AES-Twofish-Serpent
6) Serpent-AES
7) Serpent-Twofish-AES
8) Twofish-Serpent
Select [1]: 1
Description des algorithmes : http://www.truecrypt.org/docs/encryption-algorithms#Y225
Hash algorithm:
1) RIPEMD-160
2) SHA-512
3) Whirlpool
Select [1]: 2
Description des hachages : http://www.truecrypt.org/docs/hash-algorithms#Y225
Filesystem:
1) None
2) FAT
3) Linux Ext2
4) Linux Ext3
5) Linux Ext4
Select [2]: 5
Enter password:
WARNING: Short passwords are easy to crack using brute force techniques!
We recommend choosing a password consisting of more than 20 characters. Are you sure you want to use a short password? (y=Yes/n=No) [No]: yes
Re-enter password:
Enter keyfile path [none]:
- Générer plusieurs caractère au hasard :
Please type at least 320 randomly chosen characters and then press Enter:
Characters remaining: 287
Characters remaining: 189
Characters remaining: 166
Characters remaining: 54
Done: 27,014% Speed: 3,9 MB/s Left: 12 minutes
3) Vérification :
pi@raspberrypi ~ $ ls -l volumeChiffre.vol
-rw------- 1 pi pi 4294967296 août 3 22:18 volumeChiffre.vol
4) Récapitulatif :
Chiffrement | Hachage | Système de fichier | Vitesse (Mo/s) | Temps (Min.)
AES | SHA-512 | Linux Ext4 | 3,8 | 16
5) Création d'un point de montage :
pi@raspberrypi ~ $ mkdir volumeChiffre
6) Montage du volume vers le point de montage :
pi@raspberrypi ~ $ truecrypt -t volumeChiffre.vol volumeChiffre
Enter password for /home/pi/volumeChiffre.vol:
Enter keyfile [none]:
Protect hidden volume (if any)? (y=Yes/n=No) [No]:
7) Vérification :
pi@raspberrypi ~ $ df -h
Sys. fich. Taille Util. Dispo Uti% Monté sur
...
/dev/mapper/truecrypt1 4,0G 72M 3,7G 2% /home/pi/volumeChiffre
pi@raspberrypi ~ $ cd volumeChiffre/
pi@raspberrypi ~/volumeChiffre $ ls
lost+found
pi@raspberrypi ~/volumeChiffre $ cd ..
8) Démontage du volume chiffré :
pi@raspberrypi ~ $ truecrypt -t -d