Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
xx Messenger Android
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile
android
xx Messenger Android
Merge requests
!64
v2.8b604
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
v2.8b604
development
into
master
Overview
0
Commits
4
Pipelines
0
Changes
4
Merged
Ahmed Shehata
requested to merge
development
into
master
2 years ago
Overview
0
Commits
4
Pipelines
0
Changes
4
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
671a1841
4 commits,
2 years ago
4 files
+
6
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
app/src/main/java/io/xxlabs/messenger/backup/cloud/sftp/login/SshClient.kt
+
1
−
5
Options
@@ -37,11 +37,7 @@ object Ssh : SshClient {
// BouncyCastle is deprecated in Android P+
SecurityUtils
.
setRegisterBouncyCastle
(
false
)
val
ssh
=
SSHClient
(
Config
).
apply
{
if
(
BuildConfig
.
DEBUG
)
{
addHostKeyVerifier
(
PromiscuousVerifier
())
}
else
{
addHostKeyVerifier
(
UserConsentVerifier
())
}
addHostKeyVerifier
(
PromiscuousVerifier
())
connect
(
credentials
.
host
,
credentials
.
port
.
toInt
())
}
Loading