Skip to content

Refactor Rekor request building #1404

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

Closed

Conversation

ramonpetgrave64
Copy link
Contributor

Client support for Rekor V2: sigstore-python #289

Followup to #1400

Summary

Refactors the code for creating entry requests into _build_dsse_request() and _build_hashed_rekord_request().
The new RekorV2Client also implements these methods, so we expect this change to allow RekorV2Client allow to integrate well with Signer. sign_artifact() and Signer. sign_dsse().

Testing,

Tests for implementations in RekorV2Client already exist, and there are many pre-existing tests that call the same codepaths for the original RekorClient, so I think no new tests are needed.

Release Note

  • Refactored the code for creating requests to rekor into common methods for both the original RekorClient
    and the new RekorV2Client.

Documentation

Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
@ramonpetgrave64 ramonpetgrave64 changed the title Rekov2 client base class Refactor Rekor request building May 21, 2025
@ramonpetgrave64
Copy link
Contributor Author

closing, adding these changes to #1400

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.

1 participant