mitsuhiko / mitsuhiko/python-pbkdf2
hashfunc
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 149
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
there should be
if hashfunc:
hashfunc = getattr(hashlib, hashfunc)
else:
hashfunc = hashlib.sha1
instead off
hashfunc = hashfunc or hashlib.sha1
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
Locate the hashfunc assignment in the Python package and inspect the surrounding code to determine how its value is supplied. Verify the requested behavior for a named hashlib function and the default case, then add or update the relevant tests if the repository has coverage for this path. Done means both cases use the intended hashlib callable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- security
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100