Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3558

Add Support for Ed25519 SSH keys

    • Type: Icon: New Feature New Feature
    • Resolution: Declined
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.17.0
    • Component/s: Connectivity
    • Labels:
    • Environment:
      macOS 10.14.4
    • 2
    • Iteration Urial, Iteration Vicuña

      Compass is currently unable to use Ed25519 keys generated by OpenSSL. After doing some digging, this is due to the underlying node module ssh-streams not handling EdDSA in the most recent version. There is a fix that was recently committed. I've put in an issue to get the fix version tagged. This would also require compiling against OpenSSL 1.1 or equivalent.

      /Applications/MongoDB Compass Community.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:21 Uncaught Error: Cannot parse privateKey: Unsupported key format
          at Client.connect (/Applications/MongoDB Compass Community.app/Contents/Resources/app.asar/node_modules/ssh2/lib/client.js:230)
          at SSHTunnel.createTunnel (/Applications/MongoDB Compass Community.app/Contents/Resources/app.asar/node_modules/mongodb-connection-model/lib/ssh-tunnel.js:53)
          at /Applications/MongoDB Compass Community.app/Contents/Resources/app.asar/node_modules/mongodb-connection-model/node_modules/async/dist/async.js:3880
          at replenish (/Applications/MongoDB Compass Community.app/Contents/Resources/app.asar/node_modules/mongodb-connection-model/node_modules/async/dist/async.js:1011)
          at /Applications/MongoDB Compass Community.app/Contents/Resources/app.asar/node_modules/mongodb-connection-model/node_modules/async/dist/async.js:1016
          at eachOfLimit (/Applications/MongoDB Compass Community.app/Contents/Resources/app.asar/node_modules/mongodb-connection-model/node_modules/async/dist/async.js:1041)
          at /Applications/MongoDB Compass Community.app/Contents/Resources/app.asar/node_modules/mongodb-connection-model/node_modules/async/dist/async.js:1046
          at _parallel (/Applications/MongoDB Compass Community.app/Contents/Resources/app.asar/node_modules/mongodb-connection-model/node_modules/async/dist/async.js:3879)
          at Object.series (/Applications/MongoDB Compass Community.app/Contents/Resources/app.asar/node_modules/mongodb-connection-model/node_modules/async/dist/async.js:4735)
          at SSHTunnel.listen (/Applications/MongoDB Compass Community.app/Contents/Resources/app.asar/node_modules/mongodb-connection-model/lib/ssh-tunnel.js:138)
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            moderndeveloperllc Mark Garrett
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: