From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75247 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: PDF Digital Signatures Date: Tue, 20 Mar 2012 20:23:04 +0100 Message-ID: References: <1346160652.20120319102714@gmx.de> <4F67AF4D.9030709@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1332271395 2624 80.91.229.3 (20 Mar 2012 19:23:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Mar 2012 19:23:15 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 20 20:23:14 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SA4eG-0007Cy-7z for gctc-ntg-context-518@m.gmane.org; Tue, 20 Mar 2012 20:23:12 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BFB7710194; Tue, 20 Mar 2012 20:23:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KqlB4Tv5fPKb; Tue, 20 Mar 2012 20:23:09 +0100 (CET) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 127C4101E3; Tue, 20 Mar 2012 20:23:09 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D438D101E3 for ; Tue, 20 Mar 2012 20:23:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id W+qtid3-C2Iq for ; Tue, 20 Mar 2012 20:23:06 +0100 (CET) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id C6A6D10194 for ; Tue, 20 Mar 2012 20:23:06 +0100 (CET) Original-Received: from mail-gy0-f169.google.com (mail-gy0-f169.google.com [209.85.160.169]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q2KJN5Um007403 for ; Tue, 20 Mar 2012 20:23:05 +0100 Original-Received: by ghrr18 with SMTP id r18so534351ghr.14 for ; Tue, 20 Mar 2012 12:23:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ha6TKshSWY5R1in5OHOPkP8UTcJI6hagNl52rYt0rdU=; b=os6u9OGGkgSDYphB8sUvcWGk27cEWZVOESKOcHr7QoUeLA7EtL4p7TTur2ZDalOtbM yoxOG1eeiijleme532Ws1384iF3O4BZFoZQGLvm16tJbuwSBtQRQX33XWSWrLNC2856i nah1pAIxEWIk33UAXjKnXbZdbr9D6BIcX+4VqvvBQwdB6gLemdBF60cRH1YOQTda6IZ0 WgcY8ChPIp/M9f7smIox0NUX4H+wxskeTy/H6pUxmtaIh7eFtVA19lAbUv2pTJleFUWj IZt+dl0JEP/g+OBS76fD0pbsQVmpDxO1MvG6hiZVo0o+HY0JrFrN8bk+fVe42ffPuVT2 0jMw== Original-Received: by 10.224.206.202 with SMTP id fv10mr2478617qab.45.1332271384684; Tue, 20 Mar 2012 12:23:04 -0700 (PDT) Original-Received: by 10.229.137.139 with HTTP; Tue, 20 Mar 2012 12:23:04 -0700 (PDT) In-Reply-To: <4F67AF4D.9030709@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.160.169; country=US; latitude=38.0000; longitude=-97.0000; http://maps.google.com/maps?q=38.0000,-97.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aGLTn5FW - 7c8f63a9de02 - 20120320 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:75247 Archived-At: On Mon, Mar 19, 2012 at 23:12, Hans Hagen wrote: > On 19-3-2012 22:08, Mojca Miklavec wrote: >> >> Out of curiosity: is inability to create password-protected PDF files >> with pdfTeX/LuaTeX due to legal issues or due to nobody caring enough >> to implement it? > > it's not worth the trouble. Afaik it's a second pass issue and would > complicate the code much. > > Just use qpdf to do it ... pretty fast. If qpdf exists it is probably not a legal issue to do password protection then. But from the same perspective ... one first needs PDF to be (almost) finished before being able to sign it. One needs to read as-good-as the whole PDF, read the certificate from somewhere on the disk and then sign with that certificate. If certificate is password-protected, one also needs to provide the password somehow. The usecase would be sending documents to officials (proving that the document really comes from the person claiming the ownership). But it is also true that in principle one can sign emails with PDF attachments. It is not the same, but it comes close. Another usecase could be, say, sending invoices to clients. We have a company that sells crappy software for signing PDFs and XML for over 1000 EUR per version per browser per OS (each new version for each supported browser on a single OS costs that much; and they have a lot of clients). And of course it never works since of course it only supports Mac OS X 10.6 (10.7 still doesn't work), on Windows only IE 7 or Firefox 3.6 (latest Firefox won't work and it is awfully difficult to find the old versions), on Linux probably a similar story (never tried). And that is the only possible way to send any document to the government. On the other hand they could just as well have used some standard tool and it would work out of the box. So much about signing ... Mojca ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________