Update PQC Draft to Version 12#2355
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2355 +/- ##
=======================================
Coverage 85.46% 85.46%
=======================================
Files 126 126
Lines 22711 22732 +21
=======================================
+ Hits 19409 19428 +19
- Misses 3302 3304 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@ni4 3 checks fail due to the Botan version (3.6.0 required now). I suppose the images can easily be changed (or alternatively RFC95080/PQC disabled) in the corresponding yml files. I'm not familiar with your CI/CD setup, therefore I think someone else should do the necessary changes. |
121d8b8 to
e1af516
Compare
|
Hi Johannes, would it be easy for you to rebase your PR? Nickolay said the CI issues should be fixed, so maybe merging will be possible soon. If you don't have time, Nickolay said he could replicate your PR. |
... for rnp_generate_key_ex add roundtrip test for PQC certs clang-format
require Botan 3.6.0 for PQC switch to final NIST PQC standards update KMAC Key Combiner
fail gracefully on parsing v6 cleartext sigs
also code formatting
Only compiling PQC support now gives the option to use v4 MLKEM768+X25519 encryption subkeys. Added a v4 ECC + PQC certificate to TUI
|
Hi Kai, since GitHub says there are no conflicts, it is easy for me, yes :) |
|
Great, thanks a lot! |
|
It seems like there are still some issues either with the CI or with my code. Unfortunately I don't have a lot of time right now to take care of this. FYI, I have set "Allow edits and access to secrets by maintainers" if Nickolay finds the time. |
|
I get a build warning when building against Botan 3.11.1 [edited: warning, not error] In file kyber_ecdh_composite.h a forward declaration is added "struct pgp_kyber_ecdh_composite_public_key_t;", |
|
The CI runs that uses the openssl backend fails because it is not yet available for pqc in this PR. The two CI runs that use Botan 3.3.0 fail because that workflow enables PQC, but that configuration requires at least Botan 3.6.0 The fuzzing build has the same issue, but it requires a patch for oss-fuzz. The issues in windows did NOT happen in the latest CI runs in my PR #2392. In the other CI runs for my recent pull requests, I see a new failure appearing, I would like to suggest that you add workflows that use Botan 3.11.1 or 3.12 |
This PR updates to the newest PQC draft version, and adds/fixes some RFC 9580 functionality. The PR replaces #2287. The PQC draft can be seen as stable now since it has passed Working Group Last Call recently.
The most prominent changes are:
V6 / RFC 9580
PQC
Further Code Changes
PQC code is not independent from Crypto Refresh / RFC9580 any more and thusThis is changed again in newer commits to allow MLKEM768+X25519 for v4 keys without compiling the crypto refresh code.ENABLE_CRYPTO_REFRESHis required forENABLE_PQCENABLE_CRYPTO_REFRESHandENABLE_PQCnow requires Botan 3.6.CRYPTO_REFRESH_ENABLEDis true.@ni4 since I had to rebase a lot and fixed some stuff only at the end of the rebasing, the history is not perfectly intact. Please tell me if you prefer to keep the commits anyway or whether I should squash them into a single commit. I hope I did not mess anything up when rebasing.
As next steps I would like to rebase the other PRs #2296 and #2207 (that is considerably less code than in this PR).