Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing RSA key bits reformatting when importing an RSA 2047 private key #5631

Open
martgil opened this issue Mar 6, 2024 · 1 comment
Open
Labels
needs improvement A particular feature or functionality needs an improvement

Comments

@martgil
Copy link
Collaborator

martgil commented Mar 6, 2024

Description:

When importing an RSA 2047 private key in the FlowCrypt browser extension, an error will occur saying it can be used for encryption and so the importing process will not be completed. As for encrypting message for using that 1 bit off rsa public key, it will throw an error complaining about the public key.

For comparison, the FlowCrypt android app smartly fixed that 1 bit off the 2047 key into a 2048. Ideally, it should also be the case for the FlowCrypt browser extensions for private key & contacts importing processes.

Test PGP key pair I used:
2047.asc.txt

Reference: https://mail.google.com/mail/u/[email protected]/#inbox/FMfcgzGxRxKKzgrWRLpPCgKjfvdmTpDt

@martgil martgil added the needs improvement A particular feature or functionality needs an improvement label Mar 6, 2024
@martgil
Copy link
Collaborator Author

martgil commented Mar 6, 2024

For me: Test a similar case for the ios counterpart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs improvement A particular feature or functionality needs an improvement
Projects
None yet
Development

No branches or pull requests

1 participant