From c7e20f3fef6d88b48c90cb17b740aec84c8f6f63 Mon Sep 17 00:00:00 2001 From: Niccolo Borgioli Date: Fri, 8 Apr 2022 11:33:03 +0200 Subject: [PATCH] crypt guide --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 43b9f1c..266559f 100644 --- a/README.md +++ b/README.md @@ -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 +```