Skip to content

Reject insecure (RSA1024) primary key when verifying subkeys #1608

@rrrooommmaaa

Description

@rrrooommmaaa
  • OpenPGP.js version: 5.6.0
  • Both Browser or Node.js

In this setup PK RSA1024 [certifyKeys, signData], SK RSA4096 [encryptCommunication], we would expect the key to be unusable for both signing and encryption because the encryption subkey can't be securely verified with the weak primary key.
However, the library allows to encrypt with this key regardless of minRSABits setting value.
FlowCrypt/flowcrypt-browser#4905 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions