-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Increase test coverage for HMAC #132388
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
Labels
extension-modules
C modules in the Modules dir
stdlib
Python modules in the Lib dir
tests
Tests in the Lib/test dir
type-feature
A feature request or enhancement
Comments
picnixz
added a commit
that referenced
this issue
Apr 12, 2025
- Correctly test missing `digestmod` and `digest` parameters. - Test when chunks of length > 2048 are passed to `update()`. - Test one-shot HMAC-BLAKE2.
picnixz
added a commit
that referenced
this issue
Apr 26, 2025
picnixz
added a commit
that referenced
this issue
May 16, 2025
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
May 16, 2025
… HMAC (pythonGH-134051) (cherry picked from commit 73d71a4) Co-authored-by: Bénédikt Tran <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
extension-modules
C modules in the Modules dir
stdlib
Python modules in the Lib dir
tests
Tests in the Lib/test dir
type-feature
A feature request or enhancement
Uh oh!
There was an error while loading. Please reload this page.
Feature or enhancement
Proposal:
After implementing HACL* HMAC in #99108, I've observed that I didn't test all code paths and that some tests I assumed were a bit incorrect (some redundancy was done). This is an issue to track all improvements done to HMAC tests (I'm planning to target an almost 100% coverage), but I'll close it when nothing needs to be done "for now".
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
Lib/test/test_hmac.py
#132480test_hmac.py
#133008The text was updated successfully, but these errors were encountered: