Add strangerbot to allowed signers
This commit is contained in:
parent
3a5f177b24
commit
aa71899e97
|
@ -1,4 +1,4 @@
|
||||||
rec {
|
with builtins; rec {
|
||||||
keys = {
|
keys = {
|
||||||
# yubikey ssh key
|
# yubikey ssh key
|
||||||
"yubikey" = {
|
"yubikey" = {
|
||||||
|
@ -46,10 +46,17 @@ rec {
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICILeBcpPVs12pDnsOPyDVwnwReCbrqzXMF+cV5bWCCa nathan@fusion";
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICILeBcpPVs12pDnsOPyDVwnwReCbrqzXMF+cV5bWCCa nathan@fusion";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
list = map (x: x.key) (builtins.attrValues keys);
|
signingKeys = {
|
||||||
allowedSigners = builtins.concatStringsSep "\n" (map (x:
|
# Git automation bot
|
||||||
|
"strangerbot" = {
|
||||||
|
key =
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINC2cOHgeJaUfwp9DMX6oeIaSfD7pDKN3PUo2+6prC7N strangerbot@oracles";
|
||||||
|
emails = [ "bot@stranger.systems" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
list = map (x: x.key) (attrValues keys);
|
||||||
|
allowedSigners = concatStringsSep "\n" (map (x:
|
||||||
"${
|
"${
|
||||||
builtins.concatStringsSep ","
|
concatStringsSep "," (x.emails or [ "*@mccarty.io" "*@stranger.systems" ])
|
||||||
(x.emails or [ "*@mccarty.io" "*@stranger.systems" ])
|
} ${x.key}") ((attrValues keys) ++ (attrValues signingKeys)));
|
||||||
} ${x.key}") (builtins.attrValues keys));
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue