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

Fix pkcs11ca with no cgo compilation bug #898

Merged
merged 1 commit into from
Nov 24, 2022

Conversation

priyawadhwa
Copy link
Contributor

Was seeing this bug on my M1 when running ko build ., since PKCS11CA needs to be redefined for the no-cgo case. The error was:

$ ko build .

pkg/ca/pkcs11ca/pkcs11canocgo.go:26:2: undefined: baseca

We define type PKCS11CA struct for the cgo case here, so this just does the same for the no-cgo case:

type PKCS11CA struct {
baseca.BaseCA
}

Signed-off-by: Priya Wadhwa [email protected]

Was seeing this bug on my M1 when running `ko build .`, since `PKCS11CA` needs to be redefined for the no-cgo case:

```
../fulcio/pkg/ca/pkcs11ca/pkcs11canocgo.go:26:2: undefined: baseca
```

Signed-off-by: Priya Wadhwa <[email protected]>
@priyawadhwa priyawadhwa requested a review from vaikas November 24, 2022 01:52
@codecov-commenter
Copy link

Codecov Report

Merging #898 (99fdfc0) into main (81ecec8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #898   +/-   ##
=======================================
  Coverage   55.63%   55.63%           
=======================================
  Files          38       38           
  Lines        2333     2333           
=======================================
  Hits         1298     1298           
  Misses        939      939           
  Partials       96       96           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@haydentherapper haydentherapper merged commit 8c427fe into sigstore:main Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants