Encrypt/decrypt with age
This commit is contained in:
parent
1b369c2968
commit
b47bd9b023
5 changed files with 58 additions and 32 deletions
|
|
@ -1,7 +1,10 @@
|
|||
encryption = "gpg"
|
||||
[gpg]
|
||||
symmetric = true
|
||||
args = ["--batch", "--passphrase", {{ (rbw "Dotfiles Encryption").data.password | quote }}, "--no-symkey-cache"]
|
||||
encryption = "age"
|
||||
|
||||
[age]
|
||||
identity = "{{ .chezmoi.homeDir }}/.age/key.txt"
|
||||
recipients = [
|
||||
"age15psk37mefvdwhl2wtuwrpv2w5d2rhclhkj9d9jrx7gvt2gsnkatsr6v4m6"
|
||||
]
|
||||
|
||||
[data]
|
||||
{{- if eq .chezmoi.hostname "dubnium" }}
|
||||
|
|
@ -12,4 +15,8 @@ encryption = "gpg"
|
|||
term_fontsize = 10
|
||||
email = "maximilian.friedersdorff@envsys.co.uk"
|
||||
personal_ssh_key = "~/.ssh/id_ed25519_personal"
|
||||
{{- else if eq .chezmoi.hostname "rhenium" }}
|
||||
term_fontsize = 11
|
||||
email = "max@gwairfelin.com"
|
||||
personal_ssh_key = "~/.ssh/id_ed25519"
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue