Hello Julian,

on Su 12.12.2010, 21:58 +0000 Julian Gilbey wrote:
> I have found a way of reproducing the error - I presume reliably.
Thank you very much for analysing this bug.

I looked again at the code and library calls and I think I found now
now one reason why the owner password is reported as wrong: 

pdftk versions from 1.41+dfsg-1 to 1.41+dfsg-9 use a newer version of
the itext library (libitext-java package) which sets sadly random owner
passwords if only an user password is given to its setEncrpytion
routine. The correct way for setting a user password but no owner
password would be to set the owner password equal to the user password
(this is sensibly prohibited by pdftk) according to the PDF Standard
[1].

Since this bug is reported to pdftk version 1.41-2, there must be
another encryption issue - but first I need to deal with the annoying
random owner password generation.

> Files encrypted using pdftk 1.44 do not have this issue.
pdftk 1.44 uses again its own bundled itext-paulo library which was
DFSG-cleaned and has not the generate random owner password "feature".

Best wishes, 
 Johann Felix

[1]:
http://partners.adobe.com/public/developer/en/pdf/PDFReference16.pdf




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to