informatique:gocryptfs
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
informatique:gocryptfs [2020/12/06 09:12] – simon | informatique:gocryptfs [2020/12/11 10:48] (Version actuelle) – [Alternative(s)] simon | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== Gocryptfs ====== | ====== Gocryptfs ====== | ||
+ | Gocryptfs ([[https:// | ||
+ | ===== Installation ===== | ||
+ | Sur [[ubuntu]], gocryptfs est dans les dépôts : | ||
+ | <code bash> | ||
+ | $ sudo apt search gocryptfs | ||
+ | En train de trier... Fait | ||
+ | Recherche en texte intégral... Fait | ||
+ | gocryptfs/ | ||
+ | Encrypted overlay filesystem written in Go | ||
+ | |||
+ | $ sudo apt install gocryptfs | ||
+ | </ | ||
+ | |||
+ | __Note:__ On peut installer [[SiriKali]] pour gérer gocryptfs graphiquement. | ||
+ | ===== Configuration ===== | ||
+ | |||
+ | * On prépare les répertoires (Dans mon cas, '' | ||
+ | <code bash> | ||
+ | $ mkdir ~/ | ||
+ | |||
+ | $ mkdir coffre-gocryptfs-ouvert | ||
+ | </ | ||
+ | |||
+ | * On initialise : | ||
+ | <code bash> | ||
+ | $ gocryptfs -init ~/ | ||
+ | Choose a password for protecting your files. | ||
+ | Password: | ||
+ | Repeat: | ||
+ | |||
+ | Your master key is: | ||
+ | |||
+ | aaaaaaaa-aaaaaaaa-aaaaaaaa-aaaaaaaa- | ||
+ | aaaaaaaa-aaaaaaaa-aaaaaaaa-aaaaaaaa | ||
+ | |||
+ | If the gocryptfs.conf file becomes corrupted or you ever forget your password, | ||
+ | there is only one hope for recovery: The master key. Print it to a piece of | ||
+ | paper and store it in a drawer. This message is only printed once. | ||
+ | The gocryptfs filesystem has been created successfully. | ||
+ | You can now mount it using: gocryptfs Cloud/ | ||
+ | </ | ||
+ | |||
+ | * On monte le dossier chiffré au point de montage voulu : | ||
+ | <code bash> | ||
+ | $ gocryptfs ~/ | ||
+ | Password: | ||
+ | Decrypting master key | ||
+ | Filesystem mounted and ready. | ||
+ | |||
+ | * Il n'y a au départ que deux fichiers : | ||
+ | <code bash> | ||
+ | $ ls -alh ~/ | ||
+ | total 16K | ||
+ | drwxrwxr-x | ||
+ | drwxrwxr-x 14 simon simon 4,0K déc 6 21:56 .. | ||
+ | -r-------- | ||
+ | -r--r----- | ||
+ | |||
+ | $ ls -alh ~/ | ||
+ | total 8,0K | ||
+ | drwxrwxr-x | ||
+ | drwxr-xr-x 30 simon simon 4,0K déc 6 21:59 .. | ||
+ | </ | ||
+ | |||
+ | ===== Tests ===== | ||
+ | ==== Fichier vide ==== | ||
+ | <code bash> | ||
+ | $ touch ~/ | ||
+ | |||
+ | $ ls -alh ~/ | ||
+ | total 8,0K | ||
+ | drwxrwxr-x | ||
+ | drwxr-xr-x 30 simon simon 4,0K déc 6 21:59 .. | ||
+ | -rw-rw-r-- | ||
+ | |||
+ | $ ls -alh ~/ | ||
+ | total 16K | ||
+ | drwxrwxr-x | ||
+ | drwxrwxr-x 14 simon simon 4,0K déc 6 21:56 .. | ||
+ | -rw--w---- | ||
+ | -rw-rw---- | ||
+ | -rw-rw-r-- | ||
+ | </ | ||
+ | |||
+ | ==== Dossier plus important ==== | ||
+ | J'ai copié un dossier de ~800Mo contenant pas mal de documents. Dans le lot, certains fichiers ont causé des erreurs ( '' | ||
+ | |||
+ | Ces fichiers sont en fait corrompus... | ||
+ | Il va falloir que je regarde si je peux encore les récupérer depuis un backup. m( | ||
===== Alternative(s) ===== | ===== Alternative(s) ===== | ||
* [[encfs]] | * [[encfs]] | ||
* [[ecryptfs]] | * [[ecryptfs]] | ||
* [[cryfs]] | * [[cryfs]] | ||
+ | * [[cryptomator]] | ||
+ | * [[rclone]] | ||
+ | * Voir aussi : [[sirikali]] |
informatique/gocryptfs.1607245976.txt.gz · Dernière modification : 2020/12/06 09:12 de simon