Skip to content

gh-155428: align hmac.digest and hmac.HMAC.digest outputs when using small block sizes - #155429

Merged
picnixz merged 3 commits into
python:mainfrom
picnixz:meta/crypto/py/hmac/54-digest-direct-invalid-155428
Oct 21, 2026
Merged

picnixz merged 3 commits into
python:mainfrom
picnixz:meta/crypto/py/hmac/54-digest-direct-invalid-155428

Conversation

@picnixz

@picnixz picnixz commented Aug 9, 2026 •

Copy link
Copy Markdown
Member

I still need to add tests but I don't have time today.

@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @picnixz for commit 52660b0 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F155429%2Fmerge

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Aug 9, 2026
@picnixz

picnixz commented Aug 9, 2026

Copy link
Copy Markdown
Member Author

Ah crap. Wrong PR. I didn't want to request the buildbot fleet for this PR...

@gpshead gpshead left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

wow .block_size vs .blocksize is confusing.

@picnixz picnixz self-assigned this Oct 19, 2026
@picnixz
picnixz marked this pull request as ready for review October 19, 2026 20:04
@picnixz picnixz added the sprint label Oct 20, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Sprint Oct 20, 2026
@github-project-automation github-project-automation Bot moved this from Todo to In Progress in Sprint Oct 20, 2026
@picnixz picnixz added needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes labels Oct 21, 2026
@picnixz
picnixz merged commit 815dc47 into python:main Oct 21, 2026
63 checks passed
@picnixz
picnixz deleted the meta/crypto/py/hmac/54-digest-direct-invalid-155428 branch October 21, 2026 17:06
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Sprint Oct 21, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @picnixz for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Oct 21, 2026

Copy link
Copy Markdown

GH-160060 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Oct 21, 2026
@bedevere-app

bedevere-app Bot commented Oct 21, 2026

Copy link
Copy Markdown

GH-160061 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Oct 21, 2026
picnixz added a commit that referenced this pull request Oct 21, 2026
…when using small block sizes (GH-155429) (#160061)

gh-155428: align `hmac.digest` and `hmac.HMAC.digest` outputs when using  small block sizes (GH-155429)
(cherry picked from commit 815dc47)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
picnixz added a commit that referenced this pull request Oct 21, 2026
…when using small block sizes (GH-155429) (#160060)

gh-155428: align `hmac.digest` and `hmac.HMAC.digest` outputs when using  small block sizes (GH-155429)
(cherry picked from commit 815dc47)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants