From 2cdb21df93c277968d6acbb471751bf5e61c944d Mon Sep 17 00:00:00 2001 From: sstent Date: Fri, 19 Jan 2024 02:31:50 +0000 Subject: [PATCH] sync --- dotfiles/sstent/justfile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/dotfiles/sstent/justfile b/dotfiles/sstent/justfile index 425b958..090703d 100644 --- a/dotfiles/sstent/justfile +++ b/dotfiles/sstent/justfile @@ -1,22 +1,18 @@ bootstrap-repos: mr --trust-all bootstrap /run/user/1000/secrets/mrconfig + + update-secret-mr: #!/usr/bin/env bash cd ~/vmimages cp secrets/user_dotfiles/mrconfig secrets/user_dotfiles/mrconfig_old cp ~/.mrconfig secrets/user_dotfiles/mrconfig sops -e --input-type binary -i secrets/user_dotfiles/mrconfig -# sops -e --input-type binary secrets/hosts/StuPC/mullvad/device.json -# $ sops -e -o krb5.keytab -# # an example of what this might result in: -# $ head krb5.keytab +#Keep and eye on -https://github.com/getsops/sops/issues/594 +# new version adds "--filename-override option -# It can be decrypted again like this: - -# $ sops -d krb5.keytab > /tmp/krb5.keytab - sops-updatekeys: #!/usr/bin/env bash cd ~/vmimages