[COMPASS-4135] Saved favorite on Linux: SSL configuration not saving. Created: 06/Feb/20  Updated: 29/Oct/23  Resolved: 17/Feb/20

Status: Closed
Project: Compass
Component/s: Favorites
Affects Version/s: 1.20.5
Fix Version/s: 1.21.0

Type: Bug Priority: Critical - P2
Reporter: Scott Crunkleton Assignee: Durran Jordan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Arch Linux


Issue Links:
Related
related to COMPASS-4170 Favorites saved incorrectly when usin... Closed
is related to COMPASS-4057 SSH details in favorite gets lost aft... Closed
Sprint: Iteration Wombat

 Description   

I have a saved favorite "prod". Hostname configuration persists, but SSL under "More Options" resets even if I click "save changes".

I looked at the saved connection file (~/.config/MongoDB\ Compass/Connections/5ec288a2-db12-4b8f-a71e-d2e1f6ea1edf.json) and I see the correct values, but they must not be loading properly. Contents:

{   ...   "ssl":true,   "sslMethod":"SERVER",   "sslCA":["/correct/path/to/selfsigned.crt"],   ... }

 Comments   
Comment by Githook User [ 17/Feb/20 ]

Author:

{'name': 'Durran Jordan', 'username': 'durran', 'email': 'durran@gmail.com'}

Message: COMPASS-4135: Persist TLS attributes across views
Branch: master
https://github.com/mongodb-js/compass/commit/82e9ad66e05c04bf32fbd256975732e8acbd9ebd

Comment by Githook User [ 17/Feb/20 ]

Author:

{'username': 'durran', 'name': 'Durran Jordan', 'email': 'durran@gmail.com'}

Message: COMPASS-4135: Persist TLS attributes across views
Branch: COMPASS-4135
https://github.com/mongodb-js/compass/commit/52a0203d1d8d66665c95fc0f61c671fc62fb2530

Comment by Githook User [ 10/Feb/20 ]

Author:

{'name': 'Lucas Hrabovsky', 'username': 'imlucas', 'email': 'hrabovsky.lucas@gmail.com'}

Message: fix: COMPASS-4135: Make auth prop session only
Branch: auth-session-prop
https://github.com/mongodb-js/connection-model/commit/e187303dcb9eb8c26537d22b2513f7f8e10a191c

Comment by Scott Crunkleton [ 06/Feb/20 ]

Speaking of the Connections file, I see that my password is being stored in plain text even though compass is using gnome keyring.

Generated at Wed Feb 07 22:35:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.