1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2025-03-30 20:04:35 +00:00

Update pkgs/sops-init-gpg-key/sops-init-gpg-key

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
Jörg Kütemeier 2023-01-11 10:00:33 +01:00 committed by GitHub
parent 0ef86b61ee
commit 7e0e679050
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,6 +83,9 @@ elif [[ "$KEYTYPE" == "RSA" ]]; then
Key-Type: 1
Key-Length: 2048
EOF
else
echo "unknown keytype '$KEYTYPE'"
exit 1
fi
cat >> "$GNUPGHOME/key-template" <<EOF