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 iText-questions@lists.sourceforge.net 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