Matt Lawson wrote, On 2008-07-18 15:20: > I am considering retro-fitting an existing application with the NSS/NSPR > libraries, however I also need ssh and sftp capability. I cannot find > anywhere a discussion of these in relationship to NSS. > > Is there an existing way to do this? Or do I have to choose from: > > 1. Use NSS/NSPR for plaintext and SSL sockets (where I control both > client and server), and a different library (e.g. openSSH) for SSH (I > need to ssh into some hardware devices and can therefore not change the > server side in these cases) > > 2. Implement the ssh and sftp protocols over NSS's SSL sockets myself > > Just want to make sure I understand the scope of this. Thanks.
You seem to understand your choices pretty well. There's no need to change both ends of anything, unless you want to. Getting NSS to do SSL in/for FTP is pretty easy. There's a browser add-on that does it. Doing SSH is more work, a protocol implementation. NSS is up to the crypto work, but won't do the protocol work as is. _______________________________________________ dev-tech-crypto mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-crypto

