]
Darran Lofthouse commented on WFWIP-288:
----------------------------------------
Going to test this one next but just to confirm I agree with the Blocker priority for now
- the specification does not make many demands on key sizes but 1024 bit keys is one of
the few requirements listed.
JWT signed by 1024 bit long key is rejected
-------------------------------------------
Key: WFWIP-288
URL:
https://issues.redhat.com/browse/WFWIP-288
Project: WildFly WIP
Issue Type: Bug
Components: MP JWT
Reporter: Jan Kasik
Assignee: Darran Lofthouse
Priority: Blocker
According to MP-JWT 1.1 specification, 1024 and 2048 bit key sizes must be supported.
Though when there is JWT signed by 1024 bit long key presented to the server, it is
rejected and client receives "Unauthorized" (code 401) message.
See chapter 9.2. Supported Public Key Formats:
{quote}
Support for RSA Public Keys of 1024 or 2048 bits in length is required. Other key sizes
are allowed, but should be considered vendor-specific.
{quote}