From 18ed0c44c89cefde4f37ccdefb651f6b35af06b6 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Fri, 23 Dec 2022 15:45:52 +0100 Subject: [PATCH] security: add key and identity --- secrets/identities/personal-5c.txt | 1 + secrets/secrets.nix | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 secrets/identities/personal-5c.txt diff --git a/secrets/identities/personal-5c.txt b/secrets/identities/personal-5c.txt new file mode 100644 index 0000000..ce5b582 --- /dev/null +++ b/secrets/identities/personal-5c.txt @@ -0,0 +1 @@ +AGE-PLUGIN-YUBIKEY-1KGPN2QVZS268HECY89HGV diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 068ebda..a42e3e7 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -8,9 +8,13 @@ let # ]; kabbone = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCgN40HJMAlzCgIU3FaZoU+Rnn4z0++Y7Kh+hDVKCrMUBt89NqIXg2RaToOMijLvZrgpdOfIyM9Z0whLs9EOdW+CsMdThBrQv4raSBp6AFf9XPMnLLVSs3w1JZhdusToXlwAynDm2YOPI+MxhXhJ4wl8PseuMd0Oo2OpsTyjOVz609XVdbc2kBc249wXBhJ+HoJZ1ohRaq7TBwvqwij933LjGiwDXLCsz08t5ZPDwn4SToa5jheJTbcD5IbSXKlj0CP/GB2kdJJa669xsgM5rV++xltQXOp7VdHfh3Rwf/u4M564yevSboio5E4h7Jfs5/SfB/oLeWzR4gsiEjl3KYHurbzyQGo4AexQPZAJywIZS/gm6ZpaUYWCaXwKom44ZBTlyRTKIVCj0n2fueoHa5mq+4Wdi1kYuZzxPKRbJKcG/TPEZZV1t0Fp6hEUUneAvTP/glgL9ZU+N7S1HKfl9cZcgCzMckK4GwEQeVSYyREdWudL3lt2+ffIK82QCYN0712i1bfl6QIgua0fBdHQG0XTq3u2r8QyX7HdWH2IIa2JpBg9aCKQ20nZPyuQinjrmq+oUnaPgmvm8bou+ki8V6+KY/nH/QVHKa9VUXH0Y3a6ZVGGXh1YNLM77aDKqGI2h3QvI9BD77KuUEe83GWchYWpDZ9zLvauVUsHgp1W7x2Fw=="; + yubic = "age1yubikey1q04plcan2003nzzd4zlnmrduw8323p4vhahe7gd5lyxcmnv306mpja0862p"; #"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIANmaraVJ/o20c4dqVnGLp/wGck9QNHFPvO9jcEbKS29AAAABHNzaDo="; - users = [ kabbone ]; + users = [ + kabbone + yubic + ]; dmz = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDwN8p78OncPIRUfV64PLHOem4LtlQ3opOJwLEYqdGVx"; hades = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEgnWyQUUa+vcHAKx6edbTgqW8ph+MCiS6fUwYjYcS+o";