simplesamlphp / simplesamlphp/simplesamlphp-module-webauthn
Roadmap towards PQC support (ML-DSA)
未关闭
还没有人认领这个 Issue。
- 主要语言
- PHP
- 星标
- 18
- 派生
- 10
- PR 合并指标
- 30 天内没有已合并 PR
描述
Yubico has recently demo'ed a Yubikey with ML-DSA support for FIDO usage. Time to start thinking what it takes to make the code fit for PQC support.
- Keys are extracted using the library web-auth/cose-lib. That library does not currently support ML-DSA keys (https://github.com/web-auth/cose-lib/blob/4.6.x/src/Key/Key.php)
- actual signature checks are done with openssl_verify and the public key loaded with openssl_pkey_get_public. Currently unknown whether recent PHP supports handling of ML-DSA keys.
- underlying openssl library in version 3.5.0+ DOES support ML-DSA keys.
I will run some tests with openssl and the openssl_* functions in PHP to determine how far we can get on that front.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 web-auth/cose-lib 的 src/Key/Key.php 中的密钥处理以及模块对 openssl_verify 和 openssl_pkey_get_public 的使用入手。测试 PHP 是否能在 OpenSSL 3.5.0 或更高版本中处理 ML-DSA 密钥,然后记录兼容性结果以及实现支持所需的具体工作。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- php
- 领域
- authentication, cryptography, security
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100