Skip to content

[release-branch.go1.26] Bump go-crypto-darwin to include HMAC SHA-3 f…#2375

Closed
michelle-clayton-work wants to merge 1 commit into
microsoft/release-branch.go1.26from
dev/mclayton/backport-darwin-hmac-1.26-v2
Closed

[release-branch.go1.26] Bump go-crypto-darwin to include HMAC SHA-3 f…#2375
michelle-clayton-work wants to merge 1 commit into
microsoft/release-branch.go1.26from
dev/mclayton/backport-darwin-hmac-1.26-v2

Conversation

@michelle-clayton-work

Copy link
Copy Markdown
Contributor

…allback

Update github.com/microsoft/go-crypto-darwin to 95c9561 to pick up microsoft/go-crypto-darwin#216, which makes NewHMAC return nil for hashes CryptoKit's HMAC cannot compute (e.g. SHA-3) instead of aborting the process with a Swift fatalError. This lets the standard library fall back to its pure Go HMAC implementation, completing the macOS side of the #2356 fix backported in #2360.

…allback

Update github.com/microsoft/go-crypto-darwin to 95c9561 to pick up microsoft/go-crypto-darwin#216, which makes NewHMAC return nil for hashes CryptoKit's HMAC cannot compute (e.g. SHA-3) instead of aborting the process with a Swift fatalError. This lets the standard library fall back to its pure Go HMAC implementation, completing the macOS side of the #2356 fix backported in #2360.
@michelle-clayton-work michelle-clayton-work deleted the dev/mclayton/backport-darwin-hmac-1.26-v2 branch June 16, 2026 17:45
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.

1 participant