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

Goldstein Lyor reopened SSHD-732:
---------------------------------

Hi Guillaume,

Have you run full unit tests on the code ? I am getting quite a few failures - 
I have fixed one, but there are others that are failing for reasons beyond me 
(I have not had time to explore them in depth). Specifically,:

* The code for {{BuiltinClientIdentitiesWatcherTest#testMultipleFilesWatch}} 
has to be fixed as follows:
{code:java}
Iterable<KeyPair> keys = watcher.loadKeys();
Collection<KeyPair> actual = new ArrayList<>();
for (KeyPair kp : keys) {
     actual.add(kp);
}
{code}

* {{AuthenticationTest#testPublicKeyAuthDifferentThanKex}} now fails 
consistently.

> ClientIdentitiesWatcher should load keys one at a time
> ------------------------------------------------------
>
>                 Key: SSHD-732
>                 URL: https://issues.apache.org/jira/browse/SSHD-732
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 1.4.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> The keys are loaded into a List<KeyPair> instead of using an 
> Iterable<KeyPair> which could allow lazy loading the keys.
> The problem is that loading keys can require passwords, thus asking the user 
> for passwords which may not be used.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to