crypt guide

This commit is contained in:
Niccolo Borgioli 2022-04-08 11:33:03 +02:00
parent ab7ff87ccb
commit c7e20f3fef
No known key found for this signature in database
GPG Key ID: 81C683415BBD86B0
1 changed files with 10 additions and 0 deletions

View File

@ -9,3 +9,13 @@ git clone https://github.com/cupcakearmy/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./install
```
## Encrypted files.
Files under `./secrets` are encrypted. To unlock the `git-crypt` must be installed.
Assuming we have the base64 version of the `key.txt` we can unlock the repo with the following commands:
```bash
base64 --decode key.txt > key
git-crypt unlock ./key
```