Skip to content

Consider upgrading SHA-1 default to SHA-2 in PKCS1_OAEP #906

Description

@qmadev

I noticed that PKCS1_OAEP defaults to the SHA-1 hash algorithm when no other algorithm is specified. NIST already considered SHA-1 to be EOL in 2022. See https://www.nist.gov/news-events/news/2022/12/nist-retires-sha-1-cryptographic-algorithm.

Should we update the default algorithm to SHA-2?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions