You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "stevezhuang (JIRA)" <ji...@apache.org> on 2016/05/09 18:17:12 UTC

[jira] [Created] (VFS-609) VFS SFTP doesn't support a private key as byte array

stevezhuang created VFS-609:
-------------------------------

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


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)