Re: [SPAM] Re: Encrypting signed pdf file
Paulo Melo <[email protected]>
| Newsgroups | gmane.comp.java.lib.itext.general |
|---|---|
| Message-ID | <CAPbpe=XrGoamfUu76C6jCCGSgg0mhyB_CD0z=xaSMpTHsZFHuA@mail.gmail.com> |
Yeah, I get it, it shouldn't alter the signature. I did some more testing and it got worse: it seems to be random. Some files the signature got corrupted, others didn't. I will try to compare both files at the binary level and see what I can get from it, and then I'll try to get in touch with Amazon S3 Support, as this seems unrelated to iText. Thanks for the help though. 2014-09-04 2:46 GMT-03:00 iText mailing list <[email protected]>: > On 9/3/2014 9:27 PM, Paulo Melo wrote: > > I'm signing the file client-side and after I'm uploading it to S3, but > > when I download the file the signature becomes invalid. > > > > I was wondering if the HTTPS transport in between the client and the > > S3 end-point might be corrupting the signature. > > That would surprise me. > > See it as an envelope: HTTPS puts the signed file in an envelope without > changing the files. When the envelope is received the original file is > taken from the envelope. Normally, no bytes are changed in the process. > > In your case, bytes were changed (otherwise the signature wouldn't be > invalid). Compare both files on the byte level and you may get one step > closer to diagnose what changed those bytes. > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > iText(R) is a registered trademark of 1T3XT BVBA. > Many questions posted to this list can (and will) be answered with a > reference to the iText book: http://www.itextpdf.com/book/ > Please check the keywords list before you ask for examples: > http://itextpdf.com/themes/keywords.php > -- Paulo Melo Equipe Clip ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php