Skip to content

Avoid RSA-SHA1 in self-tests #45

Description

@jas4711

Hi. In Debian we ship both https://github.com/digitorus/pkcs7 and https://github.com/fullsailor/pkcs7 and neither seems maintained any more, so I'm considering exploring if your project may serve as a replacement. However all these forks suffer from self-test failures because they use RSA-SHA1 signatures in example certificates:

    sign_test.go:130: test SHA1-RSA/SHA1-RSA/SHA1-RSA: cannot add signer: pkcs7: certificate signature from parent is invalid: x509: cannot verify signature: insecure algori
thm SHA1-RSA
--- FAIL: TestSign (0.00s)

Can you fix these problems in your fork?

Do you have any general thoughts around using your project as a replacement for the other forks? Are there are any known incompatibilities between them which may bite Debian?

/Simon

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