add support for OpenSSH's bcrypt variant?
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 40.4k
- Forks
- 8.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
Description
Per https://phpseclib.com/docs/bcrypt I gather OpenSSH uses a non-standard version of bcrypt with its encrypted keys. Maybe PHP's password_hash() method could be updated to support this?
I'll concede that it's relatively obscure but hash() supports rather obscure algorithms as well.
Contributor guide
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 with PHP's password_hash() implementation and compare its supported bcrypt behavior with the OpenSSH variant described in the linked phpseclib documentation. Review how hash() handles algorithm support and define compatibility requirements; done means password_hash() can correctly handle the OpenSSH bcrypt variant without regressing existing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, php
- Domain
- cryptography, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100