Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-build-dev] Strange error when doing pack200 normalization on Windows

On 5/14/07, Thomas Hallgren <thomas@xxxxxxx> wrote:
Hi Andrew,
you nailed this one right away. I was using Eclipse 3.2.2. Thanks for
the info, problem solved.

Just out of curiosity, even if the normalize process adds an extraneous
CR to the file, why does that matter? Why isn't the signer simply using
the bytes it finds for the SHA1 calculation?

Because signature validation is

SHA1(bytes of current file) == SHA1 signature from manifest ==
SHA1(bytes of original file)

so if bytes of current file are different then the signatures will not verify


Back to the top