mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-25 14:41:44 +00:00
sync
This commit is contained in:
@@ -1,22 +1,18 @@
|
|||||||
bootstrap-repos:
|
bootstrap-repos:
|
||||||
mr --trust-all bootstrap /run/user/1000/secrets/mrconfig
|
mr --trust-all bootstrap /run/user/1000/secrets/mrconfig
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
update-secret-mr:
|
update-secret-mr:
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
cd ~/vmimages
|
cd ~/vmimages
|
||||||
cp secrets/user_dotfiles/mrconfig secrets/user_dotfiles/mrconfig_old
|
cp secrets/user_dotfiles/mrconfig secrets/user_dotfiles/mrconfig_old
|
||||||
cp ~/.mrconfig secrets/user_dotfiles/mrconfig
|
cp ~/.mrconfig secrets/user_dotfiles/mrconfig
|
||||||
sops -e --input-type binary -i 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
|
#Keep and eye on -https://github.com/getsops/sops/issues/594
|
||||||
# $ sops -e -o krb5.keytab
|
# new version adds "--filename-override option
|
||||||
# # an example of what this might result in:
|
|
||||||
# $ head krb5.keytab
|
|
||||||
|
|
||||||
|
|
||||||
# It can be decrypted again like this:
|
|
||||||
|
|
||||||
# $ sops -d krb5.keytab > /tmp/krb5.keytab
|
|
||||||
|
|
||||||
sops-updatekeys:
|
sops-updatekeys:
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
cd ~/vmimages
|
cd ~/vmimages
|
||||||
|
|||||||
Reference in New Issue
Block a user