Re: [CANCEL][VOTE] Apache Karaf runtime 4.2.8 release

2020-01-15 Thread jbonofre
Actually, we did well to cancel the vote. I already fixed issue in karaf.bat
for Windows.

But we found another issue: since yesterday, Maven Central doesn't accept
http connection anymore: it only accepts https.
The workaround is easy in etc/org.ops4j.pax.url.mvn.cfg (just change from
http to https).
However I created and fix KARAF-6600 to fix it by default in the
distribution. It will be included in Karaf 4.2.8 and 4.3.0.RC1.

Regards
JB



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html


Re: Setting security provider for Karaf 4.3.0-SNAPSHOT

2020-01-15 Thread Robert Varga
On 15/01/2020 16:25, Benjamin Graf wrote:
> Hi,
> 
> I'm actually playing around with the latest 4.3.0-SNAPSHOT. I recognize
> that the ssh bundle is using bouncycastle for reading pem files right
> now (KARAF-6383). The "issue" I'm facing is that if I like to set
> bouncycastle as the security provider via
> "org.apache.karaf.security.providers =
> org.bouncycastle.jce.provider.BouncyCastleProvider" I have to distribute
> the same bundle twice or otherwise have to remove it from system and add
> needed packages to "org.osgi.framework.bootdelegation".
> 
> Anybody seeing a better solution? 

Not sure, but in OpenDaylight we have two fragment bundles which attach
to framework bundle and expose all of BouncyCastle to OSGi:

https://github.com/opendaylight/odlparent/tree/master/karaf/bcpkix-framework-ext
https://github.com/opendaylight/odlparent/tree/master/karaf/bcprov-framework-ext

perhaps these should be upstreamed (but then we upgrade BC much more
quickly than we upgrade Karaf).

Regards,
Robert



signature.asc
Description: OpenPGP digital signature


Re: Setting security provider for Karaf 4.3.0-SNAPSHOT

2020-01-15 Thread Romain Manni-Bucau
+1 a temp classloader using local resolution or plain reimpl of pem read
does not sound terrible to me

Le mer. 15 janv. 2020 à 16:25, Benjamin Graf  a
écrit :

> Hi,
>
> I'm actually playing around with the latest 4.3.0-SNAPSHOT. I recognize
> that the ssh bundle is using bouncycastle for reading pem files right
> now (KARAF-6383). The "issue" I'm facing is that if I like to set
> bouncycastle as the security provider via
> "org.apache.karaf.security.providers =
> org.bouncycastle.jce.provider.BouncyCastleProvider" I have to distribute
> the same bundle twice or otherwise have to remove it from system and add
> needed packages to "org.osgi.framework.bootdelegation".
>
> Anybody seeing a better solution? Maybe an enhancement needed?
>
> Regards
>
> Benjamin
>
>
>


Setting security provider for Karaf 4.3.0-SNAPSHOT

2020-01-15 Thread Benjamin Graf
Hi,

I'm actually playing around with the latest 4.3.0-SNAPSHOT. I recognize
that the ssh bundle is using bouncycastle for reading pem files right
now (KARAF-6383). The "issue" I'm facing is that if I like to set
bouncycastle as the security provider via
"org.apache.karaf.security.providers =
org.bouncycastle.jce.provider.BouncyCastleProvider" I have to distribute
the same bundle twice or otherwise have to remove it from system and add
needed packages to "org.osgi.framework.bootdelegation".

Anybody seeing a better solution? Maybe an enhancement needed?

Regards

Benjamin




signature.asc
Description: OpenPGP digital signature


Re: [VOTE] Apache Karaf runtime 4.2.8 release

2020-01-15 Thread Markus Rathgeb
+1

I suggest that the non working multi part handling should be added to
a known issue for 4.2.7 and 4.2.8. So it is at least visible for
everyone who looks for known issues in front of migration.
I worked around the problem in my custom distributions.

Am Mi., 15. Jan. 2020 um 05:41 Uhr schrieb Jean-Baptiste Onofré
:
>
> IMHO, it's not 4.2.8 blocker. I can always do 4.2.9 very fast if needed.
>
> Regards
> JB
>
> On 14/01/2020 21:27, Markus Rathgeb wrote:
> > Hm, for me it depends if the multi part stuff that has been broken on
> > 4.2.7 is working again (so depends on the findings of the respective
> > thread on the user mailing list).
> >
>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com


[CANCEL][VOTE] Apache Karaf runtime 4.2.8 release

2020-01-15 Thread jbonofre
Hi everyone,

due to KARAF-6597 and KARAF-6596, I cancel this vote.

I'm testing/fixing those two issues and I will submit a 4.2.8 Take #2 to
vote.

Sorry for the inconvenience.

Regards
JB



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html


