-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
isForwardingKey
to support keys without valid encryption subkeys
The function used to mistakenly check only for the absence of valid encryption keys. This would work in practice as forwarding subkeys are not valid for encryption, and standard private address keys are expected to have valid encryption subkeys. However, it caused issues in a specific account setup where the user imported an expiring key, which was then wrongly considered to be a forwarding key, which prevented the user from generating a valid SKL as a result (the FE filtered out the key on SKL generation, while the BE expected the key to be included).
- Loading branch information
Showing
2 changed files
with
52 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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