Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-528

Use byte[] as the SFTP Handle identifier

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • None

    Description

      According to the specification a handle

      is an opaque variable-length string

      . Up until now the tests used String(s) because they were executed against the Java server - which uses indeed strings. But real servers use a bunch of bytes - which if we try to decode as UTF-8 might yield exceptions since they might not be UTF-8 strings. E.g., it seems that OpenSSH returns some kind of int as the handle value.

      Attachments

        Activity

          People

            lgoldstein Lyor Goldstein
            lgoldstein Lyor Goldstein
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: