with base64 unwrap

This commit is contained in:
Kasper Juul Hermansen 2022-08-14 22:00:03 +02:00
parent 7e4ad58683
commit a27b2bd883
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -9,7 +9,7 @@ fi
if [ -n "$SSH_KEY" ]; then
SSH_KEY_ID="$HOME/.ssh/id_ed25519"
echo $SSH_KEY > $SSH_KEY_ID
echo $SSH_KEY | base64 -d > $SSH_KEY_ID
chmod 600 $SSH_KEY_ID