Re: [PDFBOX-2.0] Signature Issue
Hi Andreas, Follow a dropbox link to file https://www.dropbox.com/s/1wo4z72y5uvu518/sign_me_signed.pdf?dl=0 BR On Wed, Feb 4, 2015 at 11:11 AM, Andreas Lehmkühler wrote: > Hi, > > > Isaias Barroso hat am 3. Februar 2015 um > 22:58 > > geschrieben: > > > > > > Hi Andreas, > > > > Now, the request to save file on close doesn't occurs but now the > signature > > appears as Invalid in Adobe Forms. I'm using the > > pdfbox-2.0.0-20150203.200017-1038.jar and > > pdfbox-examples-2.0.0-20150203.200144-1010.jar SNAPSHOTS. > Thanks for the check. I'll have a look in the remaining issue later. > > > Bouncycastle 1.51 are being used. The keystore is the same used on PDBBOX > > test resource directory. > > > > I'm sending the result file. > Attachments are allowed. Either you'll upload the file to a public place > or send > it to me directly. > > BR > Andreas Lehmkühler > > > Best regards > > > > On Mon, Feb 2, 2015 at 6:13 PM, Isaias Barroso > > > wrote: > > > > > Thank you, > > > > > > After test I'll give a feedback. > > > > > > BR > > > > > > On Mon, Feb 2, 2015 at 6:05 PM, Andreas Lehmkuehler > > > wrote: > > > > > >> Hi, > > >> > > >> Am 02.02.2015 um 20:24 schrieb Isaias Barroso: > > >> > > >>> Hi Andreas, > > >>> > > >>> The SNAPSHOT (pdfbox-2.0.0-20150202.110005-1034) for today already > > >>> contains > > >>> the fixed code? > > >>> > > >> I'm afraid not. You have to wait for the next succesful build. > > >> > > >> BR > > >> Andreas Lehmkühler > > >> > > >> > > >> BR > > >>> > > >>> On Mon, Feb 2, 2015 at 5:12 PM, Andreas Lehmkuehler < > andr...@lehmi.de> > > >>> wrote: > > >>> > > >>> Hi, > > > > > > Am 29.01.2015 um 16:10 schrieb Isaias Barroso: > > > > Hi Ruben, > > > > > > I think it isn't the same problem, because the file is correctly > signed > > > using PDFBOX 1.8.8 and BouncyCastle 1.45. > > > > > > I guess the problem was a missing trailer. I've fixed that in the > > trunk, > > see [1] for further details. > > > > Please, double check if everything is fine now. > > > > BR > > Andreas Lehmkühler > > > > [1] https://issues.apache.org/jira/browse/PDFBOX-2656 > > > > > > Best regards > > > > > > > > > On Thu, Jan 29, 2015 at 12:05 PM, Ruben Lagar < > ruben.la...@gmail.com> > > > wrote: > > > > > > Hi Isaias, > > > > > >> > > >> I had a similar problem, and I think it is related to the problem > > >> described > > >> in this Jira > > >> > > >> https://issues.apache.org/jira/browse/PDFBOX-1822 > > >> > > >> There is no fix yet, as far as I know. > > >> > > >> > > >> El Thu Jan 29 2015 at 1:39:40 PM, Isaias Barroso (< > > >> isaias.barr...@gmail.com>) > > >> escribió: > > >> > > >> Hi Andreas, > > >> > > >>> > > >>> I got the updated SNAPSHOT > (pdfbox-2.0.0-20150129.080600-1013.jar) > > >>> and > > >>> used the sign_me.pdf, keystore.p12 provided on test case. Follow > the > > >>> > > >>> result > > >> > > >> file, now Adobe Reader says that the signature is invalid and > when I > > >>> > > >>> close > > >> > > >> the save message appears. > > >>> I've tried using the CreateSignature.class of > > >>> pdfbox-examples-2.0.0-20150129.080737-985.jar SNAPSHOT too. > > >>> > > >>> BouncyCastle 1.51 are being used. > > >>> > > >>> Best regards > > >>> > > >>> > > >>> On Thu, Jan 29, 2015 at 9:53 AM, Andreas Lehmkühler < > > >>> andr...@lehmi.de> > > >>> wrote: > > >>> > > >>> Hi, > > >>> > > > > > > Isaias Barroso hat am 28. Januar > 2015 > > um > > > > > > > > 12:35 > > > > geschrieben: > > > > > > > > > Hi all, > > > > > > I'm trying the PDFBOX 2 SNAPSHOT and I have a issue with > Signature, > > > > > > the > > > > >>> > > >> file is processed and the size are increased but when I open the > file > > >>> > > > > > on > > > > >>> > > >> Adobe Reader the signature information aren't showed. When I > close > > >>> the > > >>> > > > > > an > > > > information that the document was modified appears, so I'm > thinking > > > > > > that > > > > >>> > > >> process wasn't completed correctly, although none exception are > > >>> thrown > > >>> > > > > > To make the tests, I've used a pdfbox-examples snapshot > > > (org.apache.pdfbox.examples.signature.CreateSignature) > > > > > > > > >https://repository.apache.org/content/groups/snapshots/org/ > > > > >>> apache/pdfbox/pdfbox-examples/2.0.0-SNAPSHOT/ > > >> > > >> What exact SNAPSHOT version did you
Re: [PDFBOX-2.0] Signature Issue
Hi, > Isaias Barroso hat am 3. Februar 2015 um 22:58 > geschrieben: > > > Hi Andreas, > > Now, the request to save file on close doesn't occurs but now the signature > appears as Invalid in Adobe Forms. I'm using the > pdfbox-2.0.0-20150203.200017-1038.jar and > pdfbox-examples-2.0.0-20150203.200144-1010.jar SNAPSHOTS. Thanks for the check. I'll have a look in the remaining issue later. > Bouncycastle 1.51 are being used. The keystore is the same used on PDBBOX > test resource directory. > > I'm sending the result file. Attachments are allowed. Either you'll upload the file to a public place or send it to me directly. BR Andreas Lehmkühler > Best regards > > On Mon, Feb 2, 2015 at 6:13 PM, Isaias Barroso > wrote: > > > Thank you, > > > > After test I'll give a feedback. > > > > BR > > > > On Mon, Feb 2, 2015 at 6:05 PM, Andreas Lehmkuehler > > wrote: > > > >> Hi, > >> > >> Am 02.02.2015 um 20:24 schrieb Isaias Barroso: > >> > >>> Hi Andreas, > >>> > >>> The SNAPSHOT (pdfbox-2.0.0-20150202.110005-1034) for today already > >>> contains > >>> the fixed code? > >>> > >> I'm afraid not. You have to wait for the next succesful build. > >> > >> BR > >> Andreas Lehmkühler > >> > >> > >> BR > >>> > >>> On Mon, Feb 2, 2015 at 5:12 PM, Andreas Lehmkuehler > >>> wrote: > >>> > >>> Hi, > > > Am 29.01.2015 um 16:10 schrieb Isaias Barroso: > > Hi Ruben, > > > > I think it isn't the same problem, because the file is correctly signed > > using PDFBOX 1.8.8 and BouncyCastle 1.45. > > > > I guess the problem was a missing trailer. I've fixed that in the > trunk, > see [1] for further details. > > Please, double check if everything is fine now. > > BR > Andreas Lehmkühler > > [1] https://issues.apache.org/jira/browse/PDFBOX-2656 > > > Best regards > > > > > > On Thu, Jan 29, 2015 at 12:05 PM, Ruben Lagar > > wrote: > > > > Hi Isaias, > > > >> > >> I had a similar problem, and I think it is related to the problem > >> described > >> in this Jira > >> > >> https://issues.apache.org/jira/browse/PDFBOX-1822 > >> > >> There is no fix yet, as far as I know. > >> > >> > >> El Thu Jan 29 2015 at 1:39:40 PM, Isaias Barroso (< > >> isaias.barr...@gmail.com>) > >> escribió: > >> > >> Hi Andreas, > >> > >>> > >>> I got the updated SNAPSHOT (pdfbox-2.0.0-20150129.080600-1013.jar) > >>> and > >>> used the sign_me.pdf, keystore.p12 provided on test case. Follow the > >>> > >>> result > >> > >> file, now Adobe Reader says that the signature is invalid and when I > >>> > >>> close > >> > >> the save message appears. > >>> I've tried using the CreateSignature.class of > >>> pdfbox-examples-2.0.0-20150129.080737-985.jar SNAPSHOT too. > >>> > >>> BouncyCastle 1.51 are being used. > >>> > >>> Best regards > >>> > >>> > >>> On Thu, Jan 29, 2015 at 9:53 AM, Andreas Lehmkühler < > >>> andr...@lehmi.de> > >>> wrote: > >>> > >>> Hi, > >>> > > > Isaias Barroso hat am 28. Januar 2015 > um > > > > > 12:35 > > geschrieben: > > > > > > Hi all, > > > > I'm trying the PDFBOX 2 SNAPSHOT and I have a issue with Signature, > > > > the > > >>> > >> file is processed and the size are increased but when I open the file > >>> > > > on > > >>> > >> Adobe Reader the signature information aren't showed. When I close > >>> the > >>> > > > an > > information that the document was modified appears, so I'm thinking > > > > that > > >>> > >> process wasn't completed correctly, although none exception are > >>> thrown > >>> > > > To make the tests, I've used a pdfbox-examples snapshot > > (org.apache.pdfbox.examples.signature.CreateSignature) > > > > > >https://repository.apache.org/content/groups/snapshots/org/ > > >>> apache/pdfbox/pdfbox-examples/2.0.0-SNAPSHOT/ > >> > >> What exact SNAPSHOT version did you use as there were recently some > >>> > changes. > > Do you have any suggestion to investigate the root cause? > > > > > What exactly did you do to sign the pdf? Did you have a look at > the > provided > testcase [1], which demonstrates all necessary steps to sign a pdf. > > Best regards > > > > > -- > > Isaías Barroso > > Belo Horizonte - MG > > > > > BR > Andreas Lehmkühler > > [1] > >>>
Re: [PDFBOX-2.0] Signature Issue
Hi Andreas, Now, the request to save file on close doesn't occurs but now the signature appears as Invalid in Adobe Forms. I'm using the pdfbox-2.0.0-20150203.200017-1038.jar and pdfbox-examples-2.0.0-20150203.200144-1010.jar SNAPSHOTS. Bouncycastle 1.51 are being used. The keystore is the same used on PDBBOX test resource directory. I'm sending the result file. Best regards On Mon, Feb 2, 2015 at 6:13 PM, Isaias Barroso wrote: > Thank you, > > After test I'll give a feedback. > > BR > > On Mon, Feb 2, 2015 at 6:05 PM, Andreas Lehmkuehler > wrote: > >> Hi, >> >> Am 02.02.2015 um 20:24 schrieb Isaias Barroso: >> >>> Hi Andreas, >>> >>> The SNAPSHOT (pdfbox-2.0.0-20150202.110005-1034) for today already >>> contains >>> the fixed code? >>> >> I'm afraid not. You have to wait for the next succesful build. >> >> BR >> Andreas Lehmkühler >> >> >> BR >>> >>> On Mon, Feb 2, 2015 at 5:12 PM, Andreas Lehmkuehler >>> wrote: >>> >>> Hi, Am 29.01.2015 um 16:10 schrieb Isaias Barroso: Hi Ruben, > > I think it isn't the same problem, because the file is correctly signed > using PDFBOX 1.8.8 and BouncyCastle 1.45. > > I guess the problem was a missing trailer. I've fixed that in the trunk, see [1] for further details. Please, double check if everything is fine now. BR Andreas Lehmkühler [1] https://issues.apache.org/jira/browse/PDFBOX-2656 Best regards > > > On Thu, Jan 29, 2015 at 12:05 PM, Ruben Lagar > wrote: > > Hi Isaias, > >> >> I had a similar problem, and I think it is related to the problem >> described >> in this Jira >> >> https://issues.apache.org/jira/browse/PDFBOX-1822 >> >> There is no fix yet, as far as I know. >> >> >> El Thu Jan 29 2015 at 1:39:40 PM, Isaias Barroso (< >> isaias.barr...@gmail.com>) >> escribió: >> >> Hi Andreas, >> >>> >>> I got the updated SNAPSHOT (pdfbox-2.0.0-20150129.080600-1013.jar) >>> and >>> used the sign_me.pdf, keystore.p12 provided on test case. Follow the >>> >>> result >> >> file, now Adobe Reader says that the signature is invalid and when I >>> >>> close >> >> the save message appears. >>> I've tried using the CreateSignature.class of >>> pdfbox-examples-2.0.0-20150129.080737-985.jar SNAPSHOT too. >>> >>> BouncyCastle 1.51 are being used. >>> >>> Best regards >>> >>> >>> On Thu, Jan 29, 2015 at 9:53 AM, Andreas Lehmkühler < >>> andr...@lehmi.de> >>> wrote: >>> >>> Hi, >>> Isaias Barroso hat am 28. Januar 2015 um > > 12:35 geschrieben: > > > Hi all, > > I'm trying the PDFBOX 2 SNAPSHOT and I have a issue with Signature, > > the >>> >> file is processed and the size are increased but when I open the file >>> > on >>> >> Adobe Reader the signature information aren't showed. When I close >>> the >>> > an information that the document was modified appears, so I'm thinking > > that >>> >> process wasn't completed correctly, although none exception are >>> thrown >>> > To make the tests, I've used a pdfbox-examples snapshot > (org.apache.pdfbox.examples.signature.CreateSignature) > > >https://repository.apache.org/content/groups/snapshots/org/ >>> apache/pdfbox/pdfbox-examples/2.0.0-SNAPSHOT/ >> >> What exact SNAPSHOT version did you use as there were recently some >>> changes. Do you have any suggestion to investigate the root cause? > > What exactly did you do to sign the pdf? Did you have a look at the provided testcase [1], which demonstrates all necessary steps to sign a pdf. Best regards > > -- > Isaías Barroso > Belo Horizonte - MG > > BR Andreas Lehmkühler [1] http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/ >>> test/java/org/apache/pdfbox/examples/pdmodel/ >> TestCreateSignature.java?view=markup >> >> >>> >>> >>> -- >>> Isaías Barroso >>> Belo Horizonte - MG >>> >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org >>> For additional commands, e-mail: users-h...@pdfbox.apache.org >>> >>> >> >> > > > -
Re: [PDFBOX-2.0] Signature Issue
Thank you, After test I'll give a feedback. BR On Mon, Feb 2, 2015 at 6:05 PM, Andreas Lehmkuehler wrote: > Hi, > > Am 02.02.2015 um 20:24 schrieb Isaias Barroso: > >> Hi Andreas, >> >> The SNAPSHOT (pdfbox-2.0.0-20150202.110005-1034) for today already >> contains >> the fixed code? >> > I'm afraid not. You have to wait for the next succesful build. > > BR > Andreas Lehmkühler > > > BR >> >> On Mon, Feb 2, 2015 at 5:12 PM, Andreas Lehmkuehler >> wrote: >> >> Hi, >>> >>> >>> Am 29.01.2015 um 16:10 schrieb Isaias Barroso: >>> >>> Hi Ruben, I think it isn't the same problem, because the file is correctly signed using PDFBOX 1.8.8 and BouncyCastle 1.45. I guess the problem was a missing trailer. I've fixed that in the >>> trunk, >>> see [1] for further details. >>> >>> Please, double check if everything is fine now. >>> >>> BR >>> Andreas Lehmkühler >>> >>> [1] https://issues.apache.org/jira/browse/PDFBOX-2656 >>> >>> >>> Best regards On Thu, Jan 29, 2015 at 12:05 PM, Ruben Lagar wrote: Hi Isaias, > > I had a similar problem, and I think it is related to the problem > described > in this Jira > > https://issues.apache.org/jira/browse/PDFBOX-1822 > > There is no fix yet, as far as I know. > > > El Thu Jan 29 2015 at 1:39:40 PM, Isaias Barroso (< > isaias.barr...@gmail.com>) > escribió: > > Hi Andreas, > >> >> I got the updated SNAPSHOT (pdfbox-2.0.0-20150129.080600-1013.jar) >> and >> used the sign_me.pdf, keystore.p12 provided on test case. Follow the >> >> result > > file, now Adobe Reader says that the signature is invalid and when I >> >> close > > the save message appears. >> I've tried using the CreateSignature.class of >> pdfbox-examples-2.0.0-20150129.080737-985.jar SNAPSHOT too. >> >> BouncyCastle 1.51 are being used. >> >> Best regards >> >> >> On Thu, Jan 29, 2015 at 9:53 AM, Andreas Lehmkühler > > >> wrote: >> >> Hi, >> >>> >>> >>> Isaias Barroso hat am 28. Januar 2015 >>> um >>> 12:35 >>> >>> geschrieben: Hi all, I'm trying the PDFBOX 2 SNAPSHOT and I have a issue with Signature, the >>> >> > file is processed and the size are increased but when I open the file >> >>> on >>> >> > Adobe Reader the signature information aren't showed. When I close the >> >>> an >>> >>> information that the document was modified appears, so I'm thinking that >>> >> > process wasn't completed correctly, although none exception are thrown >> >>> To make the tests, I've used a pdfbox-examples snapshot (org.apache.pdfbox.examples.signature.CreateSignature) https://repository.apache.org/content/groups/snapshots/org/ >>> >> apache/pdfbox/pdfbox-examples/2.0.0-SNAPSHOT/ > > What exact SNAPSHOT version did you use as there were recently some >> >>> changes. >>> >>> Do you have any suggestion to investigate the root cause? >>> What exactly did you do to sign the pdf? Did you have a look at the >>> provided >>> testcase [1], which demonstrates all necessary steps to sign a pdf. >>> >>> Best regards >>> -- Isaías Barroso Belo Horizonte - MG >>> BR >>> Andreas Lehmkühler >>> >>> [1] >>> >>> >>> http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/ >>> >> test/java/org/apache/pdfbox/examples/pdmodel/ > TestCreateSignature.java?view=markup > > >> >>> >> >> -- >> Isaías Barroso >> Belo Horizonte - MG >> >> - >> To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org >> For additional commands, e-mail: users-h...@pdfbox.apache.org >> >> > > >>> - >>> To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org >>> For additional commands, e-mail: users-h...@pdfbox.apache.org >>> >>> >>> >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org > For additional commands, e-mail: users-h...@pdfbox.apache.org > > -- Isaías Barroso Belo Horizonte - MG
Re: [PDFBOX-2.0] Signature Issue
Hi, Am 02.02.2015 um 20:24 schrieb Isaias Barroso: Hi Andreas, The SNAPSHOT (pdfbox-2.0.0-20150202.110005-1034) for today already contains the fixed code? I'm afraid not. You have to wait for the next succesful build. BR Andreas Lehmkühler BR On Mon, Feb 2, 2015 at 5:12 PM, Andreas Lehmkuehler wrote: Hi, Am 29.01.2015 um 16:10 schrieb Isaias Barroso: Hi Ruben, I think it isn't the same problem, because the file is correctly signed using PDFBOX 1.8.8 and BouncyCastle 1.45. I guess the problem was a missing trailer. I've fixed that in the trunk, see [1] for further details. Please, double check if everything is fine now. BR Andreas Lehmkühler [1] https://issues.apache.org/jira/browse/PDFBOX-2656 Best regards On Thu, Jan 29, 2015 at 12:05 PM, Ruben Lagar wrote: Hi Isaias, I had a similar problem, and I think it is related to the problem described in this Jira https://issues.apache.org/jira/browse/PDFBOX-1822 There is no fix yet, as far as I know. El Thu Jan 29 2015 at 1:39:40 PM, Isaias Barroso (< isaias.barr...@gmail.com>) escribió: Hi Andreas, I got the updated SNAPSHOT (pdfbox-2.0.0-20150129.080600-1013.jar) and used the sign_me.pdf, keystore.p12 provided on test case. Follow the result file, now Adobe Reader says that the signature is invalid and when I close the save message appears. I've tried using the CreateSignature.class of pdfbox-examples-2.0.0-20150129.080737-985.jar SNAPSHOT too. BouncyCastle 1.51 are being used. Best regards On Thu, Jan 29, 2015 at 9:53 AM, Andreas Lehmkühler wrote: Hi, Isaias Barroso hat am 28. Januar 2015 um 12:35 geschrieben: Hi all, I'm trying the PDFBOX 2 SNAPSHOT and I have a issue with Signature, the file is processed and the size are increased but when I open the file on Adobe Reader the signature information aren't showed. When I close the an information that the document was modified appears, so I'm thinking that process wasn't completed correctly, although none exception are thrown To make the tests, I've used a pdfbox-examples snapshot (org.apache.pdfbox.examples.signature.CreateSignature) https://repository.apache.org/content/groups/snapshots/org/ apache/pdfbox/pdfbox-examples/2.0.0-SNAPSHOT/ What exact SNAPSHOT version did you use as there were recently some changes. Do you have any suggestion to investigate the root cause? What exactly did you do to sign the pdf? Did you have a look at the provided testcase [1], which demonstrates all necessary steps to sign a pdf. Best regards -- Isaías Barroso Belo Horizonte - MG BR Andreas Lehmkühler [1] http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/ test/java/org/apache/pdfbox/examples/pdmodel/ TestCreateSignature.java?view=markup -- Isaías Barroso Belo Horizonte - MG - To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org - To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org - To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org
Re: [PDFBOX-2.0] Signature Issue
Hi Andreas, The SNAPSHOT (pdfbox-2.0.0-20150202.110005-1034) for today already contains the fixed code? BR On Mon, Feb 2, 2015 at 5:12 PM, Andreas Lehmkuehler wrote: > Hi, > > > Am 29.01.2015 um 16:10 schrieb Isaias Barroso: > >> Hi Ruben, >> >> I think it isn't the same problem, because the file is correctly signed >> using PDFBOX 1.8.8 and BouncyCastle 1.45. >> > I guess the problem was a missing trailer. I've fixed that in the trunk, > see [1] for further details. > > Please, double check if everything is fine now. > > BR > Andreas Lehmkühler > > [1] https://issues.apache.org/jira/browse/PDFBOX-2656 > > >> Best regards >> >> >> On Thu, Jan 29, 2015 at 12:05 PM, Ruben Lagar >> wrote: >> >> Hi Isaias, >>> >>> I had a similar problem, and I think it is related to the problem >>> described >>> in this Jira >>> >>> https://issues.apache.org/jira/browse/PDFBOX-1822 >>> >>> There is no fix yet, as far as I know. >>> >>> >>> El Thu Jan 29 2015 at 1:39:40 PM, Isaias Barroso (< >>> isaias.barr...@gmail.com>) >>> escribió: >>> >>> Hi Andreas, I got the updated SNAPSHOT (pdfbox-2.0.0-20150129.080600-1013.jar) and used the sign_me.pdf, keystore.p12 provided on test case. Follow the >>> result >>> file, now Adobe Reader says that the signature is invalid and when I >>> close >>> the save message appears. I've tried using the CreateSignature.class of pdfbox-examples-2.0.0-20150129.080737-985.jar SNAPSHOT too. BouncyCastle 1.51 are being used. Best regards On Thu, Jan 29, 2015 at 9:53 AM, Andreas Lehmkühler wrote: Hi, > > > Isaias Barroso hat am 28. Januar 2015 um >> > 12:35 > >> geschrieben: >> >> >> Hi all, >> >> I'm trying the PDFBOX 2 SNAPSHOT and I have a issue with Signature, >> > the >>> file is processed and the size are increased but when I open the file >> > on >>> Adobe Reader the signature information aren't showed. When I close the >> > an > >> information that the document was modified appears, so I'm thinking >> > that >>> process wasn't completed correctly, although none exception are thrown >> >> To make the tests, I've used a pdfbox-examples snapshot >> (org.apache.pdfbox.examples.signature.CreateSignature) >> >> > https://repository.apache.org/content/groups/snapshots/org/ >>> apache/pdfbox/pdfbox-examples/2.0.0-SNAPSHOT/ >>> What exact SNAPSHOT version did you use as there were recently some > changes. > > Do you have any suggestion to investigate the root cause? >> > What exactly did you do to sign the pdf? Did you have a look at the > provided > testcase [1], which demonstrates all necessary steps to sign a pdf. > > Best regards >> >> -- >> Isaías Barroso >> Belo Horizonte - MG >> > > BR > Andreas Lehmkühler > > [1] > > > http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/ >>> test/java/org/apache/pdfbox/examples/pdmodel/ >>> TestCreateSignature.java?view=markup >>> > -- Isaías Barroso Belo Horizonte - MG - To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org >>> >>> >> >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org > For additional commands, e-mail: users-h...@pdfbox.apache.org > > -- Isaías Barroso Belo Horizonte - MG
Re: [PDFBOX-2.0] Signature Issue
Hi, Am 29.01.2015 um 16:10 schrieb Isaias Barroso: Hi Ruben, I think it isn't the same problem, because the file is correctly signed using PDFBOX 1.8.8 and BouncyCastle 1.45. I guess the problem was a missing trailer. I've fixed that in the trunk, see [1] for further details. Please, double check if everything is fine now. BR Andreas Lehmkühler [1] https://issues.apache.org/jira/browse/PDFBOX-2656 Best regards On Thu, Jan 29, 2015 at 12:05 PM, Ruben Lagar wrote: Hi Isaias, I had a similar problem, and I think it is related to the problem described in this Jira https://issues.apache.org/jira/browse/PDFBOX-1822 There is no fix yet, as far as I know. El Thu Jan 29 2015 at 1:39:40 PM, Isaias Barroso (< isaias.barr...@gmail.com>) escribió: Hi Andreas, I got the updated SNAPSHOT (pdfbox-2.0.0-20150129.080600-1013.jar) and used the sign_me.pdf, keystore.p12 provided on test case. Follow the result file, now Adobe Reader says that the signature is invalid and when I close the save message appears. I've tried using the CreateSignature.class of pdfbox-examples-2.0.0-20150129.080737-985.jar SNAPSHOT too. BouncyCastle 1.51 are being used. Best regards On Thu, Jan 29, 2015 at 9:53 AM, Andreas Lehmkühler wrote: Hi, Isaias Barroso hat am 28. Januar 2015 um 12:35 geschrieben: Hi all, I'm trying the PDFBOX 2 SNAPSHOT and I have a issue with Signature, the file is processed and the size are increased but when I open the file on Adobe Reader the signature information aren't showed. When I close the an information that the document was modified appears, so I'm thinking that process wasn't completed correctly, although none exception are thrown To make the tests, I've used a pdfbox-examples snapshot (org.apache.pdfbox.examples.signature.CreateSignature) https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-examples/2.0.0-SNAPSHOT/ What exact SNAPSHOT version did you use as there were recently some changes. Do you have any suggestion to investigate the root cause? What exactly did you do to sign the pdf? Did you have a look at the provided testcase [1], which demonstrates all necessary steps to sign a pdf. Best regards -- Isaías Barroso Belo Horizonte - MG BR Andreas Lehmkühler [1] http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/test/java/org/apache/pdfbox/examples/pdmodel/TestCreateSignature.java?view=markup -- Isaías Barroso Belo Horizonte - MG - To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org - To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org
Re: [PDFBOX-2.0] Signature Issue
Hi Ruben, I think it isn't the same problem, because the file is correctly signed using PDFBOX 1.8.8 and BouncyCastle 1.45. Best regards On Thu, Jan 29, 2015 at 12:05 PM, Ruben Lagar wrote: > Hi Isaias, > > I had a similar problem, and I think it is related to the problem described > in this Jira > > https://issues.apache.org/jira/browse/PDFBOX-1822 > > There is no fix yet, as far as I know. > > > El Thu Jan 29 2015 at 1:39:40 PM, Isaias Barroso (< > isaias.barr...@gmail.com>) > escribió: > > > Hi Andreas, > > > > I got the updated SNAPSHOT (pdfbox-2.0.0-20150129.080600-1013.jar) and > > used the sign_me.pdf, keystore.p12 provided on test case. Follow the > result > > file, now Adobe Reader says that the signature is invalid and when I > close > > the save message appears. > > I've tried using the CreateSignature.class of > > pdfbox-examples-2.0.0-20150129.080737-985.jar SNAPSHOT too. > > > > BouncyCastle 1.51 are being used. > > > > Best regards > > > > > > On Thu, Jan 29, 2015 at 9:53 AM, Andreas Lehmkühler > > wrote: > > > >> Hi, > >> > >> > >> > Isaias Barroso hat am 28. Januar 2015 um > >> 12:35 > >> > geschrieben: > >> > > >> > > >> > Hi all, > >> > > >> > I'm trying the PDFBOX 2 SNAPSHOT and I have a issue with Signature, > the > >> > file is processed and the size are increased but when I open the file > on > >> > Adobe Reader the signature information aren't showed. When I close the > >> an > >> > information that the document was modified appears, so I'm thinking > that > >> > process wasn't completed correctly, although none exception are thrown > >> > > >> > To make the tests, I've used a pdfbox-examples snapshot > >> > (org.apache.pdfbox.examples.signature.CreateSignature) > >> > > >> > https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-examples/2.0.0-SNAPSHOT/ > >> What exact SNAPSHOT version did you use as there were recently some > >> changes. > >> > >> > Do you have any suggestion to investigate the root cause? > >> What exactly did you do to sign the pdf? Did you have a look at the > >> provided > >> testcase [1], which demonstrates all necessary steps to sign a pdf. > >> > >> > Best regards > >> > > >> > -- > >> > Isaías Barroso > >> > Belo Horizonte - MG > >> > >> BR > >> Andreas Lehmkühler > >> > >> [1] > >> > >> > http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/test/java/org/apache/pdfbox/examples/pdmodel/TestCreateSignature.java?view=markup > >> > > > > > > > > -- > > Isaías Barroso > > Belo Horizonte - MG > > > > - > > To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org > > For additional commands, e-mail: users-h...@pdfbox.apache.org > -- Isaías Barroso Belo Horizonte - MG
Re: [PDFBOX-2.0] Signature Issue
More information on this stack overflow question https://stackoverflow.com/questions/21257507/attachment-damages-singature/21260292?noredirect=1#21260292 Hope this can help. El Thu Jan 29 2015 at 2:05:51 PM, Ruben Lagar () escribió: > Hi Isaias, > > I had a similar problem, and I think it is related to the problem > described in this Jira > > https://issues.apache.org/jira/browse/PDFBOX-1822 > > There is no fix yet, as far as I know. > > > El Thu Jan 29 2015 at 1:39:40 PM, Isaias Barroso (< > isaias.barr...@gmail.com>) escribió: > > Hi Andreas, >> >> I got the updated SNAPSHOT (pdfbox-2.0.0-20150129.080600-1013.jar) and >> used the sign_me.pdf, keystore.p12 provided on test case. Follow the result >> file, now Adobe Reader says that the signature is invalid and when I close >> the save message appears. >> I've tried using the CreateSignature.class of >> pdfbox-examples-2.0.0-20150129.080737-985.jar >> SNAPSHOT too. >> >> BouncyCastle 1.51 are being used. >> >> Best regards >> >> >> On Thu, Jan 29, 2015 at 9:53 AM, Andreas Lehmkühler >> wrote: >> >>> Hi, >>> >>> >>> > Isaias Barroso hat am 28. Januar 2015 um >>> 12:35 >>> > geschrieben: >>> > >>> > >>> > Hi all, >>> > >>> > I'm trying the PDFBOX 2 SNAPSHOT and I have a issue with Signature, the >>> > file is processed and the size are increased but when I open the file >>> on >>> > Adobe Reader the signature information aren't showed. When I close the >>> an >>> > information that the document was modified appears, so I'm thinking >>> that >>> > process wasn't completed correctly, although none exception are thrown >>> > >>> > To make the tests, I've used a pdfbox-examples snapshot >>> > (org.apache.pdfbox.examples.signature.CreateSignature) >>> > https://repository.apache.org/content/groups/snapshots/org/ >>> apache/pdfbox/pdfbox-examples/2.0.0-SNAPSHOT/ >>> What exact SNAPSHOT version did you use as there were recently some >>> changes. >>> >>> > Do you have any suggestion to investigate the root cause? >>> What exactly did you do to sign the pdf? Did you have a look at the >>> provided >>> testcase [1], which demonstrates all necessary steps to sign a pdf. >>> >>> > Best regards >>> > >>> > -- >>> > Isaías Barroso >>> > Belo Horizonte - MG >>> >>> BR >>> Andreas Lehmkühler >>> >>> [1] >>> http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/ >>> test/java/org/apache/pdfbox/examples/pdmodel/ >>> TestCreateSignature.java?view=markup >>> >> >> >> >> -- >> Isaías Barroso >> Belo Horizonte - MG >> >> - >> To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org >> For additional commands, e-mail: users-h...@pdfbox.apache.org > >
Re: [PDFBOX-2.0] Signature Issue
Hi Isaias, I had a similar problem, and I think it is related to the problem described in this Jira https://issues.apache.org/jira/browse/PDFBOX-1822 There is no fix yet, as far as I know. El Thu Jan 29 2015 at 1:39:40 PM, Isaias Barroso () escribió: > Hi Andreas, > > I got the updated SNAPSHOT (pdfbox-2.0.0-20150129.080600-1013.jar) and > used the sign_me.pdf, keystore.p12 provided on test case. Follow the result > file, now Adobe Reader says that the signature is invalid and when I close > the save message appears. > I've tried using the CreateSignature.class of > pdfbox-examples-2.0.0-20150129.080737-985.jar SNAPSHOT too. > > BouncyCastle 1.51 are being used. > > Best regards > > > On Thu, Jan 29, 2015 at 9:53 AM, Andreas Lehmkühler > wrote: > >> Hi, >> >> >> > Isaias Barroso hat am 28. Januar 2015 um >> 12:35 >> > geschrieben: >> > >> > >> > Hi all, >> > >> > I'm trying the PDFBOX 2 SNAPSHOT and I have a issue with Signature, the >> > file is processed and the size are increased but when I open the file on >> > Adobe Reader the signature information aren't showed. When I close the >> an >> > information that the document was modified appears, so I'm thinking that >> > process wasn't completed correctly, although none exception are thrown >> > >> > To make the tests, I've used a pdfbox-examples snapshot >> > (org.apache.pdfbox.examples.signature.CreateSignature) >> > >> https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-examples/2.0.0-SNAPSHOT/ >> What exact SNAPSHOT version did you use as there were recently some >> changes. >> >> > Do you have any suggestion to investigate the root cause? >> What exactly did you do to sign the pdf? Did you have a look at the >> provided >> testcase [1], which demonstrates all necessary steps to sign a pdf. >> >> > Best regards >> > >> > -- >> > Isaías Barroso >> > Belo Horizonte - MG >> >> BR >> Andreas Lehmkühler >> >> [1] >> >> http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/test/java/org/apache/pdfbox/examples/pdmodel/TestCreateSignature.java?view=markup >> > > > > -- > Isaías Barroso > Belo Horizonte - MG > > - > To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org > For additional commands, e-mail: users-h...@pdfbox.apache.org
Re: [PDFBOX-2.0] Signature Issue
Hi Andreas, I got the updated SNAPSHOT (pdfbox-2.0.0-20150129.080600-1013.jar) and used the sign_me.pdf, keystore.p12 provided on test case. Follow the result file, now Adobe Reader says that the signature is invalid and when I close the save message appears. I've tried using the CreateSignature.class of pdfbox-examples-2.0.0-20150129.080737-985.jar SNAPSHOT too. BouncyCastle 1.51 are being used. Best regards On Thu, Jan 29, 2015 at 9:53 AM, Andreas Lehmkühler wrote: > Hi, > > > > Isaias Barroso hat am 28. Januar 2015 um > 12:35 > > geschrieben: > > > > > > Hi all, > > > > I'm trying the PDFBOX 2 SNAPSHOT and I have a issue with Signature, the > > file is processed and the size are increased but when I open the file on > > Adobe Reader the signature information aren't showed. When I close the an > > information that the document was modified appears, so I'm thinking that > > process wasn't completed correctly, although none exception are thrown > > > > To make the tests, I've used a pdfbox-examples snapshot > > (org.apache.pdfbox.examples.signature.CreateSignature) > > > https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-examples/2.0.0-SNAPSHOT/ > What exact SNAPSHOT version did you use as there were recently some > changes. > > > Do you have any suggestion to investigate the root cause? > What exactly did you do to sign the pdf? Did you have a look at the > provided > testcase [1], which demonstrates all necessary steps to sign a pdf. > > > Best regards > > > > -- > > Isaías Barroso > > Belo Horizonte - MG > > BR > Andreas Lehmkühler > > [1] > > http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/test/java/org/apache/pdfbox/examples/pdmodel/TestCreateSignature.java?view=markup > -- Isaías Barroso Belo Horizonte - MG - To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org
Re: [PDFBOX-2.0] Signature Issue
Hi, > Isaias Barroso hat am 28. Januar 2015 um 12:35 > geschrieben: > > > Hi all, > > I'm trying the PDFBOX 2 SNAPSHOT and I have a issue with Signature, the > file is processed and the size are increased but when I open the file on > Adobe Reader the signature information aren't showed. When I close the an > information that the document was modified appears, so I'm thinking that > process wasn't completed correctly, although none exception are thrown > > To make the tests, I've used a pdfbox-examples snapshot > (org.apache.pdfbox.examples.signature.CreateSignature) > https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-examples/2.0.0-SNAPSHOT/ What exact SNAPSHOT version did you use as there were recently some changes. > Do you have any suggestion to investigate the root cause? What exactly did you do to sign the pdf? Did you have a look at the provided testcase [1], which demonstrates all necessary steps to sign a pdf. > Best regards > > -- > Isaías Barroso > Belo Horizonte - MG BR Andreas Lehmkühler [1] http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/test/java/org/apache/pdfbox/examples/pdmodel/TestCreateSignature.java?view=markup - To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org
[PDFBOX-2.0] Signature Issue
Hi all, I'm trying the PDFBOX 2 SNAPSHOT and I have a issue with Signature, the file is processed and the size are increased but when I open the file on Adobe Reader the signature information aren't showed. When I close the an information that the document was modified appears, so I'm thinking that process wasn't completed correctly, although none exception are thrown To make the tests, I've used a pdfbox-examples snapshot (org.apache.pdfbox.examples.signature.CreateSignature) https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-examples/2.0.0-SNAPSHOT/ Do you have any suggestion to investigate the root cause? Best regards -- Isaías Barroso Belo Horizonte - MG