Signing and Packing [message #544955] |
Tue, 06 July 2010 04:32  |
Eclipse User |
|
|
|
Hi all,
I got several problems with regards to signing and packing when trying to
install something from my p2 repository.
If I set both signing and packing to true I run into this one:
http://dev.eclipse.org/mhonarc/lists/p2-dev/msg01532.html
I found a few tipps about that in bug 275533, but I have no idea how to
apply them (e.g. telling Buckminster to use the pack200 from Java 5
specifically).
After I set packing to false I get signing related errors when trying to
install. For example for some locale-specific fragments I get:
> java.security.SignatureException: An error occurred while processing the
signatures for the file: /tmp/signatureFile7238243853455712790.jar
> Caused by: java.security.SignatureException: Error occurs parsing the .SF
file to find out the digest algorithm in this bundle:
/tmp/signatureFile7238243853455712790.jar
My guess is that this is related to missing normalisation, like stated in
bug 312802.
Probably both problems are even related to each other or have a common
cause. How to proceed? At the moment I deactivated both packing and signing
for further testing. Thanks for any ideas.
My setup is the following: the main p2 repository is a composite artifact
update site (created with b3 aggregator) redirecting to my own p2 site as
well as the Helios site. The errors are caused by my own p2 site built with
Buckminster p2.site action.
Regards
Axel
|
|
|
|
|
|
Re: Signing and Packing [message #548619 is a reply to message #545166] |
Thu, 22 July 2010 09:26  |
Eclipse User |
|
|
|
Interestingly it does also work with signing=yes and pack200=false.
Greetings
Axel
Axel Guckelsberger wrote:
> Hi Thomas,
>
> you are right. It works when I disable only signing.
> Do you also have an idea where to investigate the signing issues further?
>
> Regards,
> Axel
>
>
> Thomas Hallgren wrote:
>
>> Hi Alex,
>>
>> I somehow doubt that your problems are related to packing. It seems to
>> be a signing problem only. Does it work it you just enable packing but
>> not signing?
>>
>> Regards,
>> Thomas Hallgren
>>
>> On 07/06/2010 10:32 AM, Axel Guckelsberger wrote:
>>> Hi all,
>>>
>>> I got several problems with regards to signing and packing when trying
>>> to install something from my p2 repository.
>>>
>>> If I set both signing and packing to true I run into this one:
>>> http://dev.eclipse.org/mhonarc/lists/p2-dev/msg01532.html
>>> I found a few tipps about that in bug 275533, but I have no idea how to
>>> apply them (e.g. telling Buckminster to use the pack200 from Java 5
>>> specifically).
>>>
>>> After I set packing to false I get signing related errors when trying to
>>> install. For example for some locale-specific fragments I get:
>>>> java.security.SignatureException: An error occurred while processing
>>>> the
>>> signatures for the file: /tmp/signatureFile7238243853455712790.jar
>>>> Caused by: java.security.SignatureException: Error occurs parsing the
>>>> .SF
>>> file to find out the digest algorithm in this bundle:
>>> /tmp/signatureFile7238243853455712790.jar
>>> My guess is that this is related to missing normalisation, like stated
>>> in bug 312802.
>>>
>>> Probably both problems are even related to each other or have a common
>>> cause. How to proceed? At the moment I deactivated both packing and
>>> signing for further testing. Thanks for any ideas.
>>>
>>> My setup is the following: the main p2 repository is a composite
>>> artifact update site (created with b3 aggregator) redirecting to my own
>>> p2 site as well as the Helios site. The errors are caused by my own p2
>>> site built with Buckminster p2.site action.
>>>
>>> Regards
>>> Axel
>>>
>>>
|
|
|
Powered by
FUDForum. Page generated in 0.04855 seconds