mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-22 09:58:08 +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"
|
||||
rxjava = "2.2.21"
|
||||
sl4j = "2.0.4"
|
||||
sshdCore = "2.12.1"
|
||||
sshdCore = "2.13.1"
|
||||
swiperefreshlayout = "1.1.0"
|
||||
uiToolingPreview = "1.6.7"
|
||||
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.keyprovider.AbstractKeyPairProvider
|
||||
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.security.SecurityUtils.SECURITY_PROVIDER_REGISTRARS
|
||||
import org.apache.sshd.scp.server.ScpCommandFactory
|
||||
@ -89,7 +90,7 @@ internal class SimpleSftpServer {
|
||||
sshd.commandFactory = ScpCommandFactory()
|
||||
sshd.subsystemFactories =
|
||||
listOf<SubsystemFactory>(SftpSubsystemFactory.Builder().apply {
|
||||
withFileSystemAccessor(object: SftpFileSystemAccessor {
|
||||
withFileSystemAccessor(object : SftpFileSystemAccessor {
|
||||
override fun openFile(
|
||||
subsystem: SftpSubsystemProxy?,
|
||||
fileHandle: FileHandle?,
|
||||
|
Loading…
x
Reference in New Issue
Block a user