Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-115

Sftp should support keypairs and private keys in locations other than files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      I am attempting to use jar based keypairs in several applications I am developing. Unfortunately because the SFTP configuration only allows for a file to be specified for the private key, in order to use a key stored in a resource I have to first copy the resource to the local filesystem and then use that temporary file. I'd much rather that I could specify the location of the location of private key as a VFS url. Jsch supports using a byte array instead of a file to specify the private key, so VFS could be used to turn the URL into a byte array and pass that to JSCH instead.

      Attachments

        1. patch.txt
          14 kB
          Brad Davis
        2. patch.txt
          10 kB
          Brad Davis

        Activity

          People

            Unassigned Unassigned
            jherico Brad Davis
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: