Encryption: Difference between revisions

From hugovil.com
Jump to navigationJump to search
No edit summary
 
Line 1: Line 1:
=Encryption avec Debian 11=
=Encryption HOME avec Debian 11=


==ecryptfs==
==ecryptfs==
Line 20: Line 20:
   $> cd repo
   $> cd repo
   $ git-crypt init /path/to/keyfile
   $ git-crypt init /path/to/keyfile
=Encrypter un fichier=
  gpg -c filename
  cat file | gpg -c -o file.gpg

Latest revision as of 16:19, 2 April 2026

Encryption HOME avec Debian 11

ecryptfs

 $> apt-get install ecryptfs-utils
 $> ecryptfs-setup-private

ou

 $> ecryptfs-migrate-home -u <username>

git-crypt

 $> git clone https://github.com/AGWA/git-crypt.git
 $> cd  git-crypt
 $> make
 $> make PREFIX=/usr install
 $> cd repo
 $ git-crypt init /path/to/keyfile

Encrypter un fichier

 gpg -c filename
 cat file | gpg -c -o file.gpg