Update how secrets are encrypted and change keys
parent
b5a4d540ed
commit
a36cf334f9
@ -1,9 +1,9 @@
|
||||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSAxa3Z2UHgyVmJzZndaSGNT
|
||||
SXd3SGNXY1pNbkFBdTFqZ1Z1UlgxN0QwcTBvCnZQME5JMU1pd00yejVJS1d5L2R1
|
||||
Z3ZSdnRNd01Ha29lQWMwT216by80UTAKLS0tIERSY1V0YXhCWCtrSEs5dFNEMDRq
|
||||
UmtJU2tQNGt6bS9KeVIwUzlUTnVvWU0KKXRVCJLDVMMwKvJepTsQ/E3+dHgexzpA
|
||||
pdXN/5jOogXvHcNdCy/aKWc11PF4M4ee2S8Y8EqbM2UUuq8dmMJZLx0dvb5wzr52
|
||||
dm4WAnkKY5vF2sD6R+M9HxaeU9jVByNzCp6xftwqYYh0cYoKT+uJgwGXv7kpsl6B
|
||||
yLYgdXMakkxeIswo46LQ7HP1eYqzRQmXU1zs1idPuQAJ
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBwUTFyVUg4VmFtbEVnNXkw
|
||||
eHVJczNDdHViaDlyc0owZi9QNmNBS3U0YkY0ClNEd1hmWnBPQ3pTRnZpaWFCdEQ4
|
||||
SUZncEpMdkpnRWVjUy9FbFdLZkJ6Wk0KLS0tIENsNkFlalBWNnYxcVF4VnNTbkd1
|
||||
VWV4ZHNIWUpiek56bFdaK2R2TzkwSXcK1+UZP1EGZsQM1OiEbmRRb/6X1RjQiAdK
|
||||
ZA4dN4s84E0zJYDeIDU7U6AVi+GM8yeNvMDcEavkHtYgFGiFrZ2WspAaBlCm8RXw
|
||||
u9SAaxRwfD1pqRnZVPxxlP6JUmdV3BfzM5L2ifAauXczXKjXWbVWU/7zXGDChKvz
|
||||
jFySos+dEcLX7opddonoJxe3S/TtYuKk18gQuVx/YF9t
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,8 +0,0 @@
|
||||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBTMlUzMEdOK0h2SlB0eG1G
|
||||
N2E2N2ZVNWN1ZVJFbGNLRm05NWtINjY0VmxnCkp6Q3NMSURsOWNlZmZKUjFJZDNX
|
||||
Zk5EU1dVa0JNNDQ0TVBYSDM0QmJFdHcKLS0tIEFxVTlyd21zQmdnbGpLeE4vOWJ4
|
||||
elVualRPSGgrb1Fub3FMRmRlaFVSYWcKWEE8MKGcsEhZshxM17468m5xlDaGH66f
|
||||
J2cbjyBRIG1wcVgpCSAPRw8Vd1wUIWJFnyFzyiwnrHcPBM+M/JNZDmadNOAyADhc
|
||||
MgqPsEeD2k1Kcro3zthL0kl4+TNEremTZ9Zx
|
||||
-----END AGE ENCRYPTED FILE-----
|
@ -1,10 +0,0 @@
|
||||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNjcnlwdCBFVFQ2SE1pUWErTFdnQXJX
|
||||
UndQMjFRIDE4ClFOcDFwWDUyekRBRi8vZmxzTTRFa0wxZmNjRmhnL3BlTzFqN1p5
|
||||
VFZsdFUKLS0tIExrdG5ZUFAraUlnSEpCTnVEL3FZcGc3MzBBbXF2aFhodklOVlk5
|
||||
Zno5QnMKfWGrVFWWJvWPxoeP/tUF3ZM6sG1eFPWf97e+K9iopntaGcrvY83H+mrc
|
||||
lSdTVNplSm/Erq6u+UuAi8OeKE8G/Uf4vDXfuoww0dfbTpRDQPx+rAf3/kMVlgPt
|
||||
qvyhZzjaNeHV3+LKOlH9DnOGxr9an+zbndfOOid3f0YWSyVk41B04RGOdZe2w+3D
|
||||
ZUxon0+4lYzBv5snj6QVmdLqZPUiTWFpenXSwafr6LoYG51D8HEYsm53eJ7ZPq12
|
||||
oBIa+inji8v+B6zqIkKklF9qYGbub9SrwSyN9FKzrRmmbR0=
|
||||
-----END AGE ENCRYPTED FILE-----
|
@ -1,9 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ ! -f "{{ .chezmoi.homeDir }}/.config/chezmoi/key.txt" ]; then
|
||||
mkdir -p "{{ .chezmoi.homeDir }}/.config/chezmoi"
|
||||
chezmoi age decrypt \
|
||||
--output "{{ .chezmoi.homeDir }}/.config/chezmoi/key.txt" \
|
||||
--passphrase "{{ .chezmoi.sourceDir }}/key.txt.age"
|
||||
chmod 600 "{{ .chezmoi.homeDir }}/.config/chezmoi/key.txt"
|
||||
fi
|
Loading…
Reference in New Issue