commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mevlut Evren Tekin (Updated) (JIRA)" <>
Subject [jira] [Updated] (VFS-283) SFTP can not use private keys protected by pass phrase
Date Thu, 24 Nov 2011 16:03:39 GMT


Mevlut Evren Tekin updated VFS-283:

    Attachment: vfs-283.patch

The datatype for identities has been changed from File[] to LinkedHashMap<File,String>
to allow storing and retrieving privateKeyFile-passphrase pairings. Method names and interfaces
were left unchanged to allow backward compatibility for existing applications using getIdentities
and setIdentities methods in SftpSystemConfigBuilder class. Two new methods (setIdentityPairs
and getIdentityPairs) have been added to the new class to allow passphrase support for publickey
authentication. identities variable in createConnection method in SftpClientFactory class
is now defined as Map<File,String> datatype instead of File[] for passphrase support.
> SFTP can not use private keys protected by pass phrase
> ------------------------------------------------------
>                 Key: VFS-283
>                 URL:
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 1.0
>         Environment: Java client running on Windows XP. OpenSSH server running on CentOS
>            Reporter: Torben Putkonen
>         Attachments: vfs-283.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:!default.jspa
For more information on JIRA, see:


View raw message