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:
parent
0ef86b61ee
commit
7e0e679050
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue