mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goldstein Lyor (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SSHD-504) UserAuthKeyboardInteractive fails to match if prompt doesn't start password
Date Sun, 28 Jun 2015 05:57:04 GMT

     [ https://issues.apache.org/jira/browse/SSHD-504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Goldstein Lyor reassigned SSHD-504:
-----------------------------------

    Assignee: 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)

Mime
View raw message