Skip to content

RSA CRT requires public exponent starting with 1.77 for raw RSA operation #2241

@CardContact

Description

@CardContact

While updating BC in OpenSCDP we see raw RSA operations fail with private keys in CRT format.

Starting with 1.77 a NPE 'Cannot read field "signum" because "exponent" is null' is thrown if no
public exponent in present in the CRT structure.

I suspect that c62e5d0 is causing this. The code seems to check if a public exponent is present, but maybe there is a check missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions