SDK removes SSH keys for HW devices on upgrade

Tracked by Jolla (In progress)

asked 2019-05-16 21:10:56 +0300

attah gravatar image

updated 2019-07-31 12:37:03 +0300

When upgrading the SDK through the maintenance tool, it complains that a folder it wants to remove isn't empty. The choices are retry or ignore. If I empty the folder manually, obviously the keys are removed, so this time around i tried "ignore" fully expecting the update to fail. But it didn't... however i still had to re-authorize the SDK to my device (i.e. give the password so that it can install its keys).

It's getting tiresome to have to re-setup this for every SDK update, any chance it can be fixed?

OS: Linux (Mint 19)

Screenshots from 2.2:

image description

I clicked Ignore, but still got: image description

edit retag flag offensive close delete



@attah thanks for reporting, under investigation

martyone ( 2019-05-16 21:31:55 +0300 )edit

The fix is planned for SDK 2.3. Anyway, since SDK 2.2, Qt Creator will be able to use your default key, so if you authorize that one (ssh-copy-id to your device), the issue will basically disappear for you.

martyone ( 2019-07-31 12:40:54 +0300 )edit

Thanks for the update and info. :)

attah ( 2019-07-31 12:43:21 +0300 )edit