Skip to content

Related issues about HMAC key length and RSA key length in JWS #4921

Open
@ZupeiNie

Description

@ZupeiNie

Hi, We are a research group dedicated to helping developers build secure applications. We have developed a cryptographic misuse detector that focuses on the secure implementation and use of JSON Web Tokens (JWT). While analyzing your impressive public repository, our detector identified several security concerns.
Specifically, we found that the HMAC and RSA key lengths used in your JSON Web Signature (JWS) implementation do not meet recommended security standards(RFC 7518、NIST SP800-117、RFC 2437). According to CWE-326 (Inadequate Encryption Strength), using keys that are too short can lead to serious vulnerabilities and potential attacks.
We kindly suggest reviewing and updating the key lengths to ensure that your cryptographic implementations adhere to best practices and maintain robust security.
Thank you for your attention.

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