mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-28 20:57:42 +00:00
chore: bump sshd core to 2.13.1
This commit is contained in:
parent
6513bb1320
commit
e391750e0e
@ -32,7 +32,7 @@ reactiveStreams = "1.0.4"
|
|||||||
recyclerview = "1.3.2"
|
recyclerview = "1.3.2"
|
||||||
rxjava = "2.2.21"
|
rxjava = "2.2.21"
|
||||||
sl4j = "2.0.4"
|
sl4j = "2.0.4"
|
||||||
sshdCore = "2.12.1"
|
sshdCore = "2.13.1"
|
||||||
swiperefreshlayout = "1.1.0"
|
swiperefreshlayout = "1.1.0"
|
||||||
uiToolingPreview = "1.6.7"
|
uiToolingPreview = "1.6.7"
|
||||||
univocityParsers = "2.9.1"
|
univocityParsers = "2.9.1"
|
||||||
|
@ -12,6 +12,7 @@ import android.util.Log
|
|||||||
import org.apache.sshd.common.file.nativefs.NativeFileSystemFactory
|
import org.apache.sshd.common.file.nativefs.NativeFileSystemFactory
|
||||||
import org.apache.sshd.common.keyprovider.AbstractKeyPairProvider
|
import org.apache.sshd.common.keyprovider.AbstractKeyPairProvider
|
||||||
import org.apache.sshd.common.session.SessionContext
|
import org.apache.sshd.common.session.SessionContext
|
||||||
|
import org.apache.sshd.common.util.OsUtils
|
||||||
import org.apache.sshd.common.util.io.PathUtils
|
import org.apache.sshd.common.util.io.PathUtils
|
||||||
import org.apache.sshd.common.util.security.SecurityUtils.SECURITY_PROVIDER_REGISTRARS
|
import org.apache.sshd.common.util.security.SecurityUtils.SECURITY_PROVIDER_REGISTRARS
|
||||||
import org.apache.sshd.scp.server.ScpCommandFactory
|
import org.apache.sshd.scp.server.ScpCommandFactory
|
||||||
@ -89,7 +90,7 @@ internal class SimpleSftpServer {
|
|||||||
sshd.commandFactory = ScpCommandFactory()
|
sshd.commandFactory = ScpCommandFactory()
|
||||||
sshd.subsystemFactories =
|
sshd.subsystemFactories =
|
||||||
listOf<SubsystemFactory>(SftpSubsystemFactory.Builder().apply {
|
listOf<SubsystemFactory>(SftpSubsystemFactory.Builder().apply {
|
||||||
withFileSystemAccessor(object: SftpFileSystemAccessor {
|
withFileSystemAccessor(object : SftpFileSystemAccessor {
|
||||||
override fun openFile(
|
override fun openFile(
|
||||||
subsystem: SftpSubsystemProxy?,
|
subsystem: SftpSubsystemProxy?,
|
||||||
fileHandle: FileHandle?,
|
fileHandle: FileHandle?,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user