Roadmap towards PQC support (ML-DSA)
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- php
- Domain
- authentication, cryptography, security
Research direction
Start with the key handling in web-auth/cose-lib's src/Key/Key.php and the module's use of openssl_verify and openssl_pkey_get_public. Test whether PHP can process ML-DSA keys with OpenSSL 3.5.0 or later, then document the compatibility findings and the concrete work required for support.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- PHP
- Stars
- 18
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from simplesamlphp/simplesamlphp-module-webauthn
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
simplesamlphp/simplesamlphp-module-webauthn#111 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
simplesamlphp/simplesamlphp-module-webauthn#72 · 3 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 28/100
simplesamlphp/simplesamlphp-module-webauthn#69 · 1 comment ·
All issues in simplesamlphp/simplesamlphp-module-webauthn
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Adyen/adyen-magento2#3453 ·
Maintainers usually reply within 8 days
-
component/media domain/discovery
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
simplesamlphp/simplesamlphp#2695 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day