diff options
author | nikstur <nikstur@outlook.com> | 2023-07-18 11:05:16 +0200 |
---|---|---|
committer | nikstur <nikstur@outlook.com> | 2023-07-26 20:32:51 +0200 |
commit | 5750660f2562b5f095c560a33b80782ac9d1aadc (patch) | |
tree | c65218b6a3fecbce9b1173bb731dae32f5bf1585 | |
parent | 7e522a81ef99a2e7ce0b86bd2c5fd33233e464fe (diff) |
nixos/tests: use sensible key type for gpg keyring
If someone blindly copies this code, at least they have a sensible key type.
-rw-r--r-- | nixos/tests/common/gpg-keyring.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nixos/tests/common/gpg-keyring.nix b/nixos/tests/common/gpg-keyring.nix index 50b5846b0965c..fb8d07b1183e0 100644 --- a/nixos/tests/common/gpg-keyring.nix +++ b/nixos/tests/common/gpg-keyring.nix @@ -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 |