diff options
author | Denis Pynkin <denis.pynkin@collabora.com> | 2020-04-17 16:46:49 +0300 |
---|---|---|
committer | Denis Pynkin <denis.pynkin@collabora.com> | 2020-04-17 16:46:49 +0300 |
commit | 40a2fb3b076a5e6e5076c9d13359d79cc6adb467 (patch) | |
tree | 234bf63d5003d0ebba34827f902034c1f5057be9 /tests/test-signed-commit.sh | |
parent | 388c3033bcbf36c633fd28e4b10ca619d524c2fe (diff) | |
download | ostree-40a2fb3b076a5e6e5076c9d13359d79cc6adb467.tar.gz |
tests/signed-commit: fix the test of well-known places
Commit e474033e removed the redirection of incorrect public keys
aimed to generate a lot of files without correct public signature.
Fix the test by returning back the creation of files containing
incorrect public keys for ed25519.
Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com>
Diffstat (limited to 'tests/test-signed-commit.sh')
-rwxr-xr-x | tests/test-signed-commit.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-signed-commit.sh b/tests/test-signed-commit.sh index dd76f28f..4dcf38a4 100755 --- a/tests/test-signed-commit.sh +++ b/tests/test-signed-commit.sh @@ -182,7 +182,7 @@ echo "ok sign with ed25519 keys file" mkdir -p ${test_tmpdir}/{trusted,revoked}.ed25519.d for((i=0;i<100;i++)); do # Generate some key files with random public signatures - gen_ed25519_random_public + gen_ed25519_random_public > ${test_tmpdir}/trusted.ed25519.d/signature_$i done # Check no valid public keys are available if ${CMD_PREFIX} ostree --repo=${test_tmpdir}/repo sign --verify --sign-type=ed25519 --keys-dir=${test_tmpdir} ${COMMIT}; then |