Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit b3241f3

Browse files
Preserve SSH key passphrase on connection errors (#979)
* Update sshj to 0.30.0 and improve algorithm order Updates sshj to 0.30.0, which brings support for rsa-sha2-* key types and bugfixes related to RSA certificates and Android Keystore backed keys. Along the way, this improves the algorithm preferences to be consistent with the Mozilla Intermediate SSH configuration (as far as possible, given that most certificate types and some encryption algorithms are not yet supported). We also add "ext-info-c" to the kex algorithm proposal to work around certain kinds of "user agent sniffing" that limits the support of rsa-sha2-* key types. * Preserve SSH key passphrase on connection errors Co-authored-by: Harsh Shandilya <[email protected]>
1 parent 14e3754 commit b3241f3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/src/main/java/com/zeapo/pwdstore/git/operation/GitOperation.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ abstract class GitOperation(gitDir: File, internal val callingActivity: Fragment
157157
}
158158
is SshjSessionFactory -> {
159159
callingActivity.getEncryptedPrefs("git_operation").edit {
160-
remove(PreferenceKeys.SSH_KEY_LOCAL_PASSPHRASE)
161160
remove(PreferenceKeys.HTTPS_PASSWORD)
162161
}
163162
}

0 commit comments

Comments
 (0)