Skip to content

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

@martgil

Description

@martgil

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionableneeds improvementA particular feature or functionality needs an improvement

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions