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

Joerg Schaible resolved VFS-283.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1
         Assignee: Joerg Schaible

Identities in JSch have up to 3 components: the file with the private key, an 
optional passhprase to decrypt the private key and an optional public key that 
may be requested from the server.

The getter/setter for the array of identity files has therefore been deprecated 
in favor of a new getter/setter for the new IdentityInfo structure that can 
contain all 3 elements.

commit -m "Support private key files with passphrase (VFS-283) and additional 
public key."
     Adding         
/home/jos/src/Apache/Commons/Proper/vfs/core/src/main/java/org/apache/commons/vfs2/provider/sftp/IdentityInfo.java
    Sending        
/home/jos/src/Apache/Commons/Proper/vfs/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpClientFactory.java
    Sending        
/home/jos/src/Apache/Commons/Proper/vfs/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystemConfigBuilder.java
    Transmitting file data ...
    Committed revision 1451622.

                
> SFTP can not use private keys protected by pass phrase
> ------------------------------------------------------
>
>                 Key: VFS-283
>                 URL: https://issues.apache.org/jira/browse/VFS-283
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 1.0
>         Environment: Java client running on Windows XP. OpenSSH server 
> running on CentOS Linux.
>            Reporter: Torben Putkonen
>            Assignee: Joerg Schaible
>             Fix For: 2.1
>
>         Attachments: vfs-283.patch, vfspassphrase.patch
>
>
> It is not possible to authenticate an SFTP connection with public key 
> authentication if the private key is protected by a pass phrase.
> There is no code in org.apache.commons.vfs.provider.sftp.SftpClientFactory 
> that deals with pas phrases.

--
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

Reply via email to