mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "usha ladkani (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SSHD-273) Add RFC 6668 (HMAC SHA-2) support
Date Fri, 14 Mar 2014 08:03:43 GMT

    [ https://issues.apache.org/jira/browse/SSHD-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13934731#comment-13934731
] 

usha ladkani commented on SSHD-273:
-----------------------------------

Hello ,

I just tried 0.10.1 version of sshd and tried to run the junit shared by you.
But I am getting below error.

java.lang.IllegalStateException: Could not find a valid sshd io provider
	at org.apache.sshd.common.io.DefaultIoServiceFactoryFactory.newInstance(DefaultIoServiceFactoryFactory.java:67)
	at org.apache.sshd.common.io.DefaultIoServiceFactoryFactory.getFactory(DefaultIoServiceFactoryFactory.java:43)
	at org.apache.sshd.common.io.DefaultIoServiceFactoryFactory.create(DefaultIoServiceFactoryFactory.java:37)
	at org.apache.sshd.common.AbstractFactoryManager.getIoServiceFactory(AbstractFactoryManager.java:73)
	at org.apache.sshd.SshServer.createAcceptor(SshServer.java:409)
	at org.apache.sshd.SshServer.start(SshServer.java:325)
	at org.apache.sshd.util.MacTest.setUp(MacTest.java:141)
	at org.apache.sshd.util.MacTest.testHMACSHA256(MacTest.java:94)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)




> Add RFC 6668 (HMAC SHA-2) support
> ---------------------------------
>
>                 Key: SSHD-273
>                 URL: https://issues.apache.org/jira/browse/SSHD-273
>             Project: MINA SSHD
>          Issue Type: New Feature
>    Affects Versions: 0.10.0
>            Reporter: Kenny Root
>            Assignee: Guillaume Nodet
>             Fix For: 0.10.0
>
>         Attachments: 0001-SSHD-273-Add-RFC-6668-HMAC-SHA-2-support.patch, JSCHMain.java
>
>
> Adds support for HMAC with SHA-2 hashes (SHA-256 and SHA-512) as specified in RFC 6668.
Both HmacSHA256 and HmacSHA512 are added as they are supported by Sun/Oracle JDK, OpenJDK,
and BouncyCastle.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message