@@ -28,15 +28,15 @@ exec litebastion -listen localhost:9444 -tls-cert localhost.pem -tls-key localho
2828waitfor localhost:9444
2929
3030# add a second log and configure it to use the second bastion
31- exec witnessctl add-sigsum-log -key=7c589ec3432005b91812adef062f4783ce95c6ff502048ce67063c1b84062e34
32- exec witnessctl add-bastion -origin=example .org/v1/tree/7c589ec3432005b91812adef062f4783ce95c6ff502048ce67063c1b84062e34 -bastion=localhost:9444
31+ exec witnessctl add-sigsum-log -key=018ba3481b45d6d420508e8a081e8e348850bf35549a8452670e2ab488a23ba0
32+ exec witnessctl add-bastion -origin=sigsum .org/v1/tree/7c589ec3432005b91812adef062f4783ce95c6ff502048ce67063c1b84062e34 -bastion=localhost:9444
3333
3434# reload litewitness to pick up new log and bastion
3535killall -SIGHUP litewitness
3636waitfor https://localhost:9444/e933707e0e36c30f01d94b5d81e742da373679d88eb0f85f959ccd80b83b992a/
3737
3838# test that accessing a log configured for bastion 9444 through bastion 9443 fails with 403
39- ! exec hurl --cacert rootCA.pem --test add-checkpoint-second-log.hurl
39+ exec hurl --cacert rootCA.pem --test add-checkpoint-second-log.hurl
4040
4141# check that litewitness shut down cleanly
4242killall
@@ -182,11 +182,11 @@ sigsum.org/v1/tree/7c589ec3432005b91812adef062f4783ce95c6ff502048ce67063c1b84062
1821821
183183KgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
184184
185- — sigsum.org/v1/tree/7c589ec3432005b91812adef062f4783ce95c6ff502048ce67063c1b84062e34
185+ — sigsum.org/v1/tree/7c589ec3432005b91812adef062f4783ce95c6ff502048ce67063c1b84062e34 FT0wb5DnnGeTROo5HF59wmElJqCDyeG7SSE7RekcamqB8ZnuRX88zeGCeQornqgvMB7SNhuwTYn/KsnnK/LDc1pLxw8=
186186```
187187HTTP 403
188188[Asserts]
189- body contains "wrong bastion"
189+ body contains "bad/missing bastion"
190190
191191POST https://localhost:9444/e933707e0e36c30f01d94b5d81e742da373679d88eb0f85f959ccd80b83b992a/add-checkpoint
192192```
@@ -196,6 +196,6 @@ sigsum.org/v1/tree/7c589ec3432005b91812adef062f4783ce95c6ff502048ce67063c1b84062
1961961
197197KgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
198198
199- — sigsum.org/v1/tree/7c589ec3432005b91812adef062f4783ce95c6ff502048ce67063c1b84062e34
199+ — sigsum.org/v1/tree/7c589ec3432005b91812adef062f4783ce95c6ff502048ce67063c1b84062e34 FT0wb5DnnGeTROo5HF59wmElJqCDyeG7SSE7RekcamqB8ZnuRX88zeGCeQornqgvMB7SNhuwTYn/KsnnK/LDc1pLxw8=
200200```
201201HTTP 200
0 commit comments