Skip to content
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

Add SHA256 hash #93

Merged
merged 4 commits into from
Dec 18, 2024
Merged

Add SHA256 hash #93

merged 4 commits into from
Dec 18, 2024

Conversation

DarkaMaul
Copy link
Collaborator

Support setting SHA256 as a Hash function for the request.

Comment on lines +667 to 668
#[pyo3(signature = (data, nonce, cert, hash_algorithm=None))]
pub(crate) fn create_timestamp_request(
Copy link
Member

Choose a reason for hiding this comment

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

Nitpick, nonblocking: it's unfortunate that the default here is None instead of HashAlgorithm.SHA512, but I don't think PyO3 would allow us to set the latter anyways.

Not a blocker.

Copy link
Member

@woodruffw woodruffw left a comment

Choose a reason for hiding this comment

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

LGTM, nice work @DarkaMaul!

@DarkaMaul DarkaMaul merged commit 68a5770 into main Dec 18, 2024
36 checks passed
@DarkaMaul DarkaMaul deleted the dm/add-sha256 branch December 18, 2024 10:31
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