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 documents encryption dictionary
(see Section 3.5, Encryption).
so "it is not" required to be an inderect object.
cheers,
fredo