Update scrypt fuzz target for current API
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- rust
- Domain
- cryptography, security
Research direction
Start in the fuzz directory by locating the scrypt fuzz target and run cargo fuzz build to reproduce the API errors. Update it against the current Params, Scrypt::new_with_params, and PHC APIs, then confirm the target builds and still covers direct derivation plus PHC hashing and verification.
Written by the indexing model from the issue text.
Description
Problem
The scrypt fuzz target no longer builds against the current scrypt API.
The target uses outdated password‑hash types and constructors, including SaltString, Ident, and the previous Params::new interface. It also enables the obsolete simple feature.
As a result, the fuzz target cannot be built with the current dependency implementation.
Reproduction steps
- Check out the affected password‑hashes revision.
- Enter the
fuzzdirectory. - Run:
cargo fuzz build
- Observe compilation errors related to the removed or changed scrypt API.
Expected behavior
The scrypt fuzz target should compile successfully against the current scrypt implementation and continue testing both direct scrypt derivation and PHC password hashing and verification.
Proposed solution
Update the fuzz target to use the current Params, Scrypt::new_with_params, and PHC APIs. Replace the obsolete simple feature with the required phc and alloc features.
- Dominant language
- Rust
- Stars
- 909
- Forks
- 114
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 4
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 RustCrypto/password-hashes
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
RustCrypto/password-hashes#924 · 3 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
RustCrypto/password-hashes#883 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
RustCrypto/password-hashes#573 · 5 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
RustCrypto/password-hashes#462 · 2 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
RustCrypto/password-hashes#133 · 1 comment ·
All issues in RustCrypto/password-hashes
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100