1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-14 11:57:52 +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:25 +01:00 committed by GitHub
parent 08a2634b42
commit 0ef86b61ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,7 @@ Subkey-Type: ecdh
Subkey-Curve: Curve25519
Subkey-Usage: encrypt
EOF
else
elif [[ "$KEYTYPE" == "RSA" ]]; then
cat >> "$GNUPGHOME/key-template" <<EOF
Key-Type: 1
Key-Length: 2048