From 7e0e6790503c7bd7a51eff0c7442a2c3a1e09ddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20K=C3=BCtemeier?= Date: Wed, 11 Jan 2023 10:00:33 +0100 Subject: [PATCH] Update pkgs/sops-init-gpg-key/sops-init-gpg-key MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jörg Thalheim --- pkgs/sops-init-gpg-key/sops-init-gpg-key | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/sops-init-gpg-key/sops-init-gpg-key b/pkgs/sops-init-gpg-key/sops-init-gpg-key index 821ae8d..1d4a28f 100755 --- a/pkgs/sops-init-gpg-key/sops-init-gpg-key +++ b/pkgs/sops-init-gpg-key/sops-init-gpg-key @@ -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" <