Mise à jour de 'README.md'
This commit is contained in:
parent
615b67ef69
commit
8c889c3798
26
README.md
26
README.md
|
@ -1,21 +1,37 @@
|
||||||
pres requis install encfs
|
## EncFS
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo apt install encfs
|
||||||
|
```
|
||||||
|
|
||||||
Formater cle usb fat32
|
Formater cle usb fat32
|
||||||
|
```
|
||||||
dd if=/dev/urandom if=/media/xavier/Secure/passphrase.bin bs=16k count=1
|
dd if=/dev/urandom if=/media/xavier/Secure/passphrase.bin bs=16k count=1
|
||||||
|
```
|
||||||
|
Pour monter
|
||||||
|
|
||||||
|
```
|
||||||
encfs ~/encrypted ~/decrypted
|
encfs ~/encrypted ~/decrypted
|
||||||
|
```
|
||||||
|
|
||||||
choisir mode p
|
choisir mode p
|
||||||
|
|
||||||
et un pass provisoir
|
et un pass provisoir
|
||||||
|
|
||||||
cd /cle usb
|
aller dans votre clef usb
|
||||||
|
|
||||||
|
cd /media/USER/Usb
|
||||||
|
|
||||||
|
```
|
||||||
echo -n "Enter current password: " && read -s PASSWORD && (echo $PASSWORD && base64 -w 0 passphrase.bin) | encfsctl autopasswd ~/encrypted
|
echo -n "Enter current password: " && read -s PASSWORD && (echo $PASSWORD && base64 -w 0 passphrase.bin) | encfsctl autopasswd ~/encrypted
|
||||||
|
```
|
||||||
|
```
|
||||||
base64 -w 0 passphrase.bin | encfs -S ~/encrypted ~/decrypted
|
base64 -w 0 passphrase.bin | encfs -S ~/encrypted ~/decrypted
|
||||||
|
```
|
||||||
et pour démonter
|
et pour démonter
|
||||||
|
```
|
||||||
fusermount -u ~/decrypted
|
fusermount -u ~/decrypted
|
||||||
|
```
|
||||||
|
|
||||||
|
Pour la génération de passphrase.bin
|
||||||
|
|
Loading…
Reference in New Issue
Block a user