diff options
author | Attila Lendvai <attila@lendvai.name> | 2021-12-21 22:56:10 +0100 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-12-22 10:53:19 +0100 |
commit | 9ebc9ca070a21ba0aeb3f61202a8071bb250ccc8 (patch) | |
tree | f29313e0c83112cf7aceeec893f1ee68135af78b /build-aux | |
parent | 5b8ae331f73d970e29566b82c9fe36aa0d77ccb7 (diff) | |
download | guix-9ebc9ca070a21ba0aeb3f61202a8071bb250ccc8.tar guix-9ebc9ca070a21ba0aeb3f61202a8071bb250ccc8.tar.gz |
tests: Move keys into ./tests/keys/ and add a third ed25519 key.
The third key will be used in an upcoming commit.
Rename public keys to .pub.
* guix/tests/gnupg.scm (%ed25519-3-public-key-file): New variable.
(%ed25519-3-secret-key-file): New variable.
(%ed25519-2-public-key-file): Renamed from %ed25519bis-public-key-file.
(%ed25519-2-secret-key-file): Renamed from %ed25519bis-secret-key-file.
* tests/keys/ed25519-3.key: New file.
* tests/keys/ed25519-3.sec: New file.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/test-env.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build-aux/test-env.in b/build-aux/test-env.in index 7efc43206c..ca786437e9 100644 --- a/build-aux/test-env.in +++ b/build-aux/test-env.in @@ -73,9 +73,9 @@ then # Copy the keys so that the secret key has the right permissions (the # daemon errors out when this is not the case.) mkdir -p "$GUIX_CONFIGURATION_DIRECTORY" - cp "@abs_top_srcdir@/tests/signing-key.sec" \ - "@abs_top_srcdir@/tests/signing-key.pub" \ - "$GUIX_CONFIGURATION_DIRECTORY" + cp "@abs_top_srcdir@/tests/keys/signing-key.sec" \ + "@abs_top_srcdir@/tests/keys/signing-key.pub" \ + "$GUIX_CONFIGURATION_DIRECTORY" chmod 400 "$GUIX_CONFIGURATION_DIRECTORY/signing-key.sec" fi |