Use `kdf` traits for PBKDFs
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 124
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
Right now spake2 and srp suggest they should be used in conjunction with PBKDFs, but do not make it easy to do so or provide ready-made recipes for using them in conjunction with a PBKDF.
aucpace uses the password-hash crate to achieve this, then extracts the output from the computed password hash.
Instead, all of our PAKE implementations could use forthcoming traits from the kdf crate to abstract over PBKDF algorithms (i.e. that we have implemented in the https://github.com/RustCrypto/password-hashes repo)
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.
Research direction
Start by reviewing the spake2 and srp PBKDF guidance, then compare aucpace's password-hash integration with the forthcoming kdf traits in RustCrypto/traits PR 1879. Determine how the PAKE implementations should abstract over PBKDF algorithms and verify that the resulting usage provides the intended recipes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cryptography, security
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100