-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
in progresswork on the issue is in progresswork on the issue is in progresspgpainlessPGPainless issuePGPainless issuesecurity
Description
FlowCrypt recently received a security report where a bad private key is not getting blocked when importing/retrieving the private key. eg retrieving the key from backup (inbox), importing a private key file.
Sample bad private key:
corrupted-rsa-key.asc.txt
Steps to reproduce:
- The easiest way to reproduce it is by importing the private key file from the app.
For reference of how this issue gets fixed on the browser extension, please see FlowCrypt/flowcrypt-browser#4271.
Impact:
As stated from the original email:
In particular, given that encrypting the private key only encrypts (and authenticates) the private key parameters, but not the public key parameters, an attacker could overwrite the public key. This can lead to various vulnerabilities, and we realized some of these vulnerabilities might be applicable to FlowCrypt.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in progresswork on the issue is in progresswork on the issue is in progresspgpainlessPGPainless issuePGPainless issuesecurity
