From dev-return-59955-archive-asf-public=cust-asf.ponee.io@pdfbox.apache.org Tue Dec 4 11:16:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 973FD180652 for ; Tue, 4 Dec 2018 11:16:03 +0100 (CET) Received: (qmail 18114 invoked by uid 500); 4 Dec 2018 10:16:02 -0000 Mailing-List: contact dev-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pdfbox.apache.org Delivered-To: mailing list dev@pdfbox.apache.org Received: (qmail 18103 invoked by uid 99); 4 Dec 2018 10:16:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2018 10:16:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3640C183C1F for ; Tue, 4 Dec 2018 10:16:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id YfTOJOuPFI9c for ; Tue, 4 Dec 2018 10:16:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 10B5C5FCEE for ; Tue, 4 Dec 2018 10:16:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 85A60E092E for ; Tue, 4 Dec 2018 10:16:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3187F21095 for ; Tue, 4 Dec 2018 10:16:00 +0000 (UTC) Date: Tue, 4 Dec 2018 10:16:00 +0000 (UTC) From: =?utf-8?Q?Martin_Kl=C3=ADma_=28JIRA=29?= To: dev@pdfbox.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (PDFBOX-4393) PDF signature invalid after second interactive field signed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Martin Kl=C3=ADma created PDFBOX-4393: ------------------------------------ Summary: PDF signature invalid after second interactive field = signed Key: PDFBOX-4393 URL: https://issues.apache.org/jira/browse/PDFBOX-4393 Project: PDFBox Issue Type: Bug Affects Versions: 2.0.12 Environment: Windows Reporter: Martin Kl=C3=ADma Attachments: image-2018-12-04-11-14-01-586.png, image-2018-12-04-1= 1-14-32-676.png, streamserve_test_sig0.pdf, streamserve_test_sig2.pdf, stre= amserve_test_sig3.pdf, streamserve_test_sig3.signed.pdf Hi guys, I stumpted on the problem with PDFBox and interactive field signing. I have= PDF generated with OpenText StreamServe with two interactive fields for si= gning. See example 1 (streamserve_test_sig0.pdg) in attachement. When I use Adobe Reader I can sign both of the visual fields just fine but= when I use PDFBox to sign one of this field the following signature is mar= ked as invalid. Doesn't matter if I use PDFbox or sign it manually with Ad= obe Reader See example 3:=C2=A0 * =C2=A0streamserve_test_sig3.pdf (signed by PDFBox) - valid * =C2=A0streamserve_test_sig3.pdf (signed 2nd by Adobe Reader) - invalid !image-2018-12-04-11-14-01-586.png! =C2=A0 Also last example - when it=C2=B4s signed first by Adobe Reader and then wi= th PDFBox the signature seems valid but it says the document was "certified= ". See example 2 (streamserve_test_sig2.pdf) !image-2018-12-04-11-14-32-676.png! =C2=A0 What could be wrong? When is signed whole document with PDFBox it works jus= t fine.=20 Thanks for response, Martin =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org For additional commands, e-mail: dev-help@pdfbox.apache.org