[
https://issues.apache.org/jira/browse/SSHD-504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on SSHD-504 stopped by Goldstein Lyor.
-------------------------------------------
> UserAuthKeyboardInteractive fails to match if prompt doesn't start password
> ---------------------------------------------------------------------------
>
> Key: SSHD-504
> URL: https://issues.apache.org/jira/browse/SSHD-504
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 0.13.0
> Reporter: Matt Kusnierz
> Assignee: Goldstein Lyor
>
> This method:
> org.apache.sshd.client.auth.UserAuthKeyboardInteractive.process(Buffer)
> line 116
> contains a check on the prompt:
> prompt[0].toLowerCase().startsWith("password:")
> This doesn't always work. My server's for instance prompt "{username}'s
> password:" and so this check fails.
> Maybe an endsWith "password:" would work better? or a contains password check?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)