Skip to content

Add a hash algorithm method to the KMS clients#1426

Draft
malancas wants to merge 20 commits intosigstore:mainfrom
malancas:kms-hash-func-method
Draft

Add a hash algorithm method to the KMS clients#1426
malancas wants to merge 20 commits intosigstore:mainfrom
malancas:kms-hash-func-method

Conversation

@malancas
Copy link
Copy Markdown
Contributor

@malancas malancas commented Oct 3, 2023

Summary

Opened as part of a discussion on sigstore/timestamp-authority#488, this adds a HashFunc method (open to any name suggestions) to the KMS clients. This method will return the hash algorithm used with the signing key. I opened this so we could use the signing key has function in sigstore/timestamp-authority without having to pass the hash function as a flag to the server. See this PR for how the new KMS method is used in the TSA.

Release Note

Documentation

Signed-off-by: Meredith Lancaster <[email protected]>
Signed-off-by: Meredith Lancaster <[email protected]>
Signed-off-by: Meredith Lancaster <[email protected]>
Signed-off-by: Meredith Lancaster <[email protected]>
Signed-off-by: Meredith Lancaster <[email protected]>
Signed-off-by: Meredith Lancaster <[email protected]>
Signed-off-by: Meredith Lancaster <[email protected]>
Signed-off-by: Meredith Lancaster <[email protected]>
@malancas malancas marked this pull request as ready for review December 4, 2023 21:10
Copy link
Copy Markdown
Contributor

@Hayden-IO Hayden-IO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall, just a question about the interface change

Signed-off-by: Meredith Lancaster <[email protected]>
@Hayden-IO
Copy link
Copy Markdown
Contributor

The failure might be due to a aws mock that needs to be updated since there are different calls being made, though i haven't looked closely.

@malancas
Copy link
Copy Markdown
Contributor Author

malancas commented Jan 5, 2024

The failure might be due to a aws mock that needs to be updated since there are different calls being made, though i haven't looked closely.

Agreed, I'm going to take closer look at the aws mock.

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.

2 participants