File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ mkdir -p etc/ssh var/lib/secrets
4848SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
4949
5050umask 0177
51- sops --extract ' ["initrd_ssh_key"]' -d " $SCRIPT_DIR /secrets.yaml" > ./var/lib/secrets/initrd_ssh_key
51+ sops --extract ' ["initrd_ssh_key"]' --decrypt " $SCRIPT_DIR /secrets.yaml" > ./var/lib/secrets/initrd_ssh_key
5252
5353# restore umask
5454umask 0022
@@ -59,7 +59,7 @@ for keyname in ssh_host_rsa_key ssh_host_rsa_key.pub ssh_host_ed25519_key ssh_ho
5959 else
6060 umask 0177
6161 fi
62- sops --extract ' ["' $keyname ' "]' -d " $SCRIPT_DIR /secrets.yaml" > " ./etc/ssh/$keyname "
62+ sops --extract ' ["' $keyname ' "]' --decrypt " $SCRIPT_DIR /secrets.yaml" > " ./etc/ssh/$keyname "
6363done
6464```
6565
@@ -72,7 +72,7 @@ set -euo pipefail
7272
7373SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
7474cd " $SCRIPT_DIR "
75- sops --extract ' ["zfs-key"]' -d " $SCRIPT_DIR /secrets.yaml" > " ./etc/ssh/ $keyname "
75+ sops --extract ' ["zfs-key"]' --decrypt " $SCRIPT_DIR /secrets.yaml"
7676```
7777
7878## See also
You can’t perform that action at this time.
0 commit comments