security: restrict bootstrap state permissions
This commit is contained in:
parent
3229c2a1c3
commit
86ab958911
@ -1,5 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
umask 077
|
||||
|
||||
ca_key=${BOOTSTRAP_SSH_CA_KEY:-/var/lib/cangku-bootstrap/ssh_user_ca}
|
||||
if [ ! -f "$ca_key" ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user