diff --git a/go/lib/infra/modules/trust/signhelper_test.go b/go/lib/infra/modules/trust/signhelper_test.go index c37d6fa821..520b808a56 100644 --- a/go/lib/infra/modules/trust/signhelper_test.go +++ b/go/lib/infra/modules/trust/signhelper_test.go @@ -26,6 +26,7 @@ import ( "github.com/scionproto/scion/go/lib/ctrl" "github.com/scionproto/scion/go/lib/scrypto" "github.com/scionproto/scion/go/lib/scrypto/cert" + "github.com/scionproto/scion/go/lib/scrypto/trc" "github.com/scionproto/scion/go/lib/xtest" "github.com/scionproto/scion/go/proto" ) @@ -74,6 +75,10 @@ func TestBasicVerifierVerify(t *testing.T) { Signature: []byte("signature"), }, }) + store.trustdb.InsertTRC(context.Background(), &trc.TRC{ + ISD: ia110.I, + Version: 1, + }) require.NoError(t, err) verifier := NewBasicVerifier(store) src := ctrl.SignSrcDef{