HMAC with SHA-512/224 and SHA-512/256 is broken
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- cryptography
Research direction
Locate the code that derives the HMAC block size by comparing hash-name strings, then read the linked pbkdf2 issue for the reported behavior. Verify the SHA-512/224 and SHA-512/256 cases against the existing HMAC behavior; done means both variants use their correct block size without regressing sha512 or sha384.
Written by the indexing model from the issue text.
Description
It is the same issue as https://github.com/browserify/pbkdf2/issues/82#issuecomment-3395223144 where the block size is derived by comparing against the strings "sha512" and "sha384" which means "sha512-224" and "sha512-256" get the default. This code was imported into Deno where I first spotted it there as https://github.com/denoland/deno/issues/31765.
- Dominant language
- JavaScript
- Stars
- 60
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from browserify/createHmac
-
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
browserify/createHmac#35 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
browserify/createHmac#34 ·
-
Memory Leak Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
browserify/createHmac#32 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
browserify/createHmac#30 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 20/100
browserify/createHmac#29 · 4 comments · 1 reaction ·
All issues in browserify/createHmac
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
antfu-collective/icones#398 ·
-
ECmail.com Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
wesbos/burner-email-providers#554 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
radiantearth/stac-browser#1023 ·
-
HMR stops working Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
components-web-app/docs#92 ·