k 3 ma: make ed25519 keys available for hosts

This commit is contained in:
makefu 2021-12-28 23:49:34 +01:00
parent 2a47990f16
commit a041768aa1
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
8 changed files with 12 additions and 1 deletions

View File

@ -22,6 +22,12 @@ with import <stockholm/lib>;
(krebs.genipv6 "retiolum" "makefu" { inherit hostName; }).address;
};
})
# Retiolum ed25519 keys
(let
pubkey-path = ./retiolum + "/${hostName}_ed25519.pub";
in optionalAttrs (pathExists pubkey-path) {
nets.retiolum.tinc.pubkey_ed25519 = builtins.trace "using ed25519 key for host ${hostName}" (readFile pubkey-path);
})
# Wiregrill defaults
(let
pubkey-path = ./wiregrill + "/${hostName}.pub";

View File

@ -0,0 +1 @@
zlfSyJdG7vJmvkk1Ul3ZXUix2YduFYUMhM89nRdy8aE

View File

@ -1,4 +1,3 @@
Ed25519PublicKey = Zkh6vtSNBvKYUjCPsMyAFJmxzueglCDoawVPCezKy4F
-----BEGIN RSA PUBLIC KEY-----
MIIBCgKCAQEAloXLBfZQEVW9mJ7uwOoa+DfV4ek/SG+JQuexJMugei/iNy0NjY66
OVIkzFmED32c3D7S1+Q+5Mc3eR02k1o7XERpZeZhCtJOBlS4xMzCKH62E4USvH5L

View File

@ -0,0 +1 @@
Zkh6vtSNBvKYUjCPsMyAFJmxzueglCDoawVPCezKy4F

View File

@ -0,0 +1 @@
2YSzoLSQN3k4HC8uozPb/nMmbrTa9eKOD2Ka9Iq8iXM

View File

@ -0,0 +1 @@
OxXCkjs3OzIsMXcSVcr7dJD55iRFRjUc0eERPdU1OjO

View File

@ -0,0 +1 @@
WLUvBME38jEpXIEFniyVIjyvMw7JTNJBQb/NIXcxmzL

View File

@ -0,0 +1 @@
b3uia4Sns0ljQrccLE0QxzeAB4APTiJEB98neQQosdF