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 2016/03/17 20:31:33 UTC

[jira] [Updated] (PDFBOX-3276) Double encryption dictionary for some files

     [ https://issues.apache.org/jira/browse/PDFBOX-3276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr updated PDFBOX-3276:
------------------------------------
    Description: 
This was first mentioned by Patrick S. in the mailing list:
{quote}
This is not a general problem and only occurs with original PDF generated with 3D content using Anark. The file when loaded seems to have encrypted and loads just find in Adobe Reader, but when we try to do a "Save As" we get the following error:
"The document could not be saved. There was a problem reading this document 21."

If I do a control click on the "ok" button. I get the following message:
"This direct object already has a container."
{quote}
I can reproduce the effect with the attached file by using the Encrypt command line tool. A look at the file shows a double dictionary:
{code}
593 0 obj
<<
/Filter /Standard
/V 1
/R 3
/Length 40
/P -4
/O <10780080A0085854C58A57FCAFBD94A3CA3F7DF6FFE9DBC4834B7AAF144602C9>
/U <7CF00AD61911DB6A737867655ED3520C28BF4E5E4E758A4164004E56FFFA0108>
>>
endobj
594 0 obj
<<
/ID [<1D7A1969B33886DCF0DD4B0176F149AF> <C9898F3E11EAAD418E771B3045F38DDC>]
/Info 7 0 R
/Root 1 0 R
/Encrypt <<
/Filter /Standard
/V 1
/R 3
/Length 40
/P -4
/O <10780080A0085854C58A57FCAFBD94A3CA3F7DF6FFE9DBC4834B7AAF144602C9>
/U <7CF00AD61911DB6A737867655ED3520C28BF4E5E4E758A4164004E56FFFA0108>
>>
{code}
I don't know if this is the cause, but it doesn't belong there.

  was:
This was first mentioned by Patrick S. in the mailing list:
{quote}
This is not a general problem and only occurs with original PDF generated with 3D content using Anark. The file when loaded seems to have encrypted and loads just find in Adobe Reader, but when we try to do a "Save As" we get the following error:
"The document could not be saved. There was a problem reading this document 21."

If I do a control click on the "ok" button. I get the following message:
"This direct object already has a container."
{quote}
I can reproduce the effect with the attached file by using the Encrypt command line tool.


> Double encryption dictionary for some files
> -------------------------------------------
>
>                 Key: PDFBOX-3276
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3276
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Crypto
>    Affects Versions: 2.0.0, 2.0.1, 2.1.0
>            Reporter: Tilman Hausherr
>
> This was first mentioned by Patrick S. in the mailing list:
> {quote}
> This is not a general problem and only occurs with original PDF generated with 3D content using Anark. The file when loaded seems to have encrypted and loads just find in Adobe Reader, but when we try to do a "Save As" we get the following error:
> "The document could not be saved. There was a problem reading this document 21."
> If I do a control click on the "ok" button. I get the following message:
> "This direct object already has a container."
> {quote}
> I can reproduce the effect with the attached file by using the Encrypt command line tool. A look at the file shows a double dictionary:
> {code}
> 593 0 obj
> <<
> /Filter /Standard
> /V 1
> /R 3
> /Length 40
> /P -4
> /O <10780080A0085854C58A57FCAFBD94A3CA3F7DF6FFE9DBC4834B7AAF144602C9>
> /U <7CF00AD61911DB6A737867655ED3520C28BF4E5E4E758A4164004E56FFFA0108>
> >>
> endobj
> 594 0 obj
> <<
> /ID [<1D7A1969B33886DCF0DD4B0176F149AF> <C9898F3E11EAAD418E771B3045F38DDC>]
> /Info 7 0 R
> /Root 1 0 R
> /Encrypt <<
> /Filter /Standard
> /V 1
> /R 3
> /Length 40
> /P -4
> /O <10780080A0085854C58A57FCAFBD94A3CA3F7DF6FFE9DBC4834B7AAF144602C9>
> /U <7CF00AD61911DB6A737867655ED3520C28BF4E5E4E758A4164004E56FFFA0108>
> >>
> {code}
> I don't know if this is the cause, but it doesn't belong there.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org