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

Use lazy-loading for keys specified in the HostConfigEntry

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • None
    • Important

    Description

      Following SSHD-860 key loading occurs lazily - thus encrypted keys password is not requested until the key is actually needed. The exception to this rule are keys specified as part of a HostConfigEntry specified in an ssh_config file.

      Implementation details
      • Need to change SshClient#loadClientIdentities to return a KeyPairProvider that is propagated all the way to SshClient#onConnectOperationComplete.
      • The code in SshClient#onConnectOperationComplete should check after setupDefaultSessionIdentities if there is a non-empty KeyPairProvider propagated and aggregate it with any already set such provider on the session

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: