You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2019/04/27 13:47:00 UTC
[jira] [Updated] (VFS-609) SFTP provider doesn't support a private
key as byte array
[ https://issues.apache.org/jira/browse/VFS-609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory updated VFS-609:
-----------------------------
Summary: SFTP provider doesn't support a private key as byte array (was: VFS SFTP doesn't support a private key as byte array)
> SFTP provider 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
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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
(v7.6.3#76005)