From 411cb5958e1f5ee76e24525219a3b752d706ff99 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 3 May 2024 14:03:42 +0200 Subject: [PATCH] Update `default_password` to include a hash instead of plain text --- flake.nix | 1 + secrets/global.yaml | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 251c7da..3d7936f 100644 --- a/flake.nix +++ b/flake.nix @@ -101,6 +101,7 @@ ]; packages = [ + mkpasswd nixos-rebuild sops sops-import-keys-hook diff --git a/secrets/global.yaml b/secrets/global.yaml index eafb09e..8dd0d56 100644 --- a/secrets/global.yaml +++ b/secrets/global.yaml @@ -1,4 +1,4 @@ -default_password: ENC[AES256_GCM,data:D9AJ9ql/aMo=,iv:Up8KQaInTGK/BKtEmgeWwII+Nc56h7STL0WbGUyS0SQ=,tag:24OI6GqLTMEJavOIrirNJQ==,type:str] +default_password: ENC[AES256_GCM,data:u6AqBJh7B4ZZH3ajoxlAeqNAbIQSCubPXpbL/mgLy1ma8JQmgX3rCHWog+AqMDJmjmjzaPGDvs5LDfAEKg8fNcmBXg9QU10M2w==,iv:JGTLsMHMPQ/kswvwQQLmQhP1Evb8sAM/vC0LUFjmaMA=,tag:LrsYykB/5J8NKs//vf+xjQ==,type:str] sops: kms: [] gcp_kms: [] @@ -23,8 +23,8 @@ sops: cWhKRU1PU1VDRHdoOW44a1RtcGJwbWMKb4O/kGQ9pEtMZppDSwMBmdrjWWKIze21 PY/ftEeb0Ll1RoSJGYqgS8B9WcRg0ZRDqi4GVz5Gz/vKuli5VMLIQw== -----END AGE ENCRYPTED FILE----- - lastmodified: "2024-05-03T10:03:31Z" - mac: ENC[AES256_GCM,data:j743pKU+4wOiph/mHfA09+XZpBAUQQKn5b3VW7qitKc3r0RnFm/Qn7q5Z+mr1AefZ1oEGAIJoJnZI0ICXQpjdxhmnn7EAwqHvvCKuiywepcSCfBmi6UQEswde8YHvuebj6Bzg/JljrnSgL78O+G+e87eRrhJjSpfCBVOTkuA5EE=,iv:yCqBVq7KCktsF2js5JGah1Ht+DYiRhKRnLutUMt78MM=,tag:HJ5sQmtKX+I2whriBusc5w==,type:str] + lastmodified: "2024-05-03T11:55:21Z" + mac: ENC[AES256_GCM,data:OmL25eALWEiT6fQ2xpXHYSlmHeaAJcGswmhTBMcHo8Xil8Rh2tIXWByWmzjp8QpeZcnYpJwzDF4Iw7t0y6OkghiXugPeqJATTRe5SmLh8RN1vaNnl/6cPjhoPGhTwRdIecKzQp+HvJjl+0nZaVABuozEWBw3xioOKxL0LqEC04w=,iv:D/MGv4zpjy9Fgg8OKfpyfwQyOfPEdR0QcjejYx/KEdk=,tag:wcuU6WNHlft+foPC/GvICQ==,type:str] pgp: - created_at: "2024-05-03T10:03:20Z" enc: |-