[
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