Post-Quantum Algorithms Support Draft #1920
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Intro
Hello, for my project I needed to use post-quantum algorithms in PHP, so I thought I might create a fork of this library since I used it in the past.
What is this?
You can consider it as the first draft for post-quantum support. The current version with initial changes works fine with Dilithium5 while other algorithms should not be hard to add.
Dependencies?
It also requires a PQ-capable engine, either my new libOQS PHP extension or OQS-OpenSSL (a PQ version of OpenSSL by OpenQuantumSafe). I have some notes on how to install the OQS-OpenSSL properly.
What's next?
It's in my interest to finish this draft into full-fledged pull request, but I do have other items on the agenda for the future months. So either we can leave this as-is, let people experiment if they want, or somebody from the maintainers can take this and finish it earlier than me (considering they know the internal project structure better than me).