Skip to content

Add pq native recipient and identity - #632

Draft
str4d wants to merge 5 commits into
mainfrom
pq
Draft

Add pq native recipient and identity#632
str4d wants to merge 5 commits into
mainfrom
pq

Conversation

@str4d

@str4d str4d commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Currently blocked on RustCrypto/KEMs#369.

@str4d str4d added this to the rage 0.13.0 milestone Jul 13, 2026
@codecov

codecov Bot commented Jul 13, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.33333% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 57.06%. Comparing base (b5b68c4) to head (3539647).

Files with missing lines Patch % Lines
age/src/identity.rs 58.62% 12 Missing ⚠️
age/src/native/pq.rs 95.83% 3 Missing ⚠️
rage/src/bin/rage-keygen/main.rs 72.72% 3 Missing ⚠️
age/src/cli_common/recipients.rs 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #632      +/-   ##
==========================================
+ Coverage   56.40%   57.06%   +0.65%     
==========================================
  Files          45       46       +1     
  Lines        4480     4565      +85     
==========================================
+ Hits         2527     2605      +78     
- Misses       1953     1960       +7     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@str4d
str4d force-pushed the pq branch 2 times, most recently from a221f3e to 86323d0 Compare July 14, 2026 03:29
@fgsch

fgsch commented Jul 18, 2026

Copy link
Copy Markdown

Thank you! I've just started using this branch in my project and it's been working great.

I noticed rage-keygen still generates X25519 keys. Should it switch to PQ by default or have an option to generate PQ keys?

@str4d

str4d commented Jul 19, 2026

Copy link
Copy Markdown
Owner Author

Yes, I will be switching the default to PQ in this PR. I have most of the associated changes for that locally; the main thing I'm blocking on for that is the design of the flags (age-keygen went with a -pq flag but that was when it wasn't the default).

str4d added 4 commits August 16, 2026 21:25
- Non-contributory behaviour in the X25519 component of X-Wing must be
  rejected.
- Errors during `SetupBaseR` must be treated as invalid header errors
  instead of skipping to the next identity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants