in particular, sshj requires
```
org.bouncycastle:bcprov-jdk15on:1.51
org.bouncycastle:bcpkix-jdk15on:1.51
com.jcraft:jzlib:1.1.3
net.i2p.crypto:eddsa:0.1.0
``` 
at compile time, so for bouncycastle jclouds is good.

I've created an OSGi feature for `bouncycastle` driver which looks like the 
following:
```
    <feature name="jclouds-driver-bouncycastle" description="Bouncycastle 
driver for jclouds" version="${project.version}" resolver="(obr)">
        <feature version='${project.version}'>jclouds</feature>
        <bundle 
dependency="true">mvn:org.bouncycastle/bcprov-ext-jdk15on/${bcprov.version}</bundle>
        <bundle 
dependency="true">mvn:org.bouncycastle/bcpkix-jdk15on/${bcprov.version}</bundle>
        
<bundle>mvn:org.apache.jclouds.driver/jclouds-bouncycastle/${jclouds.version}</bundle>
    </feature>
```

and another for `sshj`:
```
    <feature name="jclouds-driver-sshj" description="SSHJ driver for jclouds" 
version="${project.version}" resolver="(obr)">
        <feature version='${project.version}'>jclouds-compute</feature>
        <feature 
version='${project.version}'>jclouds-driver-bouncycastle</feature>
        <bundle 
dependency='true'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jzlib/1.1.3_2</bundle>
        <bundle 
dependency='true'>mvn:com.jcraft/jsch.agentproxy.core/0.0.9</bundle>
        <bundle 
dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jsch-agentproxy-sshj/0.0.9_1</bundle>
        <bundle dependency="true">mvn:net.i2p.crypto/eddsa/0.1.0</bundle>
        <bundle dependency="true">mvn:com.hierynomus/sshj/0.20.0</bundle>
        
<bundle>mvn:org.apache.jclouds.driver/jclouds-sshj/${jclouds.version}</bundle>
    </feature>
```
which work in karaf

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1060#issuecomment-278976820

Reply via email to