nixos/tests: use sensible key type for gpg keyring

If someone blindly copies this code, at least they have a sensible key
type.
This commit is contained in:
nikstur 2023-07-18 11:05:16 +02:00
parent 7e522a81ef
commit 5750660f25

View File

@ -6,10 +6,8 @@ pkgs.runCommand "gpg-keyring" { nativeBuildInputs = [ pkgs.gnupg ]; } ''
cat > foo <<EOF
%echo Generating a basic OpenPGP key
%no-protection
Key-Type: DSA
Key-Length: 1024
Subkey-Type: ELG-E
Subkey-Length: 1024
Key-Type: EdDSA
Key-Curve: ed25519
Name-Real: Bob Foobar
Name-Email: bob@foo.bar
Expire-Date: 0