ModuleFileHeader csize
mark.reinhold at oracle.com
mark.reinhold at oracle.com
Thu Apr 14 13:36:09 PDT 2011
2011/4/14 13:28 -0700, sean.mullan at oracle.com:
> On 4/14/11 3:54 PM, Mandy Chung wrote:
>> Just to be clear - I meant a bug in the implementation.
>
> Ok. But ...
>
> Either way there is a problem when you apply the signature. The csize cannot be
> calculated until after you generate the signature, but the signature encrypts a
> hash of the module file, which includes the csize.
Oops.
> So either we need to exclude the size of the signature or not include the csize
> in the hash.
Hrm. Perhaps that's why we didn't include the header in the csize
in the first place, and so this is a bug in the specification.
Dalibor?
- Mark
More information about the jigsaw-dev
mailing list