Skip to content

crypto/x509: more descriptive error message for unsupported algorithms such as MD5 with RSA #10431

@mvanotti

Description

@mvanotti

In http://golang.org/src/crypto/x509/x509.go?s=21072:21171#L611 that algorithm is not listed.

Should it be listed? Is it because it is considered insecure?

I've found a certificate issued with the MD5withRSA signature algorithm (used only for testing) but finding the error was really hard. It would be nice to have a better error description for this kind of failures.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions