Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Signing and Packing
Signing and Packing [message #544955] Tue, 06 July 2010 08:32 Go to next message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 226
Registered: July 2009
Senior Member
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 #544969 is a reply to message #544955] Tue, 06 July 2010 08:52 Go to previous messageGo to next message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 226
Registered: July 2009
Senior Member
With both settings disabled the installation completes fine with the p2
installer.

Greetings
Axel


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
Re: Signing and Packing [message #545135 is a reply to message #544955] Tue, 06 July 2010 18:04 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3229
Registered: July 2009
Senior Member
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
>
>
Re: Signing and Packing [message #545166 is a reply to message #545135] Tue, 06 July 2010 20:34 Go to previous messageGo to next message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 226
Registered: July 2009
Senior Member
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
>>
>>
Re: Signing and Packing [message #548619 is a reply to message #545166] Thu, 22 July 2010 13:26 Go to previous message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 226
Registered: July 2009
Senior Member
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
>>>
>>>
Previous Topic:buckminster runtime dependencies
Next Topic:Build Webstart-Application with different products
Goto Forum:
  


Current Time: Wed Nov 26 09:18:14 GMT 2014

Powered by FUDForum. Page generated in 0.02357 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software