LWN.net Logo

Any software to toggle this flag?

Any software to toggle this flag?

Posted Jun 2, 2009 3:57 UTC (Tue) by foom (subscriber, #14868)
In reply to: Any software to toggle this flag? by foom
Parent article: Okular, Debian, and copy restrictions

Okay, it turns out that pdftk can do it, if you apply a little patch. I found out what to do here:

http://newsgroups.derkeiler.com/Archive/Comp/comp.text.pd...

The source says:
input_pdf_p->m_authorized_b= ( !reader->encrypted || reader->passwordIsOwner );

But of course I want:
input_pdf_p->m_authorized_b= true;

Hooray for DRM.

I submitted http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531529 for this.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds