add support for OpenSSH's bcrypt variant?
未关闭
还没有人认领这个 Issue。
Feature
Status: Needs Triage
- 主要语言
- C
- 星标
- 40.4k
- 派生
- 8.2k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 96
描述
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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 PHP 的 password_hash() 实现入手,并将其支持的 bcrypt 行为与链接的 phpseclib 文档中描述的 OpenSSH 变体进行比较。检查 hash() 如何处理算法支持,并定义兼容性要求;完成标准是 password_hash() 能够正确处理 OpenSSH bcrypt 变体,同时不回归现有行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- c, php
- 领域
- cryptography, security
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100