#392 Unable to find SHA256 message digest
Closed: Fixed None Opened 11 years ago by edewata.

The CertPrettyPrint uses message digest names that are specific to JSS:

String[] hashes = new String[] { "MD2", "MD5", "SHA1", "SHA256", "SHA512" };

The CertPrettyPrint is used by the PrettyPrintCert Java tool. However, the PrettyPrintCert uses the standard security provider instead of JSS provider, so it couldn't find SHA256. The standard message digest names should be defined as follows:

String[] hashes = new String[] { "MD2", "MD5", "SHA-1", "SHA-256", "SHA-512" };

master: d9a9e23aae83f1d3d6c0e5968097fde12cfff3d2

Metadata Update from @edewata:
- Issue assigned to vakwetu
- Issue set to the milestone: N/A

7 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/963

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Login to comment on this ticket.

Metadata