Open steakunderscore opened 5 years ago
Note that gcloud made this change in v261.0.0
Hi @steakunderscore,
Kritis currently supports v1beta1
Attestations, which actually have the GenericSignedAttestation
: https://github.com/grafeas/grafeas/blob/master/proto/v1beta1/attestation.proto#L172. You're right that Kritis currently doesn't demonstrate how to use them and the codebase assumes PGP signed attestation. To address this, we'd need to update the code to support GenericSignedAttestation
and add documentation. Contributions are welcome!
Hi @aysylu,
I went to take a look at this, but it seems the googleapis proto is out of sync. Then I came across this issue stating that it's an internal process to sync these.
Can you take a look in to getting these updated so we can progress on this. Thanks.
Hi @steakunderscore,
Great point. I'm on it, will update this thread when it's done.
Thanks, Aysylu
Hi @steakunderscore,
I'm back from vacation, continuing the work on this. Will post updates soon.
Thanks, Aysylu
@steakunderscore: quick update that the final step of re-generating client libraries is WIP. I'll update this thread when it's completed.
@steakunderscore: the v1beta1 go client has been updated: https://github.com/googleapis/go-genproto/pull/281. Big thanks to @jadekler for the help in the process.
There's a related issue in #427 to support the GenericSignedAttestation
fully. Let's track the remaining work there, but please feel free to re-open this issue if it hasn't been fully addressed, or open a new one.
Happy holidays!
I think that #427 doesn't cover the remaining work here. #427 is about fixing a bug in PgpSignedAttestation.
Let's reopen this issue to track the work of supporting attestations represented as GenericSignedAttestation.
Is your feature request related to a problem? Please describe.
gcloud
creates attestations using thegenericSignedAttestation
rather thanpgpSignedAttestation
(docs). Kritis doesn't seem to support these attestation as there's no mention of in the repo.Command to create such attestation:
Which produces:
Describe the solution you'd like Kritis should switch to supporting these attestations too. I would also suggest that attestations Kritis creates use the new format.
Describe alternatives you've considered
Additional context The protobufs are also out of date, this might need solving first