forked from mirrors/nixpkgs
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:
parent
7e522a81ef
commit
5750660f25
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue