Encryption: Difference between revisions
From hugovil.com
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
=Encryption avec Debian | =Encryption HOME avec Debian 11= | ||
==ecryptfs== | ==ecryptfs== | ||
| Line 7: | Line 7: | ||
$> ecryptfs-setup-private | $> ecryptfs-setup-private | ||
ou | |||
$> ecryptfs-migrate-home -u <username> | |||
==git-crypt== | ==git-crypt== | ||
| Line 17: | 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