|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
Problems with Digital Signature and Adobe Updatetoday users have started noticing an error when opening digital
signatures with itextsharp / bouncycastle. apparently adobe is pushing out an update for a critical bug fix. has anyone else noticed this problem? the error message is : Signer 2.16.840.1.101.3.4.2.1WITHRSA not recognised. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ itextsharp-questions mailing list itextsharp-questions@... https://lists.sourceforge.net/lists/listinfo/itextsharp-questions |
|
|
Re: Problems with Digital Signature and Adobe UpdateLooks like you are using an old iTextSharp version that doesn't recognize that particular hash.
Paulo > -----Original Message----- > From: Tony Carreon [mailto:tcarreon@...] > Sent: Tuesday, March 17, 2009 8:06 PM > To: itextsharp-questions@... > Subject: [itextsharp-questions] Problems with Digital > Signature and Adobe Update > > today users have started noticing an error when opening digital > signatures with itextsharp / bouncycastle. > > apparently adobe is pushing out an update for a critical bug fix. > > has anyone else noticed this problem? > > the error message is : Signer 2.16.840.1.101.3.4.2.1WITHRSA not > recognised. > > > Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ itextsharp-questions mailing list itextsharp-questions@... https://lists.sourceforge.net/lists/listinfo/itextsharp-questions |
|
|
Re: Problems with Digital Signature and Adobe Updateactually i downloaded the newest available version and it still did
not work. i downloaded the source and compiled from that and it did not work. the only way i could get it to work was modify the source to include the line: if (algorithm == "2.16.840.1.101.3.4.2.1WITHRSA") algorithm = "SHA1WITHRSA"; //"2.16.840.1.101.3.4.2.1"; to the GetSigner method in SignerUtilities. -- tony On Mar 24, 2009, at 6:54 AM, Paulo Soares wrote: > Looks like you are using an old iTextSharp version that doesn't > recognize that particular hash. > > Paulo > >> -----Original Message----- >> From: Tony Carreon [mailto:tcarreon@...] >> Sent: Tuesday, March 17, 2009 8:06 PM >> To: itextsharp-questions@... >> Subject: [itextsharp-questions] Problems with Digital >> Signature and Adobe Update >> >> today users have started noticing an error when opening digital >> signatures with itextsharp / bouncycastle. >> >> apparently adobe is pushing out an update for a critical bug fix. >> >> has anyone else noticed this problem? >> >> the error message is : Signer 2.16.840.1.101.3.4.2.1WITHRSA not >> recognised. >> >> >> > > > Aviso Legal: > Esta mensagem é destinada exclusivamente ao destinatário. Pode > conter informação confidencial ou legalmente protegida. A incorrecta > transmissão desta mensagem não significa a perca de > confidencialidade. Se esta mensagem for recebida por engano, por > favor envie-a de volta para o remetente e apague-a do seu sistema de > imediato. É proibido a qualquer pessoa que não o destinatário de > usar, revelar ou distribuir qualquer parte desta mensagem. > > Disclaimer: > This message is destined exclusively to the intended receiver. It > may contain confidential or legally protected information. The > incorrect transmission of this message does not mean the loss of its > confidentiality. If this message is received by mistake, please send > it back to the sender and delete it from your system immediately. It > is forbidden to any person who is not the intended receiver to use, > distribute or copy any part of this message. > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) > are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly > and > easily build your RIAs with Flex Builder, the Eclipse(TM)based > development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com_______________________________________________ > itextsharp-questions mailing list > itextsharp-questions@... > https://lists.sourceforge.net/lists/listinfo/itextsharp-questions ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ itextsharp-questions mailing list itextsharp-questions@... https://lists.sourceforge.net/lists/listinfo/itextsharp-questions |
|
|
Re: Problems with Digital Signature and Adobe UpdateThat the OID for SHA-256. The signature code is ungoing profund changes in iText that will be also ported to iTextSharp. For the moment you'll have to change the source.
Paulo > -----Original Message----- > From: Tony Carreon [mailto:tcarreon@...] > Sent: Tuesday, March 24, 2009 12:40 PM > To: Post all your questions about iTextSharp here > Subject: Re: [itextsharp-questions] Problems with Digital > Signature and Adobe Update > > actually i downloaded the newest available version and it still did > not work. i downloaded the source and compiled from that and it did > not work. the only way i could get it to work was modify the > source to > include the line: > > if (algorithm == "2.16.840.1.101.3.4.2.1WITHRSA") > algorithm = "SHA1WITHRSA"; //"2.16.840.1.101.3.4.2.1"; > > > to the GetSigner method in SignerUtilities. > > -- > tony > > On Mar 24, 2009, at 6:54 AM, Paulo Soares wrote: > > > Looks like you are using an old iTextSharp version that doesn't > > recognize that particular hash. > > > > Paulo > > > >> -----Original Message----- > >> From: Tony Carreon [mailto:tcarreon@...] > >> Sent: Tuesday, March 17, 2009 8:06 PM > >> To: itextsharp-questions@... > >> Subject: [itextsharp-questions] Problems with Digital > >> Signature and Adobe Update > >> > >> today users have started noticing an error when opening digital > >> signatures with itextsharp / bouncycastle. > >> > >> apparently adobe is pushing out an update for a critical bug fix. > >> > >> has anyone else noticed this problem? > >> > >> the error message is : Signer 2.16.840.1.101.3.4.2.1WITHRSA not > >> recognised. Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ itextsharp-questions mailing list itextsharp-questions@... https://lists.sourceforge.net/lists/listinfo/itextsharp-questions |
|
|
Re: Problems with Digital Signature and Adobe UpdateI have the same problem after updating to Adobe Reader 9.1.
|
|
|
Re: Problems with Digital Signature and Adobe UpdateTo get the change to work I had to use:-
if (algorithm == "2.16.840.1.101.3.4.2.1withRSA") algorithm = "SHA1WITHRSA"; //"2.16.840.1.101.3.4.2.1"; That makes AcroFields.VerifySignature return a PdfPKCS7 object without error. However when I then do a PdfPKCS7.Verify() I get a False return even when the PDF has not been modified. Note this does not happen with other certificate types (which work without the fix above). So it looks to me that there are even more things wrong.
|
|
|
Re: Problems with Digital Signature and Adobe UpdateTo get things working properly the added code should be:-
if (algorithm == "2.16.840.1.101.3.4.2.1withRSA") algorithm = "SHA256withRSA"; //"2.16.840.1.101.3.4.2.1"; Since OID 2.16.840.1.101.3.4.2.1 corresponds to SHA-256 this seems appropriate. With this change PdfPKCS7.Verify() seems to return a sensible value.
|
|
|
Re: Problems with Digital Signature and Adobe UpdateI am getting the same problem although slightly different...
2.16.840.1.101.3.4.2.1 MessageDigest not available The error occurred in C:\ColdFusionCentaur\wwwroot\readpdf.cfm: line 70 68 : // End revision extraction 69 : 70 : pk = acroFields.verifySignature(name); 71 : calendar = pk.getSignDate(); 72 : certificateArray = pk.getCertificates(); I should add that i am using ColdFusion and iText 2.1.7 Where in the source of iText do you add the modification? Mike
|
|
|
Re: Problems with Digital Signature and Adobe UpdateIn the latest version of iTextSharp (4.1.6) the PdfPKCS7 class is substantially rewritten and things work without having to make any changes.
Jim
|
| Free embeddable forum powered by Nabble | Forum Help |