Re: [VOTE] Apache Karaf runtime 4.2.8 release

2020-01-15 Thread Jean-Baptiste Onofré
Hi Benjamin,

I confirm that I reproduce the issue on Windows VM with JDK 13. The fix
is straight forward (about the line ending).

I created: https://issues.apache.org/jira/browse/KARAF-6596 and I will
fix that for cut 4.2.9 super fast.

Regards
JB

On 15/01/2020 08:54, Benjamin Graf wrote:
> Hi JB,
> 
> changing line ending from unix to windows seems to solve the issue.
> Maybe some strange interpreter problem of the windows shell itself. I
> would suggest to change line ending for all bat-files in the karaf
> distribution.
> 
> What do you think?
> 
> Regards
> 
> Benjamin
> 
> On 15.01.2020 08:47, Benjamin Graf wrote:
>> Hi JB,
>>
>> it's fine with JDK8. That's why I found the issue quite late.
>>
>> Regards
>>
>> Benjamin
>>
>> On 15.01.2020 08:42, Jean-Baptiste Onofré wrote:
>>> Hi Benjamin,
>>>
>>> does it happen with JDK8 ?
>>>
>>> I will fix for Karaf 4.2.9 and provide a workaround in the mean time.
>>>
>>> Regards
>>> JB
>>>
>>> On 15/01/2020 08:26, Benjamin Graf wrote:
 Hi,

 I'm facing a issue while starting under Windows 10 and JDK 11:

 It seems there is a strange issue added in karaf.bat between 4.2.7 and
 4.2.8. Some error also on actual 4.3 SNAPSHOTS.

 Regards,

 Benjamin

 On 12.01.2020 12:34, Jean-Baptiste Onofré wrote:
> Hi all,
>
> I submit Apache Karaf runtime 4.2.8 to your vote. This is a
> maintenance release on the 4.2.x series, bringing updates, improvements
> and fixes.
>
> Release Notes:
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140=12346100
>
> Staging Repository:
> https://repository.apache.org/content/repositories/orgapachekaraf-1137
>
> Staging Dist:
> https://dist.apache.org/repos/dist/dev/karaf/4.2.8/
>
> Git Tag:
> karaf-4.2.8
>
> Please vote to approve this release:
>
> [ ] +1 Approve the release
> [ ] -1 Don't approve the release (please provide specific comments)
>
> This vote will be open for at least 72 hours.
>
> Thanks,
> Regards
> JB
> 

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com



signature.asc
Description: OpenPGP digital signature


Re: [VOTE] Apache Karaf runtime 4.2.8 release

2020-01-15 Thread Jean-Baptiste Onofré
That's probably a merge. Let me fix that.

Regards
JB

On 15/01/2020 08:54, Benjamin Graf wrote:
> Hi JB,
> 
> changing line ending from unix to windows seems to solve the issue.
> Maybe some strange interpreter problem of the windows shell itself. I
> would suggest to change line ending for all bat-files in the karaf
> distribution.
> 
> What do you think?
> 
> Regards
> 
> Benjamin
> 
> On 15.01.2020 08:47, Benjamin Graf wrote:
>> Hi JB,
>>
>> it's fine with JDK8. That's why I found the issue quite late.
>>
>> Regards
>>
>> Benjamin
>>
>> On 15.01.2020 08:42, Jean-Baptiste Onofré wrote:
>>> Hi Benjamin,
>>>
>>> does it happen with JDK8 ?
>>>
>>> I will fix for Karaf 4.2.9 and provide a workaround in the mean time.
>>>
>>> Regards
>>> JB
>>>
>>> On 15/01/2020 08:26, Benjamin Graf wrote:
 Hi,

 I'm facing a issue while starting under Windows 10 and JDK 11:

 It seems there is a strange issue added in karaf.bat between 4.2.7 and
 4.2.8. Some error also on actual 4.3 SNAPSHOTS.

 Regards,

 Benjamin

 On 12.01.2020 12:34, Jean-Baptiste Onofré wrote:
> Hi all,
>
> I submit Apache Karaf runtime 4.2.8 to your vote. This is a
> maintenance release on the 4.2.x series, bringing updates, improvements
> and fixes.
>
> Release Notes:
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140=12346100
>
> Staging Repository:
> https://repository.apache.org/content/repositories/orgapachekaraf-1137
>
> Staging Dist:
> https://dist.apache.org/repos/dist/dev/karaf/4.2.8/
>
> Git Tag:
> karaf-4.2.8
>
> Please vote to approve this release:
>
> [ ] +1 Approve the release
> [ ] -1 Don't approve the release (please provide specific comments)
>
> This vote will be open for at least 72 hours.
>
> Thanks,
> Regards
> JB
> 

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com



signature.asc
Description: OpenPGP digital signature