Skip to content

Commit ffe71a4

Browse files
committed
Fixed wrong password processing from SSH pwd caching
1 parent 20a54f6 commit ffe71a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/jetpackduba/gitnuro/credentials/SshRemoteSession.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class SshRemoteSession @Inject constructor(
5050
val passwordCredentialItem = CredentialItem.Password()
5151
sshCredentialsProvider.get(uri, passwordCredentialItem)
5252

53-
val password = passwordCredentialItem.value.toString()
53+
val password = passwordCredentialItem.value.joinToString("")
5454

5555
result = session.publicKeyAuth(password)
5656

0 commit comments

Comments
 (0)