commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stevezhuang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (VFS-609) VFS SFTP doesn't support a private key as byte array
Date Tue, 10 May 2016 14:26:13 GMT

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

stevezhuang updated VFS-609:
----------------------------
    Attachment: SftpClientFactory.java

> VFS SFTP doesn't support a private key as byte array
> ----------------------------------------------------
>
>                 Key: VFS-609
>                 URL: https://issues.apache.org/jira/browse/VFS-609
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.1
>         Environment: Java client running on Windows 7
>            Reporter: stevezhuang
>            Priority: Minor
>         Attachments: IdentityInfo.java, SftpClientFactory.java
>
>
> Sometimes we would store the private key as a string\bytes in the remote server site,
and then access the SFTP functions,
> The JSCH API already provides a possibility to add the private key as bytes, while VFS
doesn't support so,
> JSch.java
> public void addIdentity(String name, byte[] prvkey, byte[] pubkey, byte[] passphrase)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message