Thanks to visit codestin.com
Credit goes to github.com

Skip to content

improve KindVersion compatibility #1370

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

ramonpetgrave64
Copy link
Contributor

Client support for Rekor V2: sigstore-python

Resolves #1369

Summary

  • Changes _from_response() to parse the KindVersion from the responses canonicalized json body and cache it.
  • Cahnges _from_dict_rekor() and _to_rekor() to store and reuse the cached KindVersion.

Release Note

  • Added LogEntry.kind_version, which is now parsed earlier upon receipt from the rekor API,
    either from the root of the response, or from the reponse's inner base64-encoded JSON body.

Documentation

None

Signed-off-by: Ramon Petgrave <[email protected]>
This reverts commit 79a6d31.

Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
@ramonpetgrave64
Copy link
Contributor Author

@woodruffw

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.

Parsing KindVersion in rekor V2
1 participant