Fix signing failure after importing public key with updated expiry#2384
Open
kaie wants to merge 5 commits intornpgp:mainfrom
Open
Fix signing failure after importing public key with updated expiry#2384kaie wants to merge 5 commits intornpgp:mainfrom
kaie wants to merge 5 commits intornpgp:mainfrom
Conversation
When importing an updated public key, sync it into the secring if a matching secret key exists, so the secring reflects the new expiration and signing succeeds. Fixes: rnpgp#2383 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add missing <cstring> include in mem.cpp (fixes build with Botan head) - Add 'cpy' to typos identifier exclusions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This reverts commit a09954b88473a6a996e7bdabeb9f96bcbf66a98f.
- Add missing <cstring> include in mem.cpp - Rename cpy variables to copy in s2k_ossl.cpp and fingerprint.hpp Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2384 +/- ##
=======================================
Coverage 85.46% 85.46%
=======================================
Files 126 126
Lines 22711 22715 +4
=======================================
+ Hits 19409 19413 +4
Misses 3302 3302 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
When importing an updated public key, sync it into the secring if a matching secret key exists, so the secring reflects the new expiration and signing succeeds.
Fixes: #2383