summaryrefslogtreecommitdiff
path: root/tests/test-signed-pull.sh
diff options
context:
space:
mode:
authorDenis Pynkin <denis.pynkin@collabora.com>2019-11-25 19:50:07 +0000
committerDenis Pynkin <denis.pynkin@collabora.com>2020-03-25 15:23:54 +0300
commit5dca74fab7a5419e4151de4b13de8a351b8b724b (patch)
treeb4e18e1d898d9acdbdf77d9a5ca1285ef9f22ea2 /tests/test-signed-pull.sh
parent3063a0a838981aa0e04e6f2acb2cc78ce6bb068d (diff)
downloadostree-5dca74fab7a5419e4151de4b13de8a351b8b724b.tar.gz
tests/sign: add verification key for pulling with dummy
After splitting out the common key to secret/public inside the dummy engine we need to pass the the public key for remote with dummy engine usage. Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com>
Diffstat (limited to 'tests/test-signed-pull.sh')
-rwxr-xr-xtests/test-signed-pull.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-signed-pull.sh b/tests/test-signed-pull.sh
index 28676b21..e57a40f3 100755
--- a/tests/test-signed-pull.sh
+++ b/tests/test-signed-pull.sh
@@ -34,7 +34,7 @@ function repo_init() {
rm repo -rf
mkdir repo
ostree_repo_init repo --mode=${repo_mode}
- ${CMD_PREFIX} ostree --repo=repo remote add --set=gpg-verify=false origin $(cat httpd-address)/ostree/gnomerepo "$@"
+ ${CMD_PREFIX} ostree --repo=repo remote add --set=gpg-verify=false --set=sign-verify-summary=false origin $(cat httpd-address)/ostree/gnomerepo "$@"
}
function test_signed_pull() {
@@ -66,6 +66,7 @@ function test_signed_pull() {
DUMMYSIGN="dummysign"
COMMIT_ARGS="--sign=${DUMMYSIGN} --sign-type=dummy"
repo_init --set=sign-verify=true
+${CMD_PREFIX} ostree --repo=repo config set 'remote "origin"'.verification-key "${DUMMYSIGN}"
test_signed_pull "dummy"