Skip to content

Add support for p256tag recipient type#213

Merged
str4d merged 3 commits intomainfrom
p256tag
Apr 8, 2026
Merged

Add support for p256tag recipient type#213
str4d merged 3 commits intomainfrom
p256tag

Conversation

@str4d
Copy link
Copy Markdown
Owner

@str4d str4d commented Dec 8, 2025

As added to the age specification in C2SP/C2SP#156.

Based on #223.
Depends on str4d/rage#590.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 96 lines in your changes missing coverage. Please review.
✅ Project coverage is 1.48%. Comparing base (36290c7) to head (97f943c).

Files with missing lines Patch % Lines
src/native/p256tag.rs 0.00% 44 Missing ⚠️
src/plugin.rs 0.00% 22 Missing ⚠️
src/piv_p256.rs 0.00% 17 Missing ⚠️
src/key.rs 0.00% 7 Missing ⚠️
src/util.rs 0.00% 6 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main    #213      +/-   ##
========================================
- Coverage   1.56%   1.48%   -0.09%     
========================================
  Files          8       9       +1     
  Lines       1149    1211      +62     
========================================
  Hits          18      18              
- Misses      1131    1193      +62     

☔ View full report in Codecov by Sentry.
📢 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 p256tag branch 7 times, most recently from d842b65 to 4acf86f Compare December 21, 2025 17:35
@str4d str4d marked this pull request as ready for review April 7, 2026 04:33
@str4d str4d changed the base branch from main to update-age April 7, 2026 04:56
Base automatically changed from update-age to main April 7, 2026 17:34
str4d added 3 commits April 7, 2026 23:44
Encrypting to an identity requires the plugin binary, and there is a
reasonable expectation that the same (or a later) plugin binary version
will be used to decrypt, so we can assume support for the preferred
recipient type.
Identities generated with older versions of `age-plugin-yubikey` show
their legacy recipient in comments; newer identities only show the new
recipient.
@str4d str4d merged commit fb8368c into main Apr 8, 2026
11 of 12 checks passed
@str4d str4d deleted the p256tag branch April 8, 2026 01:10
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