Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows builds panic due to a lack of support for system-level CA pool #51

Closed
daniel-007 opened this issue Oct 19, 2021 · 1 comment · Fixed by #52
Closed

Windows builds panic due to a lack of support for system-level CA pool #51

daniel-007 opened this issue Oct 19, 2021 · 1 comment · Fixed by #52
Labels
kind/bug Something is broken or regressed priority/2 medium This needs to be done

Comments

@daniel-007
Copy link

daniel-007 commented Oct 19, 2021

zed version: zed 0.1.2
system: window 10 64
use command "zed schema read", there is error info :

panic: crypto/x509: system root pool is not available on Windows
goroutine 1 [running]:
github.com/authzed/grpcutil.WithSystemCerts(0x40)
        /Users/runner/go/pkg/mod/github.com/authzed/grpcutil@v0.0.0-20210913124023-cad23ae5a9e8/dial_opts.go:28 +0x49
main.dialOptsFromFlags(0xacba20, {0xc00048e000, 0x10})
        cmd/zed/main.go:37 +0x40a
main.schemaReadCmdFunc(0x134a6a0, {0x13bb5f8, 0x0, 0x0})
        cmd/zed/schema.go:69 +0x245
github.com/spf13/cobra.(*Command).execute(0x134a6a0, {0x13bb5f8, 0x0, 0x0})
        /Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:856 +0x60e
github.com/spf13/cobra.(*Command).ExecuteC(0xc0003ecf00)
        /Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:974 +0x3bc
github.com/spf13/cobra.(*Command).Execute(...)
        /Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:902
main.main()
        cmd/zed/main.go:93 +0x459
@jzelinskie jzelinskie added kind/bug Something is broken or regressed priority/2 medium This needs to be done labels Oct 19, 2021
@jzelinskie
Copy link
Member

This certainly also affects SpiceDB.
Here's the upstream Go issue: golang/go#16736

@jzelinskie jzelinskie changed the title panic on windows Windows builds panic due to a lack of support for system-level CA pool Oct 19, 2021
@jzelinskie jzelinskie linked a pull request Oct 21, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something is broken or regressed priority/2 medium This needs to be done
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants