The situation is the same as in bug #296455: pdftk-1.44 is missing the nodrm patch (see bug #127891), which was available in previous versions. Please add it back again. Reproducible: Always
Created attachment 285761 [details, diff] pdftk nodrm patch Maybe you can try this patch, which uses the solution proposed at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531529.
Did anyone have the chance to test the proposed patch?
Seems to work for me. I have been using the change (although without this specific patch file) for a while now without any issues.
Seems like noone wants to put this back in, given the fervent activity on this bug. I suggest you add the patch yourself if you need it (via /etc/portage/patches).
Adding the patch via /etc/portage/patches doesn't work because the ebuild doesn't call epatch_user. OK, you can create a file /etc/portage/bashrc to force a call to epatch_user, but why all the trouble? This is just a small patch, which isn't enabled by default. So why don't you add it? If I had the rights, I would do so. If you don't want to add an extra file, there is even a smaller way (nearly a one-liner) to achieve that pdftk can handle encrypted PDF files: if use nodrm; then sed -i 's:passwordIsOwner= false:passwordIsOwner= true:' "${WORKDIR}/${P}"-dist/java/com/lowagie/text/pdf/PdfReader.java || die fi This is the same way how it was done in pdftk-1.41 (see bug #296455) and also works fine with pdftk-1.44.