Ticket Created
over 3 years ago

CIQQA-1148

Persistent login details for SDK manager and simulator

            OS: Ubuntu 20.04

   SDK Manager: 1.0.4

Connect IQ SDK: 4.1.2

Neither the SDK manager nor the simulator (when accessing app settings) remember the login details for my garmin account. This means typing in my email and finding/copying my password from a password manager each and every time I run them. This gets rather tedious after a while - so is there a way to persist the login details or is it supposed to and there's a bug preventing it from working?

Related question: Why does the simulator require an account login to manipulate the local settings? 

On another note - the app settings window in the simulator has the odd behaviour that if you keep it open it will not allow you to make multiple changes. Instead you have to close the window and open it again.

I've recently started using Connect IQ again having not worked on my old watchface for many years and have been very pleased to find the move to VSCode and better cross-platform support - so thanks!

Parents
  • With the help of Kyle who provided a version of the SDK manager with more logging we were able to figure out that KDE does not support "org.freedesktop.secrets" via dbus in Kubuntu 20.04. It looks like a future version of kwallet may support it, but probably not until Kubuntu 22.10.

    In the meantime there are a couple of solutions I've tried and will document here in case anyone else has the same issue:

    Method 1 - simplest

    Install "gnome-keyring". Not ideal on a KDE system, but it does work. We don't need any of the associated bits so a

    $ sudo apt install --no-install-recommends gnome-keyring

    should do the trick. Since it's only being used to store credentials for the Garmin SDK manager and emulator then setting a password is optional (leave blank when prompted).

    Method 2

    Install KeePassXC (not from the standard repos because that version is too old) and then follow the instructions at https://rtfm.co.ua/en/what-is-linux-keyring-gnome-keyring-secret-service-and-d-bus/#KeePass to configure it for Secret Service integration.

Comment
  • With the help of Kyle who provided a version of the SDK manager with more logging we were able to figure out that KDE does not support "org.freedesktop.secrets" via dbus in Kubuntu 20.04. It looks like a future version of kwallet may support it, but probably not until Kubuntu 22.10.

    In the meantime there are a couple of solutions I've tried and will document here in case anyone else has the same issue:

    Method 1 - simplest

    Install "gnome-keyring". Not ideal on a KDE system, but it does work. We don't need any of the associated bits so a

    $ sudo apt install --no-install-recommends gnome-keyring

    should do the trick. Since it's only being used to store credentials for the Garmin SDK manager and emulator then setting a password is optional (leave blank when prompted).

    Method 2

    Install KeePassXC (not from the standard repos because that version is too old) and then follow the instructions at https://rtfm.co.ua/en/what-is-linux-keyring-gnome-keyring-secret-service-and-d-bus/#KeePass to configure it for Secret Service integration.

Children
No Data