TablePlus / TablePlus-iOS

TablePlus iOS issue tracker
https://tableplus.com
16 stars 0 forks source link

TablePlus Asking for Passphrase for SSH Key that is not Encrypted #23

Open alexclst opened 2 years ago

alexclst commented 2 years ago

I've just tried to use TablePlus iOS, but when I try to use an ssh key that I import from a file in a connection TablePlus asks for the key's password (see screenshot).

Screenshot 2022-11-17 at 7 35 41 PM

If I import this same key into another iOS app that lets me use imported SSH keys (Termius) it works without asking for a passphrase. I know that my source of this ed25519 key (1Password) is exporting an unencrypted private key, because I know that it decrypted the key on its original import, plus another app didn't ask for passphrase.

Why is TablePlus iOS asking for a passphrase for a key that does not have one? This renders the TablePlus iOS app useless to me.

huyphams commented 2 years ago

Hi @alexclst I think TablePlus does not support ed25519 key format at the moment, could you please try with rsa key?

alexclst commented 2 years ago

@huyphams I'm using the exact same key with TablePlus on macOS. There I'm using the 1Password SSH Agent to provide the key, versus copying it out of 1Password on iOS for (attempting) to use it on TablePlus iOS. But the fact that it works on my Mac makes me think TablePlus for macOS does support ed25519 keys. So is it just the TablePlus iOS app that lacks this support? If so, why, and will it be gaining this anytime soon? I really don't want to generate a second, RSA, key to need to deploy to servers when everything else I use across either platform works just fine with my ed25519 key. In fact, I'd sooner just not try to use TablePlus for iOS.