-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix: remove signing certificate output #160
Conversation
Signed-off-by: Asra Ali <asraa@google.com>
Signed-off-by: Asra Ali <asraa@google.com>
Signed-off-by: Asra Ali <asraa@google.com>
lots of really interesting error messages in the log. One I had not seen before: May be useful to separate the list of message by a comma. I created #161 to improve the logging we have and make it more structured / standard. |
Oh, the error messages were from #159, not this PR. error messages were added with a separated comma: https://github.com/asraa/slsa-verifier/blob/0c6f7c68bde9fd305579e11f86e40a79019e2451/pkg/rekor.go#L394 Maybe a newline? I"ll do that in the follow-up, not this PR |
I saw this one too, and I realize it's likely because there was no certificate PEM in the intoto envelope for the older builder tests. So rekor fails to decode the empty string PEM. Just added an error condition to prevent Rekor query if the cert is empty, so that'll be a clearer error message. |
Signed-off-by: Asra Ali <asraa@google.com>
Ready to merge? |
Yes! |
* remove signing certificate output Signed-off-by: Asra Ali <asraa@google.com>
Signed-off-by: Asra Ali asraa@google.com
Fixes #156
Updates README.md with the new output.