Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document properties garbled by setEncryption #70

Closed
VoiceInterface opened this issue Jun 23, 2017 · 5 comments
Closed

Document properties garbled by setEncryption #70

VoiceInterface opened this issue Jun 23, 2017 · 5 comments
Labels

Comments

@VoiceInterface
Copy link

Document properties don't make it through intact when using 40-bit or 128-bit encryption. For example:

$pdf->addInfo('Title', 'Document title here');
$pdf->addInfo('Subject', 'Document subject here');
$pdf->setEncryption($upwd,$opwd,array('copy','print'),2);

produces a document title of "Dª÷%["yˆPÔx-r".
comment out the setEncryption line and it is correct.

Using version 0.12.36 of the library and viewing the generated PDF with Adobe Acrobat Reader DC (2017.009.20044)

I have not attempted this with the 0.13 branch.

Bug?

(Loving the class so far. Thanks to all the contributors.)

@ole1986
Copy link
Collaborator

ole1986 commented Jun 24, 2017

Thanks for reporting - I will have a closer look into it soon..

@ole1986 ole1986 added the bug label Jun 24, 2017
ole1986 pushed a commit that referenced this issue Jun 25, 2017
ole1986 pushed a commit that referenced this issue Jun 25, 2017
@ole1986
Copy link
Collaborator

ole1986 commented Jun 25, 2017

fixed in version 0.12.37

@ole1986 ole1986 closed this as completed Jun 25, 2017
@ole1986
Copy link
Collaborator

ole1986 commented Jun 26, 2017

I am so sorry.. I missed some special chars which will be fixed in 0.12.38

@ole1986 ole1986 reopened this Jun 26, 2017
@ole1986
Copy link
Collaborator

ole1986 commented Jun 26, 2017

Fully fixed in 0.12.38

@ole1986 ole1986 closed this as completed Jun 26, 2017
@VoiceInterface
Copy link
Author

Thanks! Fantastic, responsive software support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants