Repository navigation
feat(pqc): add native Post-Quantum Cryptography support to Easy-RSA - #1432
jaberansariali wants to merge 4 commits into
Conversation
|
Hi @TinCanTech, Thank you for the feedback and for re-opening this in the new PR. I apologize for the initial confusion; I closed the first PR to ensure I was submitting from a dedicated branch rather than master, following the contributing guidelines. I’m glad to hear this is being considered for the long term. I’m fully available to discuss the implementation, make adjustments based on your review, or split the changes into smaller parts if that helps the review process. Looking forward to making Easy-RSA quantum-ready with your guidance! |
|
@jaberansariali thank you for this PR. It will take some time to review, so please be patient. |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
https://words.filippo.io/crqc-timeline/ Based on the above article I think this would be a really much needed improvement! Thank you |
|
@jaberansariali FTR, Error: Directions:
Also, I'm not happy for EasyRSA to maintain text lists of PQC algorithms. |
0bab1b8 to
04eab6b
Compare
- Updated comments to clarify the selection of PQC signature algorithms. - Removed specific examples of PQC algorithms and emphasized the use of the active OpenSSL provider. - Adjusted instructions for loading a named PQC provider and specifying the provider module directory.
|
Dear @TinCanTech Thanks for the feedback. I’ve pushed a follow-up commit addressing these points:
The changes are in commit Please let me know whether this runtime provider-based approach matches the direction you had in mind, or whether you would prefer any further adjustments. |
|
@jaberansariali in Example: Example patch: |
- prevent silent fallback to the default provider - avoid exposing private key material - propagate certificate verification failures - fix encrypted PQC request generation - update diagnostics, help, and documentation
|
Hi @TinCanTech, thank you for pointing this out. I addressed When the algorithm is recognized as PQC, I verified both I also pushed follow-up commit 10e7c67, which:
Testing included all native ML-DSA and SLH-DSA variants, mixed classical/PQC PKIs, encrypted keys, renew/revoke/CRL workflows, and a complete external oqsprovider workflow using falcon512. The official Please let me know if this runtime validation approach matches what you had in mind. |
|
@jaberansariali would you be prepared to break up your initial commit ? I prefer to see the following:
I also have intermediate details for each step and some changes that may be tricky .. |
|
@TinCanTech |
|
@jaberansariali I continue the review.. Do you have any relevant documentation regarding this: It is found in It may be simpler to generate key and request files separately for all CSRs. Edit: Resovled. (See 58df374) |
|
Hi @TinCanTech, I see you've already marked this as resolved, but just to add a bit of context: |
|
@jaberansariali Please keep this PR as it is now, for full credit on merge. |
|
We need ML-DSA-87 ("mldsa87"). I noticed ML-DSA-65 was mentioned, and I'm willing to help with testing of 87. |
|
Thank you @TinCanTech; I will try that now. |
|
@TinCanTech: This is some progress, which is great, but I've encountered a challenge (version information is included at the end)... The These lines are in my Relevant version information obtained from the |
|
@randolf Try using command: |
|
@TinCanTech: I tried but it failed, so I deleted Is there an updated file I should be using? If there's a I'm using Debian Trixie with all current updates, and |
|
I will refer you back to this comment: |
|
I guess I'm not getting the branch. I need to figure this out with the proper git commands -- specifying 1460 or pqc-support-intro results in a "branch not found" error. Google hasn't been very helpful with this either, but I'll keep trying to get the branch downloaded. |
|
See: #1460 (comment) |
|
Thanks @TinCanTech -- building from the branch made the difference. I just successfully set up the CA (using the Interestingly, the I will proceed with setting up the OpenVPN server and client now, and report back here shortly on the outcome. |
|
This is all working now, thanks to your help @TinCanTech -- thank you so very much for your help today! (I'm not sure how to set follow-ups in GitHub, but I'll attempt a Google Search for instructions.) Here are the configuration files I'm using on server and client, which are successfully using Server-side file: /etc/openvpn/server.conf Client-side file: /etc/openvpn/randolf.conf I hope that this will be helpful to anyone who is wanting to do this. (Please feel free to include what I posted in documentation that can be helpful by serving as a working example.) |
Post further PQC:On-Topic comments to the referenced issue. |
Summary
This PR introduces first-class Post-Quantum Cryptography (PQC) support
to Easy-RSA, enabling generation and verification of PQC and hybrid
certificates using NIST-standardized algorithms.
Key Features
pqcalgorithm mode viaEASYRSA_ALGO=pqclist-pqc,pqc-status,pqc-set-algopqc-recommend,pqc-key-info,pqc-verifypqc-migration,pqc-helpvars.exampleMotivation
Easy-RSA currently supports only classical cryptography. With NIST PQC
standards finalized, adding native PQC support enables forward security
and crypto-agility for long-lived PKI deployments.
Compatibility
Requirements
oqsprovider)Testing