GetIssuer
just panics rather than issuing a useful error when there's no networking
#480
Labels
bug
Something isn't working
Description
GetIssuer
panics when there's no network accesshttps://github.com/sigstore/fulcio/blob/v0.2.0/pkg/config/config_test.go#L104
To reproduce
go mod vendor
so we have the dependencies availabledocker run -v $PWD:/fulcio --network=none -it golang
cd /fulcio
andgo test ./... -v
Remediation
There should probably be an error that's more useful than a panic
Also it'd be nice for all tests that require networking to be tagged so we can avoid them within our hermetic nix build environment that doesn't have network access 🙂
The text was updated successfully, but these errors were encountered: