Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127891 - pdftk-1.12-r1 add user_pw only support
Summary: pdftk-1.12-r1 add user_pw only support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-28 11:58 UTC by Georg Sauthoff
Modified: 2006-06-05 15:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to ebuild (pdftk-1.12-r1.patch,533 bytes, patch)
2006-03-28 11:58 UTC, Georg Sauthoff
Details | Diff
patch to pdftk (pdftk-1.12-user-pw.patch,827 bytes, patch)
2006-03-28 11:59 UTC, Georg Sauthoff
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Georg Sauthoff 2006-03-28 11:58:00 UTC
Hi,

pdftk doesn't look at the supplied user_pw if the document has an owner_pw set.
Attached trivial patches remove this limitation. Because some pdf authors might consider the original behavior as the right one
Comment 1 Georg Sauthoff 2006-03-28 11:58:00 UTC
Hi,

pdftk doesn't look at the supplied user_pw if the document has an owner_pw set.
Attached trivial patches remove this limitation. Because some pdf authors might consider the original behavior as the right one¹ - the pdftk patch depends on the nodrm use flag.

Regards
Georg Sauthoff

[1] and even think, that it is a security feature
Comment 2 Georg Sauthoff 2006-03-28 11:58:50 UTC
Created attachment 83320 [details, diff]
patch to ebuild
Comment 3 Georg Sauthoff 2006-03-28 11:59:37 UTC
Created attachment 83321 [details, diff]
patch to pdftk
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-05 15:16:31 UTC
thanks, fixed. I did not rev bump for this one as it does get enabled only with a non-default use flag and is a rather minor change that does affect probably not anyone else ..