Выпуск WDTT Plus v10
This commit is contained in:
1 parent
3efd691ae2
commit
a842c6965e
6 files changed
+74
-9
No files matched your search
@@ -50,6 +50,16 @@ class SshAuthenticationTest {
|
||||
assertFalse(keyMode.allowPasswordAuthentication)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun ed25519UsesBundledAndroidCompatibleImplementation() {
|
||||
configureJschEdDsaCompatibility()
|
||||
|
||||
assertEquals("com.jcraft.jsch.bc.KeyPairGenEdDSA", JSch.getConfig("keypairgen.eddsa"))
|
||||
assertEquals("com.jcraft.jsch.bc.KeyPairGenEdDSA", JSch.getConfig("keypairgen_fromprivate.eddsa"))
|
||||
assertEquals("com.jcraft.jsch.bc.SignatureEd25519", JSch.getConfig("ssh-ed25519"))
|
||||
assertEquals("com.jcraft.jsch.bc.SignatureEd448", JSch.getConfig("ssh-ed448"))
|
||||
}
|
||||
|
||||
@Test
|
||||
fun privateKeyPresenceDoesNotDisablePasswordModeByItself() {
|
||||
val credentials = SshCredentials(
|
||||
|
||||
Reference in new issue
Block a user