Closed GoogleCodeExporter closed 8 years ago
I re read the source for the gem and tried:
pdf.encrypt( { owner_passwd: 'owner', user_passwd: 'user' })
that is changing owner_password for owner_passwd
Original comment by adan.alv...@gmail.com
on 7 May 2013 at 6:49
Hello,
it should now be fixed in the latest development tree. Can you confirm this
works for you?
If so, I'll bundle a new gem as soon as possible.
--
Guillaume
Original comment by guilla...@security-labs.org
on 7 May 2013 at 11:53
require 'origami' pdf = Origami::PDF.read 'tmp/test.pdf' pdf.encrypt( { 'owner_password' => 'owner', 'user_password' => 'user' })
Original issue reported on code.google.com by
adan.alv...@gmail.com
on 7 May 2013 at 6:41Attachments: