Skip to content

Insecure/obsolete default signature algorithm #415

@simongellis-attentive

Description

@simongellis-attentive

If you don't provide a value for onelogin.saml2.security.signature_algorithm, this library defaults to signing requests with RSA-SHA1.

SHA-1 as a signature algorithm is obsolete. Wikipedia says that it is

recommended to remove SHA-1 from products as soon as possible and instead use SHA-2 or SHA-3. Replacing SHA-1 is urgent where it is used for digital signatures.

It would probably make more sense to default to SHA-256 instead.

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