secrets: read host public key from hosts directory

This commit is contained in:
Aly Raffauf 2024-06-09 19:57:37 -04:00
parent d0c2409ac1
commit 1f42499fe0
20 changed files with 38 additions and 27 deletions

1
hosts/fallarbor/ssh.pub Normal file
View file

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDE5RuHBUz1GW0AwOwgjj/HRBXcAUdVXkh3LopdauQF9 root@fallarbor

1
hosts/lavaridge/ssh.pub Normal file
View file

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHw+EYVVKOzIIlvF2Bp625q6OQMVXnQTxZSo16YjRovW root@lavaridge

1
hosts/mauville/ssh.pub Normal file
View file

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIHMOi6qdkhR5u8/3arkXCMg8W2kqZVy1HgDfBR5uGHG root@mauville

1
hosts/petalburg/ssh.pub Normal file
View file

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHjcWpeYMjNaICoHwedu3tBt7/5tKxXQHCKaUx4ez4jm root@petalburg

1
hosts/rustboro/ssh.pub Normal file
View file

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMs1oChR4z/gzFkuKddB+1XrwfG2znlWbdnP+hNAdNdN root@rustboro

View file

@ -7,12 +7,18 @@ let
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINHdpGTfjmnnau18CowChY4hPn/fzRkgJvXFs+yPy74I aly@mauville"
];
fallarbor = builtins.readFile ../hosts/fallarbor/ssh.pub;
lavaridge = builtins.readFile ../hosts/lavaridge/ssh.pub;
mauville = builtins.readFile ../hosts/mauville/ssh.pub;
petalburg = builtins.readFile ../hosts/petalburg/ssh.pub;
rustboro = builtins.readFile ../hosts/rustboro/ssh.pub;
systems = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDE5RuHBUz1GW0AwOwgjj/HRBXcAUdVXkh3LopdauQF9 root@fallarbor"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHjcWpeYMjNaICoHwedu3tBt7/5tKxXQHCKaUx4ez4jm root@petalburg"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHw+EYVVKOzIIlvF2Bp625q6OQMVXnQTxZSo16YjRovW root@lavaridge"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIHMOi6qdkhR5u8/3arkXCMg8W2kqZVy1HgDfBR5uGHG root@mauville"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMs1oChR4z/gzFkuKddB+1XrwfG2znlWbdnP+hNAdNdN root@rustboro"
fallarbor
lavaridge
mauville
petalburg
rustboro
];
in {
"hosts/fallarbor/syncthing/cert.age".publicKeys = users ++ systems;

Binary file not shown.

View file

@ -1,23 +1,23 @@
age-encryption.org/v1
-> ssh-ed25519 c7E/gQ 0GD7SeOu2YinfyXJfTDGVid37NRdQr69ZPlRdDJhrjM
94bRB8vbhZgTfw6YRVCW3nVQKG2ZUUCsOCmhIl6g+mQ
-> ssh-ed25519 d4UErQ zCmytUk7XSXYH5ZLfl5MpcOHijl92J2EDh2vajak2iU
w3NJCW/foBKCQFpfqXS8RBB3egPP+iGCS4q31aC+1wE
-> ssh-ed25519 1mX44w EMrSYLFW3oZ68Hu3L7KHLI7e3Xspyz9k30MFBigZXGw
wn7zo5cabejeTRTGZsVRAz9YUIv1KJI26BXgq2CL37M
-> ssh-ed25519 nrny8w YLi9nlGiId4WcoHJwhW1mXtQtGsfobHG8M6qvPWFbV8
TVFqOokxqnNsxeMHG495zfRMi6BGWLfO1335E0lwHpY
-> ssh-ed25519 W5caqg 7yqfrw3vIlAO054+w9id84HCm3Qqldjea7kgOifOPko
h2yRRocNRXfSLVCuSvmXHXCGkKB3PkyXZuNLP1buSFg
-> ssh-ed25519 xIeYNQ +0CuE8P6W5oi0HJyxtu/Ja5D3sP2AqfJSZoDY6LIECk
q71sjae0ExoLlO5CHu1Aa5YV2cpCs1FIkmsvgVHUOv4
-> ssh-ed25519 GrlIbA XOLxAJkczJrhAmGwcbVcqNSsPgwLVRwExn1EJeKaRSQ
xByaogdAgiEeiWs8jG2jsgLrSYnj0bNbjr29Tijl/Ik
-> ssh-ed25519 g+apXg H683I4eNUEsmgE42zchlRfBwSVwc0iApkA98Np1fC38
Ozz1ebZvoGQPA7Owf3ZFCOTPI0+JHQ69BvRhByw0USU
-> ssh-ed25519 osHDzw 9j0CL/dth07K7ufSA7EW6avt4ftYYrCZ0bRIJ3vs13I
bHylEYXVseK1lv5iId60mke9lIpvApkxZYd7R/1esO8
-> ssh-ed25519 s3sc2Q ZC8C+hxIMwgfb0LeT0B1HWgeZRrl3pfXE7LSs9nWhBU
lo959AeKKBIkaceomIkEmd8CBWPfX5GnnmMN21SdoSU
--- oQAX+inuWRicFC+PgOhr16a1o9UIqkq+dVqBA5tWuY4
Ñfµ´{ÎÉwõÉòsY<50>)2w‰av8Nt5´£+eæJ ôIØ<05>üp… k˜š*"ÍíPšÆh1f<31>
-> ssh-ed25519 c7E/gQ gD40PH5mdhuceyd3hKtG2mzmUaLUkZ40N7nLPASw92g
zGYX5fL9SZmK619NBcXQ1jKO91NwNgL3T/3sV49spRA
-> ssh-ed25519 d4UErQ nH1RjGXOcIxoL3lPo4bxPYkYJ0UCcKj7dlVW6hc7qko
SH2vLDotYJVtR29rtrUGKbtDLShCQB1GjmjeB9+2QX4
-> ssh-ed25519 1mX44w xwUK0QCEhNjL7UwQj5H32Hum0d5R4gvv/PFbNKje33c
gtPlJN0xx6TVnU35uiNttdQZXhg1aruyUfIqkLze/1w
-> ssh-ed25519 nrny8w oR3r88zumGIPuY6f1Rt0R3P3+soi+ht/fr+y14DiSBI
BWxp9gcT50bsULm8Hao3uljUu6iWUqqNBF083rQvLP4
-> ssh-ed25519 W5caqg 18b6wPoDa7KUVcEmwYB/uaA4y0gYR4GZqbEg+O6nDhM
eI6onpXev3sEu/UrpvTXujeVzP/WR6Q4Wx3vsWmHvEU
-> ssh-ed25519 xIeYNQ B1pWMUoH9uTuzS95Vk965GsqUDm55tv/eUH5jieND2A
svb0ei5g9fPyushi2UxsRIknxfa6AzRGhcAgbOpIouw
-> ssh-ed25519 g+apXg wfyV9dzzN9Di9tg4I0yyBeIdqMq9pSFzxSmvRIjtml8
Rm+7PofFbYAZpgg2cMQ3/WfVSWoGHS1vHhAkWNJiEsM
-> ssh-ed25519 osHDzw i8pNWpt/Umpm8sOuUJvIEA5vHWZLC5lWCjTu8DGWDys
ZiWLV2zJ+U63eFTqNf85vqPBPrfVrZ51QZaN0i0mcm0
-> ssh-ed25519 GrlIbA 3LC804/McN3FJeMTPdwpGD57DCYCn95rECZV0YVVug4
GuQe1lbmM37kCpn4CUWXqb7OukmmNsnqohFRk9AeEWk
-> ssh-ed25519 s3sc2Q oaKYtuuuK45JN8RZOJl+2X0L8hAql+C6z89nXIVqBiM
YnM9rClrA4psL/y04RCwxQX0N/cO+oCIpQivDsDOUfI
--- 6jwVI4zP28ybntMoxtNjZ8dZ5kC5B29mKGfOddJ7vLo
ÝvÇGP…Ñøðç<„9ìXXÞXžíŽ~ÀGˆ¡×[ròplbÑ]ÃË!yË-ï“òù«Ó­å=ßl|Ð1$ÅSjZ

Binary file not shown.

Binary file not shown.