You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2026/07/24 15:01:00 UTC
[jira] [Assigned] (PDFBOX-6212) LTV test assumes OCSP response contains embedded certificate, but e.g. DigiCert OCSP responses omit it
[ https://issues.apache.org/jira/browse/PDFBOX-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr reassigned PDFBOX-6212:
---------------------------------------
Assignee: Tilman Hausherr
> 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
> Components: Signing
> Affects Versions: 2.0.37, 3.0.8 PDFBox
> Reporter: robo
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 2.0.38, 3.0.9 PDFBox, 4.0.0
>
>
> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org