Newer
Older
# `@ajhalili2006/dotenv-secrets`
Encrypted storage for secrets such as private keys and even as a workaround on
`yadm <de>ncrypt`. Currently only @ajhalili2006 with his primary GPG key for
commits is being used to encrypt and decrypt secrets.
## Setup
Install `gopass` into your system via <https://go.andreijiroh.xyz/gopass/install> or
just run `go install github.com/gopasspw/gopass@v1.15.14` if you have Golang installed.
Note that `~/.local/share/gopass/stores/root` is not included as a git submodule in the
dotfiles repo, so you need to clone it manually:
```bash
gopass clone ssh://git@git.sr.ht/~ajhalili2006/dotfiles-secrets
```
To ensure `pass` is working, especially for using it as a vault for Docker
registry authenication:
```bash
# cd to $HOME first!
ln -s .local/share/gopass/stores/root .password-store
```
## Basics
* Add or edit a secret using a code editor: `EDITOR="code --wait" gopass edit -c path/to/secret`