1 parent
8bf199eebc
commit
04a3fdac28
6 files changed
+52
-8
No files matched your search
+3
-8
@@ -9,10 +9,8 @@
|
||||
# user : the public key of the workstation you edit secrets from
|
||||
# (`cat ~/.ssh/id_ed25519.pub`)
|
||||
let
|
||||
# PLACEHOLDER: replace with the real host public key.
|
||||
host = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPLACEHOLDERPLACEHOLDERPLACEHOLDERPLACEHOLDER root@desktop";
|
||||
# PLACEHOLDER: replace with the public key of the machine you edit secrets on.
|
||||
faumaray = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPLACEHOLDERPLACEHOLDERPLACEHOLDERPLACEHOLDER faumaray@gmail.com";
|
||||
host = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAggjdC+XHtpgLRD9bVpvpMrEsq+MujryLL4nAPdACdf root@desktop";
|
||||
faumaray = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA87UgZb5wZbS+J9eR+1bHHhHFsIuGRsIhNdAk4iEntF faumaray@gmail.com";
|
||||
|
||||
recipients = [
|
||||
host
|
||||
@@ -20,10 +18,7 @@ let
|
||||
];
|
||||
in
|
||||
{
|
||||
# Hashed login password: `mkpasswd -m yescrypt | agenix -e faumaray-password.age`
|
||||
"faumaray-password.age".publicKeys = recipients;
|
||||
|
||||
# Private SSH key installed for the user, linked to ~/.ssh/id_ed25519 by home-manager.
|
||||
# Put the matching public key next to it as ssh-id_ed25519.pub (plaintext, not secret).
|
||||
"ssh-id_ed25519.age".publicKeys = recipients;
|
||||
"ssh-id_ed25519_work.age".publicKeys = recipients;
|
||||
}
|
||||
Reference in new issue
Block a user