It is not required (for operation, not sure about the tests), it is optionally recognized if present. You can use ssh with RSA or ECDSA instead which comes out of the box from the JCE provider.
Gruss Bernd -- http://bernd.eckenfels.net ________________________________ Von: Steven Huypens <steven.huyp...@gmail.com> Gesendet: Wednesday, May 25, 2022 5:31:34 PM An: dev@karaf.apache.org <dev@karaf.apache.org> Betreff: Re: SSH warnings seen in Pax Exam test log after upgrade to 4.3.7 Hi all, I don't think I completely understand. If this dependency is required by Karaf 4.3.7 (or maybe the 'ssh'-feature), shouldn't it be provisioned as well ? Kind regards, Steven On Tue, May 24, 2022 at 3:42 PM Siano, Stephan <stephan.si...@sap.com.invalid> wrote: > Hi, > OK, Bernd Eckenfels' response was actually the one that was leading to the > right direction: > Mina obviously does not take the ed25519 algorithm from the JCE but from > an external library: > <dependency> > <groupId>net.i2p.crypto</groupId> > <artifactId>eddsa</artifactId> > <version>0.3.0</version> > </dependency> > Adding this to the bundles installed by pax-exam into the osgi container > may help. > > Best regards > Stephan > > > -----Original Message----- > From: Steven Huypens <steven.huyp...@gmail.com> > Sent: Tuesday, 24 May 2022 15:29 > To: dev@karaf.apache.org > Subject: Re: SSH warnings seen in Pax Exam test log after upgrade to 4.3.7 > > Hi Stephan, > > That is JDK 8 > > Steven > > On Tue, May 24, 2022 at 3:22 PM Siano, Stephan > <stephan.si...@sap.com.invalid> wrote: > > > Hi, > > > > Which JDK are you using for your pax-exam-tests? As far as I remember > > ed25519 is only available in JDK 15 and later. > > > > Best regards > > Stephan > > > > -----Original Message----- > > From: Steven Huypens <steven.huyp...@gmail.com> > > Sent: Tuesday, 24 May 2022 14:51 > > To: dev@karaf.apache.org > > Subject: Re: SSH warnings seen in Pax Exam test log after upgrade to > > 4.3.7 > > > > I'm seeing the exact same log lines, so I'm interested to know as well. > > > > Kind regards, > > Steven > > > > On Mon, May 23, 2022 at 3:52 PM Eric Lilja <mindcoo...@gmail.com> wrote: > > > > > Hello, I just upgraded Karaf from 4.2.12 to 4.3.7 due to moving from > > > Java > > > 11 to Java 17. Now I can see the following warnings in the log when > > > running Pax Exam tests: > > > > > > [INFO] 2022-05-23T15:33:43,050 | WARN | activator-1-thread-1 | > SshUtils > > > | 55 - org.apache.karaf.shell.ssh - 4.3.7 | > > > Configured signature 'sk-ssh-ed25...@openssh.com' not available > > > [INFO] > > > 2022-05-23T15:33:43,085 | WARN | activator-1-thread-1 | SshUtils > > > | 55 - org.apache.karaf.shell.ssh - 4.3.7 | > > > Configured signature 'ssh-ed25519' not available [INFO] > > > 2022-05-23T15:33:43,319 | WARN | activator-1-thread-1 | SshUtils > > > | 55 - org.apache.karaf.shell.ssh - 4.3.7 | > > > Configured signature 'sk-ssh-ed25...@openssh.com' not available > > > [INFO] > > > 2022-05-23T15:33:43,320 | WARN | activator-1-thread-1 | SshUtils > > > | 55 - org.apache.karaf.shell.ssh - 4.3.7 | > > > Configured signature 'ssh-ed25519' not available > > > > > > If I downgrade to 4.3.6, the warnings disappear. Looking at the > > > changelog for 4.3.7, I suppose this is caused by KARAF-7363 [1] > > > > > > How do I make the above warnings disappear? Is it a bug? The tests > > > work fine, but it's a bit annoying to see these warnings. I'd rather > > > not silence the logger, that seems wrong.. > > > > > > - Eric L > > >