Actualiser README.md
This commit is contained in:
parent
f4fe95e4f8
commit
2e1363cbe1
33
README.md
33
README.md
|
@ -1,31 +1,43 @@
|
||||||
## EncFS
|
## EncFS
|
||||||
|
instalaltion du package
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt install encfs
|
sudo apt install encfs
|
||||||
```
|
```
|
||||||
|
Formater un support amavible exemple clef USB ou SD
|
||||||
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
|
Préparation création de répertoire
|
||||||
|
|
||||||
|
dans votre répertorie pero
|
||||||
|
mkdir decrypted
|
||||||
|
mkdir encrypted
|
||||||
|
|
||||||
|
Création de la liaison entre les 2 répertoire via encfs
|
||||||
```
|
```
|
||||||
encfs ~/encrypted ~/decrypted
|
encfs ~/encrypted ~/decrypted
|
||||||
```
|
```
|
||||||
|
|
||||||
choisir mode p
|
choisir mode p
|
||||||
|
|
||||||
et un pass provisoir
|
et un pass provisoir
|
||||||
|
|
||||||
aller dans votre clef usb
|
aller dans votre media amovible
|
||||||
|
ex:
|
||||||
|
```
|
||||||
|
cd /media/$USER/Usb
|
||||||
|
```
|
||||||
|
|
||||||
cd /media/USER/Usb
|
Pour la génération de passphrase.bin Pour la génération de passphrase.bin
|
||||||
|
```
|
||||||
|
ssh-keygen -t rsa -p /home/$USER/passphrase.bin
|
||||||
|
```
|
||||||
|
|
||||||
|
Déclaration de passphrase.bin et du pass à encfs
|
||||||
```
|
```
|
||||||
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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Puis ouverture via passphrase.bin et non plus le pass
|
||||||
```
|
```
|
||||||
base64 -w 0 passphrase.bin | encfs -S ~/encrypted ~/decrypted
|
base64 -w 0 passphrase.bin | encfs -S ~/encrypted ~/decrypted
|
||||||
```
|
```
|
||||||
|
@ -33,8 +45,3 @@ et pour démonter
|
||||||
```
|
```
|
||||||
fusermount -u ~/decrypted
|
fusermount -u ~/decrypted
|
||||||
```
|
```
|
||||||
|
|
||||||
Pour la génération de passphrase.bin
|
|
||||||
Pour la génération de passphrase.bin
|
|
||||||
|
|
||||||
ssh-keygen -t rsa -p /home/$USER/passphrase.bin
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user