FS#51876 - [mysql-workbench] gnome-keyring is required not only for storing passwords

Attached to Project: Community Packages
Opened by Danilo J. S. Bellini (hexd) - Friday, 18 November 2016, 14:13 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 20 November 2018, 12:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The mysql-workbench requires gnome-keyring not just to store SSH/MySQL passwords, but to allow connecting with a "Standard TCP/IP over SSH" connection.

Additional info:
* Package: mysql-workbench 6.3.8-1
* Works fine after installing: gnome-keyring 1:3.20.0+16+gbf8aa97-1
* I'm not using the 127.0.0.1 loopback to connect to the database nor anything similar, the SSH and MySQL IPs I used were from Google Cloud services

Steps to reproduce:

I tried to use mysql-workbench without the [optional] gnome-keyring requirement installed. Created a connection with the GUI as "Standard TCP/IP over SSH" to a GCE (Google Compute Engine) instance IP (SSH Hostname, no explicit port), using the database IP value (also from Google Cloud) as the MySQL Hostname. The error message suggests it was trying to connect to 127.0.0.1 instead of either the SSH Hostname or the MySQL Hostname. After installing the gnome-keyring package, it no longer complained.

I suggest that either gnome-keyring should be updated as a non-optional requirement/dependency, or its description should be updated to tell it's required for any connection over SSH. I'd say few are the ones that actually use mysql-workbench without gnome-keyring, as it doesn't store the password not even for the session while the GUI is open without the keyring, asking for the password again all the time (that depends on the MySQL connection timeout, as mysql-workbench asks the password every time it has to reconnect to the database, but usually that timeout is rather small). But for connections over SSH, I couldn't connect to the database without the gnome-keyring package installed.
This task depends upon

Closed by  Christian Hesse (eworm)
Tuesday, 20 November 2018, 12:48 GMT
Reason for closing:  Not a bug
Additional comments about closing:  gnome-keyring is no longer used at all, replaced by dependency to libsecret

Loading...