You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2013/04/03 11:14:11 UTC

Re: FTP2: use SFTP with private key not stored in file

Hi

I am not sure. Though we love contributions, so feel free to log a
JIRA and/or work on a patch to add this functionality.
For example with some interface that allows end users to implement a
custom code how to obtain their keys.
http://camel.apache.org/contributing.html

On Fri, Mar 15, 2013 at 5:16 PM, mdo <ma...@gmail.com> wrote:
> Hello,
>
> for the SFTP scheme one can use the privateKeyFile option in order to use
> key authentication. I've seen that the Jsch library also has an
> addIdentity() method where you can supply byte arrays with public and
> private key data. Is there any chance of using private keys not stored onto
> disk? In my use case the private keys come from a database. Is there a
> camel'ish way of getting these keys into play? I've not enough insight into
> camel to assess if there's a solution involving only minor effort.
>
> Thanks in advance!
> mdo
>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/FTP2-use-SFTP-with-private-key-not-stored-in-file-tp5729260.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen