From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17755 Path: main.gmane.org!not-for-mail From: Vit Zyka Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt tool for enabling comments in PDF ? Date: Thu, 06 Jan 2005 13:43:50 +0100 Message-ID: <41DD3286.9020206@seznam.cz> References: <41DBD3A0.6040605@seznam.cz> <41DC060E.4080504@wxs.nl> <41DC156B.8020803@seznam.cz> <41DC2781.9010104@wxs.nl> <41DC739E.3030107@seznam.cz> <41DD0536.2070308@wxs.nl> <41DD0EB3.1060600@seznam.cz> <41DD1683.4080103@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1105015426 13414 80.91.229.6 (6 Jan 2005 12:43:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Jan 2005 12:43:46 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 06 13:43:37 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CmWzJ-00071j-00 for ; Thu, 06 Jan 2005 13:43:37 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4A92A127A7; Thu, 6 Jan 2005 13:43:37 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29972-01-3; Thu, 6 Jan 2005 13:43:36 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ED0D912796; Thu, 6 Jan 2005 13:43:35 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7DEAA12796 for ; Thu, 6 Jan 2005 13:43:34 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29972-01-2 for ; Thu, 6 Jan 2005 13:43:33 +0100 (CET) Original-Received: from smtp.seznam.cz (unknown [212.80.76.43]) by ronja.ntg.nl (Postfix) with SMTP id 81A2812775 for ; Thu, 6 Jan 2005 13:43:33 +0100 (CET) Original-Received: (qmail 30901 invoked from network); 6 Jan 2005 12:43:18 -0000 Original-Received: from unknown (HELO ?127.0.0.1?) (vit.zyka@82.142.74.35) by smtp.seznam.cz with SMTP; 6 Jan 2005 12:43:18 -0000 User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <41DD1683.4080103@wxs.nl> X-Antivirus: avast! (VPS 0453-0, 27.12.2004), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17755 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17755 >> No. You wrote that this possibility is mentioned somewhere. Where? > > in the pdf specs Hmmm. I can find only (p. 92 1.6spec): "The absence of this entry (/Encrypt) from the trailer dictionary means that the document is not encrypted." It seems to me now that rights without passwords relies with /Perms in catalog (p.117, 699) and signatures (p.684). Something like: ----------------------------- \pdfcompresslevel=0 \immediate\pdfobj {<< /Type /Sig /Filter % something from Adobe.PPKLite Entrust.PPKEF CICI.SignIt VeriSign.PPKVS /Contents % signature /ByteRange %?? UR3 in /Perms /P -4 >>} \edef\DocMDPobj{\the\pdflastobj\space 0 R } \immediate\pdfobj {<< /Type /Sig /Filter % something from Adobe.PPKLite Entrust.PPKEF CICI.SignIt VeriSign.PPKVS /Contents % signature /ByteRange %?? UR3 in /Perms /P -4 >>} \edef\URRRobj{\the\pdflastobj\space 0 R } \pdfcatalog{/Perms << /DocMDP \DocMDPobj /UR3 \URRRobj >> } Hallo \end ------------------------------ Sorry for uncomplete code, but I have not studied the signatures yet. And sorry for a bit out of ConTeXt topic. Hans, is it time to move to the pdftex list? Vit Zyka