From 4ab254082a2bed464d270c02abd3fb78df20ca2b Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Mon, 9 Dec 2024 11:39:40 -0600 Subject: [PATCH] wip: Add password decryption --- secrets/nextcloud-password.age | 17 +++++++++++++++++ secrets/secrets.nix | 7 +++++++ 2 files changed, 24 insertions(+) create mode 100644 secrets/nextcloud-password.age create mode 100644 secrets/secrets.nix diff --git a/secrets/nextcloud-password.age b/secrets/nextcloud-password.age new file mode 100644 index 0000000..2e0611a --- /dev/null +++ b/secrets/nextcloud-password.age @@ -0,0 +1,17 @@ +age-encryption.org/v1 +-> ssh-rsa bEJDHQ +TJA2CxSMcETzzc1R5xCAhVe76nevyLfHNVmnhYQjvFU0h+Cr7BbmaKfWRaegh1ot +OBSQdGLwe7Vbcc2dsVpoQHwNHP/dRb1QM6rc28kRLGrRQVzz93ZkrS2P0i1qI6oU +sO0f7PY+q3FXTC0vNr9f7tCFDEKxc9culd7TZpyI9IL820sFJ9xVsgM6z1cGs7+H +nxq1HuOv3/9e6v44Y2zQed1Ecsr+r3uj+sL3OZFuWc3MQL6uzGui6oqW6SPnIsCO +DeuXfxZM5EYkZQdIVN4VSCa0R7dGRhECETRE1ebfoCK2udU6z6McBSX0fZqw6hOW +H0p8WAnd2mR6FhIwwCt0DLDv+fNw822Zw3LgoVYSeJok/HIHjV1FFI7e9L/auaAq +/ME05nHnQl7KbEHASylwFgeM6q+IVihUBuwLlYc3LqmnCSfvcSSKOxC1SYIUpGHt ++WCIpinBpwgEw8mzupWk4SrB2lCQz/QHZ1xMJyOHY0+qvl3ymKcNtPBpixM/uLoP +RthRW60Zh6e2uZflrvCCYKXVcbXEhZreeYJosDfTLZS0YD0IR9u3PHk2QRzjFpL4 +mHtVRJzyVlJUKVGbJGWoku97slcqLtpU+xPzt6fE7orjlFKHNWKSFEoGgMOxxDHM +wOY1Ka1QdMvm7OSfsNXa3KbXg5HDuvPMS/pDEXkkSNc +-> ssh-ed25519 dbKeHw 0cXhuCrGv/QYZmZvRKg/5R0vFu5C6LBR1MKDqKI6UWY +j+XYqhAfV5AjzcaWFjFNrcS5PfCvUxLP6YXhvgaAJFw +--- 2gAo5+tlcCSJA0wlYpfHc/2CTWOnM/qKIbT3qY1HN78 +nBiUzR]ʮu׾A86%E eRps_]vыV \ No newline at end of file diff --git a/secrets/secrets.nix b/secrets/secrets.nix new file mode 100644 index 0000000..46e48f6 --- /dev/null +++ b/secrets/secrets.nix @@ -0,0 +1,7 @@ +let + millironx = + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCgIDIuH/MqCiCdqopPCbdx6zKzDwFNxZJUTqVEZ74O0LdfsL22a/sSJDDjowp5cXK4NzLwi990ld2Yh+65it620Zusfub3qWfwIsTvYG+IkN3Vkrkki4ELLBlJfh69CjQv1MgBlM0TF5gL56411kxLTWmhaFUJDgt0jlfQQNyEoDdfq2rJZ1kbPS6EPoPWeVL1i+b2S5zVOHayrmRwvn5TVN66yxGaRufWTcdGibgrxByyg01/3W4mBFiJHVcnHAbN6rsdOV/I6PP/Z6yRRoHU/vf1F/nh6uWZuK4araAo+al6gxgXGfrJnQNkTDqwDa0GLc71QDNPjoUk2fjORJQsGFq2jA8+aiWukxAtgUjZIFKeMAbFVZGz9jMQK4a/7qf80set0tRzz9UKIEb5RjR+Lvm8S2xEiKLOu7aGfeFGMEUzAdG8cSmxcfwkZs1rWN1IS/0PumLu7MGnFq/Yl11mOlAjjvKNuh2dAttsqtG2yE3XdvhU1vSQkimJzogUKoWewupDFzteUt43Jen/7npDZ6R1NGJORVKsDZ+7I4Ivm7EPJV1Die/+JpX8TxKyTXKeuiazKNP2fDZU3cec5pWLTJPbn9aLsWaBx5AZ/MvqVtdSsxfFqgEOyZXJHBbP9Iv3gQ0bHP8QNO3t4gIuAmzfAkxv5x/D9HQEVNYwJyglaw== cardno:18_319_764"; + corianne = + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOgL2lO9RJBdQYANoxGyWXcNKi5/NZkRHHo/rNqaYMc/ millironx@corianne"; + allusers = [ millironx corianne ]; +in { "nextcloud-password.age".publicKeys = allusers; }