aboutsummaryrefslogtreecommitdiff
path: root/tests/auth.testscript
blob: bf132f08c3f524aa4243e211c56931f61a5b9d71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# file      : tests/auth.testscript
# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

# OpenSSL passwordless private key.
#
key = $src_base/auth/key.pem

# Repository certificate generated with the above private key.
#
cert = $src_base/auth/default-cert.pem

# Repository certificate fingerprint.
#
+set cert_fp <<<$src_base/auth/default-cert-fp

# Manifest certificate name/value. Can be appended to the repositories.manifest
# file to sign the repository.
#
cert_manifest = $~/cert-manifest
+echo 'certificate: \' >=$cert_manifest
+cat  <<<$cert         >+$cert_manifest
+echo '\'              >+$cert_manifest