mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-10 19:39:15 +00:00
Update sensitive-dotfiles.md
This commit is contained in:
2
docs/howto/sensitive-dotfiles.md
vendored
2
docs/howto/sensitive-dotfiles.md
vendored
@@ -66,7 +66,7 @@ trans_write:
|
|||||||
_encrypt: "gpg -q -r {{@@ keyid @@}} --armor --no-tty -o {1} -e {0}"
|
_encrypt: "gpg -q -r {{@@ keyid @@}} --armor --no-tty -o {1} -e {0}"
|
||||||
```
|
```
|
||||||
|
|
||||||
Passphrase is stored in a environement variable:
|
Passphrase is stored in an environment variable:
|
||||||
```yaml
|
```yaml
|
||||||
trans_read:
|
trans_read:
|
||||||
_decrypt: "echo {{@@ env['THE_KEY'] @@}} | gpg -q --batch --yes --for-your-eyes-only --passphrase-fd 0 --no-tty -d {0} > {1}"
|
_decrypt: "echo {{@@ env['THE_KEY'] @@}} | gpg -q --batch --yes --for-your-eyes-only --passphrase-fd 0 --no-tty -d {0} > {1}"
|
||||||
|
|||||||
Reference in New Issue
Block a user