You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2012/09/25 10:39:09 UTC

[jira] [Resolved] (SSHD-186) ResourceKeyPairProvider doesn't use its PasswordFinder

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

Guillaume Nodet resolved SSHD-186.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.8.0
         Assignee: Guillaume Nodet

Committing to https://svn.apache.org/repos/asf/mina/sshd/trunk ...
	M	sshd-core/src/main/java/org/apache/sshd/common/keyprovider/ResourceKeyPairProvider.java
Committed r1389756

                
> ResourceKeyPairProvider doesn't use its PasswordFinder
> ------------------------------------------------------
>
>                 Key: SSHD-186
>                 URL: https://issues.apache.org/jira/browse/SSHD-186
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Daniel Gredler
>            Assignee: Guillaume Nodet
>             Fix For: 0.8.0
>
>
> Both ResourceKeyPairProvider and FileKeyPairProvider have PasswordFinder attributes, presumably to provide to the PEMReader in loadKeys( ). However, while FileKeyPairProvider uses its PasswordFinder to read key pairs, ResourceKeyPairProvider just ignores it. This means that you cannot use ResourceKeyPairProvider to read keys which are protected by a passphrase.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira