summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorAttila Lendvai <attila@lendvai.name>2021-12-21 22:56:10 +0100
committerMathieu Othacehe <othacehe@gnu.org>2021-12-22 10:53:19 +0100
commit9ebc9ca070a21ba0aeb3f61202a8071bb250ccc8 (patch)
treef29313e0c83112cf7aceeec893f1ee68135af78b /build-aux
parent5b8ae331f73d970e29566b82c9fe36aa0d77ccb7 (diff)
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.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-aux/test-env.in b/build-aux/test-env.in
index 7efc43206c2..ca786437e99 100644
--- a/build-aux/test-env.in
+++ b/build-aux/test-env.in
@@ -73,9 +73,9 @@ then
73 # Copy the keys so that the secret key has the right permissions (the 73 # Copy the keys so that the secret key has the right permissions (the
74 # daemon errors out when this is not the case.) 74 # daemon errors out when this is not the case.)
75 mkdir -p "$GUIX_CONFIGURATION_DIRECTORY" 75 mkdir -p "$GUIX_CONFIGURATION_DIRECTORY"
76 cp "@abs_top_srcdir@/tests/signing-key.sec" \ 76 cp "@abs_top_srcdir@/tests/keys/signing-key.sec" \
77 "@abs_top_srcdir@/tests/signing-key.pub" \ 77 "@abs_top_srcdir@/tests/keys/signing-key.pub" \
78 "$GUIX_CONFIGURATION_DIRECTORY" 78 "$GUIX_CONFIGURATION_DIRECTORY"
79 chmod 400 "$GUIX_CONFIGURATION_DIRECTORY/signing-key.sec" 79 chmod 400 "$GUIX_CONFIGURATION_DIRECTORY/signing-key.sec"
80 fi 80 fi
81 81