Skip to content

Conversation

@picnixz
Copy link
Member

@picnixz picnixz 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.

@picnixz picnixz requested a review from gpshead as a code owner December 14, 2025 09:01
@picnixz picnixz added needs backport to 3.13 bugs and security fixes and removed awaiting core review labels Dec 14, 2025
@picnixz picnixz 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
@picnixz picnixz 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
@picnixz picnixz added awaiting core review and removed needs backport to 3.13 bugs and security fixes labels Dec 14, 2025
@picnixz
Copy link
Member Author

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)

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