Here are my doubts about the easiness of this:

Let's say you use the FTP implementation in Firefox (I assume you want to do
this).  When the you attempt to initiate a FTP connection, Firefox's FTP
code will attempt toe establish a socket connection using the socket objects
provided by Mozilla/NSPR.  Usually, you would do that through a socket
provider object.  Both the socket and socket provider objects have XPCOM
interfaces that describe them.

However, you want to make the FTP code use a special socket object, which
implements a secure shell, right?  For this, you would need to implement a
new socket provider.  I personally don't know how you would define a new
socket provider and get FTP to obtain a socket from that provider through
through a Firefox extension.  You might have to modify the FTP code itself,
I'm not sure.

Again, my knowledge of Firefox extensions is limited.  Also, there might be
something about SSH that I am missing.

Peter
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to