Author Topic: Security Issue: Private key passphrase exposed with Open In Terminal  (Read 600 times)

gvmox

  • Jr. Member
  • **
  • Posts: 3
I'm using public key authentication, which works fine for the initial logon--but it gets exposed using the built-in Terminal feature:

Choosing "Open In Terminal" in the "Listing" menu takes quite a while to open (maybe 30 seconds) and when it finally does, you see why--it pastes the plain text of your SSH private key's passphrase into the terminal and then apparently times out before going to the next command to ch to the correct directory! Not good!

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Security Issue: Private key passphrase exposed with Open In Terminal
« Reply #1 on: September 19, 2011, 03:31:51 PM »
This sounds like a bug for slower connections... for me it's working perfectly fine!

I do apologise for the scare - I'll get it fixed for the next release.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Security Issue: Private key passphrase exposed with Open In Terminal
« Reply #2 on: September 19, 2011, 03:44:53 PM »
Can I clarify with you - is your initial connection taking up to 30 seconds also, or just Open In Terminal?

If the latter, was Terminal already running or not?

Thanks,
Jason

gvmox

  • Jr. Member
  • **
  • Posts: 3
Re: Security Issue: Private key passphrase exposed with Open In Terminal
« Reply #3 on: September 21, 2011, 01:10:10 PM »
Thanks for your responses. The initial connection takes about 4 seconds to connect and just over another second to list the directories. I've tried it with Terminal running and when it's not and don't see a difference. The issue isn't that it's slow; the issue is it was mistakingly passing my private ssh key's passphrase (treating it as though it was the password) and then it would time out and only then proceed. Strange.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Security Issue: Private key passphrase exposed with Open In Terminal
« Reply #4 on: September 21, 2011, 01:13:16 PM »
I see! I did indeed misunderstand you.

I'll go test for this specific scenario and get back to you ASAP.

Thanks for following up! :)

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Security Issue: Private key passphrase exposed with Open In Terminal
« Reply #5 on: September 22, 2011, 09:56:48 AM »
Fixed in the next beta :)

Thanks for bringing this to my attention!

gvmox

  • Jr. Member
  • **
  • Posts: 3
Re: Security Issue: Private key passphrase exposed with Open In Terminal
« Reply #6 on: September 22, 2011, 09:58:16 AM »
Thanks for your impressive responsiveness! Looking forward to downloading the next version.