From 2020136c14fe6d92c40528ee75304f54c27c5fa9 Mon Sep 17 00:00:00 2001 From: buffet Date: Tue, 23 Aug 2022 20:53:27 +0000 Subject: [PATCH] Rekey borgpassword.age with new key --- impermanence.nix | 2 +- secrets.nix | 2 +- secrets/borgpassword.age | 25 +++++++++---------------- 3 files changed, 11 insertions(+), 18 deletions(-) diff --git a/impermanence.nix b/impermanence.nix index cc9622f..5e37f0a 100644 --- a/impermanence.nix +++ b/impermanence.nix @@ -70,5 +70,5 @@ }; # workaround for agenix running before /etc impermanence gets set up - age.identityPaths = ["/persist/buffet/ssh/.ssh/id_rsa"]; + age.identityPaths = ["/persist/buffet/ssh/.ssh/id_agenix"]; } diff --git a/secrets.nix b/secrets.nix index d2c8e9f..b6fc18c 100644 --- a/secrets.nix +++ b/secrets.nix @@ -1,5 +1,5 @@ let - buffet = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDci73LlPFhg9Z26jnuGMzGEh0jO192alsLhSVUE+CIOkRfkeRonJ69WxwY9kBFAa5PyY9zrAr2XueLWaQAaHJdmHyWbXmMJGtqsx0oB5KU4aFL8stJGkr8u6Bv5HPpkGr4PyqGkzKEPirUBYOMxXW3KSuP5LCTTx+UVoEFhIRS+j6w67ZIjyEHalwZAVJP8sp1GJkk9eQkmoJjdBt4qxAoBRaZp8kTzdKJezJY1g0f+JBI+0ZUDPS2IdAAXroVho/ea31gGFRsqazbP17Tpbiy1H4dQwTc19YkyOYu7R4klRrOVjzh/CBYgTUmIV1czUISG6KEGfgW4IciYSc6R5IGo+GCf3OsNVDKjjgxCvCLLx03KsBZJXoQJlZ/grfoQ0aulUR/hDeAyOU/bE2XjpzkNiYKhlMd7gEN3AC1iCjsYNL+6Nr82GVpn5XE0UsDYFJyZ//6zI4ldNnCcuYPNgyE9VabaUh0WuemkhdTe/SKIBOQfHSLFlEAZVWVGUQV/dvi5HY9Ie4nIHtUU1IdeNiCa+OB+KxIE5a9+2h5KJB2NPCyPt1TImqS/OiXaQlihEPsNOyKqbBiN/4LUPtixAGbnbdzBwmdP8Pt32Y1ehOyBoDxLv36R1hHP9Xn4C+KUX35lhpfToSRVvWvVUcDDZVq3kUnxPV22BTs3kgLG3rJ6Q=="; + buffet = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOA928bjB90FwkTLtQcPW1mP+QLViVfEVdMHg+7/8Fxh"; in { "secrets/borgpassword.age".publicKeys = [buffet]; } diff --git a/secrets/borgpassword.age b/secrets/borgpassword.age index 2089e31..80dd75e 100644 --- a/secrets/borgpassword.age +++ b/secrets/borgpassword.age @@ -1,17 +1,10 @@ age-encryption.org/v1 --> ssh-rsa 3ONyjg -UTq4McHWeqEvIq7nTAaPLC6EUp+UzuihSfNEroimDaM46dINxRxPmltikpQldbzA -ACgHOutO0oIG5VKNrb8AwBwjUp6daO7UhhVYPOByxy6Y4jVZOnPkY/+U0Btv5/M+ -iezYoPBwp7P6ATYiujfe7+JZWecpq18ArCmmOUsjYAyaS7lrFkgPDnAjPZLuP1ow -rL4lkGOnSeKq812PBFoeHtXLEAOOoUoSrCKM/pnFJVMOwoY0aXTwiUg09VBjbE2m -FXM1rWpElK+3mU+TtNLtlY+i4/PZ0M611mm1WoE6gKvWwAX7rQFg+LMbKxircM7o -yH6PwRM82qKvG79bMqtRviOkkkosRneAJs0a0CNWP5hAUebbGPM803yXVY5ahOEg -TlHN5SeDfAeC8E1ZgKNGn4StMqJaHgs1obBqqf7AhfpA6A54Vr8dVtCLlQrNmK5k -BfIzOs+AruRLsn0G3CsLl4xtFXriiqo1YL2otgfnNRRUI4cE+NDLxpLKhqxQoBA4 -b+j2zObfOBGyYyxvC5AXUEU/NTH5ZI9MT0+q5ZPM3oJc/LBqHxZLMT08LAbrjMew -9tx/B7kIwDKdWbXQnMWLc1R4biBcCLci0JNnqayTXDX9sFuE/ZtlynkEQNnblot8 -7kTUr7xS6z3DrYZ13UaFLykHgG6RG0akPLfQCceAMwI --> nK-grease K Li~\Elx DV6kZ" -Wz3P ---- 5u5c2AnSqsdte7OH1t+7BGld7cLWv3KFCZqVyMsAtkk - A*?I1XP?23 D`x.P5r{B |J#jvׁ"5|JF&UN1U~wʁݗM2WYpȨƴ v5% 9W;wЯrf)O$vw$6 \ No newline at end of file +-> ssh-ed25519 zRvPWg kFRBhVsPwM0Y7d/to2HZlK3QYa+rrJS663unhFYAUl8 +XqHrme+FUS3qEJODmbq3I5oNtUuIzD0KZZ84/HDoQrs +-> HZsYe9qT-grease T_?% t%Ew2u +Ib3oPsORNcIZYGWIyrDWH51rM2cWQJLz5U7oOVty+as+sFGGR5f/4EcD04B18jgC +egHRSNZkzQCDE2CUVJ8emfdHRl20oH0PzpElIHvKPwoyzrrmroFZs8nWnxmZkQ +--- 1OnkX3KPJ6tPSSUrQL22va6IQxq/wL5Q65//yX6+G88 +M`?c|/R9C| +Mݔlɦ-9 + K>S2#; \ No newline at end of file