Skip to content

Conversation

@picnixz
Copy link
Member

@picnixzpicnixz commented Dec 14, 2025

This is partially cherry-picked from d3ef5ba. Only the pure Python copy() method is affected because I didn't migrate HMAC to OpenSSL 3 before 3.15.

@picnixzpicnixz added needs backport to 3.13 bugs and security fixes and removed awaiting core review labels Dec 14, 2025
@picnixzpicnixz changed the title [3.14] gh-142451: correctly copy HMAC.block_size attribute[3.14] gh-142451: correctly copy HMAC attributes in HMAC.copy() (GH-142510)Dec 14, 2025
@picnixzpicnixz changed the title [3.14] gh-142451: correctly copy HMAC attributes in HMAC.copy() (GH-142510)[3.14] gh-142451: correctly copy HMAC attributes in HMAC.copy() (GH-142510)Dec 14, 2025
@picnixzpicnixz added awaiting core review and removed needs backport to 3.13 bugs and security fixes labels Dec 14, 2025
@picnixz
Copy link
MemberAuthor

picnixz commented Dec 14, 2025

I should note that, for the past 20 years, we never copied the block_size.... and no one ever complained (or I couldn't find anything related)

@picnixzpicnixz enabled auto-merge (squash) December 14, 2025 09:20
@picnixzpicnixz merged commit 77ad3d5 into python:3.14Dec 14, 2025
61 checks passed
@picnixzpicnixz deleted the 314/fix/hashlib/mac-block-size-142451 branch December 14, 2025 10:11
Sign up for freeto 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

@picnixz@gpshead