pdf writer document encryption

S

snacktime

------=_Part_23384_29323622.1128546434582
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I've tried and tried but can't seem to figure out how to encrypt a pdf
document with pdf writer. Just calling the encrypt method throws an error
about PDF::ARC4 not being defined. Plus there are two encrypt methods. Does
anyone have a code sample they could throw at me?

Chris

------=_Part_23384_29323622.1128546434582--
 
A

Austin Ziegler

I've tried and tried but can't seem to figure out how to encrypt a pdf
document with pdf writer. Just calling the encrypt method throws an error
about PDF::ARC4 not being defined. Plus there are two encrypt methods. Do= es
anyone have a code sample they could throw at me?

The error appears to be a simple bug. I can probably sneak out a 1.1.4
fix soon (but it may be during RubyConf.) However, even if that is
fixed, I have no tests for encrypted PDFs, so ... I'm not going to
promise that they really work.

I'm in the process of reworking a *lot* of things about the PDF
library, including full support for every definition in every
dictionary defined in the 1.6 specification. The way that I'm doing it
should make it a lot easier, but it's a lot of work nonetheless.

-austin
 
S

snacktime

------=_Part_24337_4760205.1128550168887
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

The error appears to be a simple bug. I can probably sneak out a 1.1.4
fix soon (but it may be during RubyConf.) However, even if that is
fixed, I have no tests for encrypted PDFs, so ... I'm not going to
promise that they really work.

I'm in the process of reworking a *lot* of things about the PDF
library, including full support for every definition in every
dictionary defined in the 1.6 specification. The way that I'm doing it
should make it a lot easier, but it's a lot of work nonetheless.

No rush, at least I know what the problem is. Thanks for the great library,
it's come in quite handy and other than the encryption I haven't had any
issues at all.

Chris

------=_Part_24337_4760205.1128550168887--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top