diff options
author | Thomas Wolf <thomas.wolf@paranor.ch> | 2018-10-17 20:22:26 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2018-11-14 04:47:33 -0800 |
commit | c56fa51709278f2be4e155ae5fbad270188cbe64 (patch) | |
tree | 6b8cfb971f2fe7a83cd779bc6413d49ede5a7850 /org.eclipse.jgit.ssh.apache/resources | |
parent | c949da0d5f375415fba44080ee39d54ad6aab677 (diff) | |
download | jgit-c56fa51709278f2be4e155ae5fbad270188cbe64.tar.gz jgit-c56fa51709278f2be4e155ae5fbad270188cbe64.zip |
Apache MINA sshd: use NumberOfPasswordPrompts for encrypted keys
sshd only asks exactly once for the password. C.f. upstream issue
SSHD-850.[1] So we have to work around this limitation for now.
Once we move to sshd > 2.1.0, this can be simplified somewhat.
[1] https://issues.apache.org/jira/browse/SSHD-850
Bug: 520927
Change-Id: Id65650228486c5ed30affa9c62eac982e01ae207
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.jgit.ssh.apache/resources')
-rw-r--r-- | org.eclipse.jgit.ssh.apache/resources/org/eclipse/jgit/internal/transport/sshd/SshdText.properties | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.jgit.ssh.apache/resources/org/eclipse/jgit/internal/transport/sshd/SshdText.properties b/org.eclipse.jgit.ssh.apache/resources/org/eclipse/jgit/internal/transport/sshd/SshdText.properties index 369c9784d0..12afedd8b2 100644 --- a/org.eclipse.jgit.ssh.apache/resources/org/eclipse/jgit/internal/transport/sshd/SshdText.properties +++ b/org.eclipse.jgit.ssh.apache/resources/org/eclipse/jgit/internal/transport/sshd/SshdText.properties @@ -10,8 +10,13 @@ gssapiFailure=GSS-API error for mechanism OID {0} gssapiInitFailure=GSS-API initialization failure for mechanism {0} gssapiUnexpectedMechanism=Server {0} replied with unknown mechanism name ''{1}'' in {2} authentication gssapiUnexpectedMessage=Received unexpected ssh message {1} in {0} authentication +identityFileCannotDecrypt=Given passphrase cannot decrypt identity {0} +identityFileNoKey=No keys found in identity {0} +identityFileMultipleKeys=Multiple key pairs found in identity {0} +identityFileUnsupportedFormat=Unsupported format in identity {0} keyEncryptedMsg=Key ''{0}'' is encrypted. Enter the passphrase to decrypt it. keyEncryptedPrompt=Passphrase +keyEncryptedRetry=Encrypted key ''{0}'' could not be decrypted. Enter the passphrase again. keyLoadFailed=Could not load key ''{0}'' knownHostsCouldNotUpdate=Could not update known hosts file {0} knownHostsFileLockedRead=Could not read known hosts file (locked) {0} |