[
https://issues.apache.org/jira/browse/PDFBOX-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18098928#comment-18098928
]
ASF subversion and git services commented on PDFBOX-6212:
---------------------------------------------------------
Commit 1936553 from Tilman Hausherr in branch 'pdfbox/branches/3.0'
[ https://svn.apache.org/r1936553 ]
PDFBOX-6212: add comment based on comment by user robo
> LTV test assumes OCSP response contains embedded certificate, but e.g.
> DigiCert OCSP responses omit it
> ------------------------------------------------------------------------------------------------------
>
> Key: PDFBOX-6212
> URL: https://issues.apache.org/jira/browse/PDFBOX-6212
> Project: PDFBox
> Issue Type: Bug
> Reporter: robo
> Priority: Minor
>
> The TestCreateSignature.testCreateSignedTimeStamp() test fails when using
> DigiCert's TSA
> ([http://timestamp.digicert.com|http://timestamp.digicert.com/]) because the
> generated LTV information contains OCSP responses whose BasicOCSPResp does
> not include embedded responder certificates.
> Test Failure:
>
> {code:java}
> org.opentest4j.AssertionFailedError: OCSP should have at least 1 certificate
> ==>
> Expected :true
> Actual :false{code}
>
> In RFC 6960 ( [https://datatracker.ietf.org/doc/html/rfc6960] ) it says
> certs is optional
> {code:java}
> certs: [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL
> {code}
>
> If I am correct, an OCSP response without embedded certificates should be
> standard-compliant. If the BasicOCSPResp is empty, maybe /DSS/Certs should be
> checked instead?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]