Skip Menu |

This queue is for tickets about the CAM-PDF CPAN distribution.

Report information
The Basics
Id: 13188
Status: resolved
Worked: 15 min
Priority: 0/
Queue: CAM-PDF

People
Owner: cpan [...] clotho.com
Requestors: alfredreibenschuh [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: CAM::PDF::Decrypt bug with Encryption Dictionary
line 120 in CAM::PDF::Decrypt says: if ($doc->{trailer}->{Encrypt}->{type} ne "reference") { die "Encrypt block ref must be an indirect reference"; } but the pdfspec 1.6 says: Encrypt dictionary (Required if document is encrypted; PDF 1.1) The document’s encryption dictionary (see Section 3.5, “Encryption”). so "it is not" required to be an inderect object. cheers, fredo
[AREIBENS - Fri Jun 10 07:59:14 2005]: Show quoted text
> line 120 in CAM::PDF::Decrypt says: > > if ($doc->{trailer}->{Encrypt}->{type} ne "reference") > { > die "Encrypt block ref must be an indirect reference"; > } > > but the pdfspec 1.6 says: > > Encrypt dictionary (Required if document is encrypted; PDF 1.1) > The document’s encryption dictionary > (see Section 3.5, “Encryption”). > > so "it is not" required to be an inderect object. > > cheers, > fredo
Hi fredo, Thanks for the report -- sorry I didn't see it until now... I've just uploaded a new version of CAM::PDF that fixes this artificial limitation. -- Chris