You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TestVerify go test fails currently off master(6106ac9):
$ go test -v -run TestVerify ./fetcher
=== RUN TestVerify
t=2024-03-27T19:23:42+0000 lvl=eror msg="Signature verification failed: verifyTopologySignature" err="unable to validate certificate chain: exit status 1"
--- FAIL: TestVerify (0.03s)
FAIL
FAIL github.com/netsec-ethz/bootstrapper/fetcher 0.032s
FAIL
If you incorporate the more verbose output from #18 its explains the error in more detail (certificate expiration):
$ go test -v ./fetcher
=== RUN TestVerify
t=2024-03-27T19:22:11+0000 lvl=eror msg="Signature verification failed: verifyTopologySignature" err="unable to validate certificate chain: Error: verification failed: chain did not verify against any selected TRC {errors=[verifying chain {trc_base=1; trc_serial=1}: x509: certificate has expired or is not yet valid: current time 2024-03-27T19:22:11Z is after 2024-02-15T14:44:03Z]}\n exit status 1"
--- FAIL: TestVerify (0.02s)
=== RUN TestExtractSignerInfo
--- PASS: TestExtractSignerInfo (0.01s)
=== RUN TestWipeInsecureSymlinks
--- PASS: TestWipeInsecureSymlinks (0.00s)
FAIL
FAIL github.com/netsec-ethz/bootstrapper/fetcher 0.037s
FAIL
This can be also verified if you look at the temporary files generated for the test:
$ cd /tmp/bootstrapper-cppki-tests_<uuid>
$ scion-pki certificate verify --trc certs/ISD17-B1-S1.trc bootstrapper/verify-1711563260/as_cert_chain.pem
Error: verification failed: chain did not verify against any selected TRC {errors=[verifying chain {trc_base=1; trc_serial=1}: x509: certificate has expired or is not yet valid: current time 2024-03-27T19:26:49Z is after 2024-02-15T14:44:03Z]}
And I can confirm the TRC is valid but the as cert chain is not:
Description
TestVerify go test fails currently off
master
(6106ac9):If you incorporate the more verbose output from #18 its explains the error in more detail (certificate expiration):
This can be also verified if you look at the temporary files generated for the test:
And I can confirm the TRC is valid but the as cert chain is not:
TRC:
AS cert chain:
Expected Behavior
The text was updated successfully, but these errors were encountered: