[COMPASS-6854] Move from keytar to Electron safeStorage Created: 17/May/23  Updated: 09/Jan/24  Resolved: 28/Nov/23

Status: Closed
Project: Compass
Component/s: Tech debt
Affects Version/s: None
Fix Version/s: 1.41.0

Type: Task Priority: Major - P3
Reporter: Rhys Howell Assignee: Basit Chonka
Resolution: Done Votes: 0
Labels: milestone-1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones VSCODE-184 Move from keytar to Electron safeStorage Closed
Related
related to COMPASS-7059 libsecret 0.19.1 can store password, ... Closed
Epic Link: COMPASS-6856
Story Points: 5
Documentation Changes: Not Needed
Sprint: Iteration Pterodactyl

 Description   

Compass may ask for keychain permissions for each stored connection. While this is something that needs to happen when the process accessing the keychain changes, we can change our usage of the credential store to store one key which is used to access or decrypt all of the connections. This will make it so that if something similar happens in the future, the usage of keytar changes, we can ask just once for access to the keychain instead of something that really hurts user experience.



 Comments   
Comment by Githook User [ 09/Jan/24 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: feat(connection-storage): migrate from keytar COMPASS-6854 (#5115)
Branch: remove-enable-gai-experience-feature-flag
https://github.com/mongodb-js/compass/commit/6f122ee399c9854a658e00f2564aec2053acb041

Comment by Githook User [ 29/Nov/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: feat(connection-storage): migrate from keytar COMPASS-6854 (#5115)
Branch: beta-releases
https://github.com/mongodb-js/compass/commit/6f122ee399c9854a658e00f2564aec2053acb041

Comment by Githook User [ 29/Nov/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: feat(connection-storage): migrate from keytar COMPASS-6854 (#5115)
Branch: compass-7354-compass-workspaces
https://github.com/mongodb-js/compass/commit/6f122ee399c9854a658e00f2564aec2053acb041

Comment by Githook User [ 29/Nov/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: feat(connection-storage): migrate from keytar COMPASS-6854 (#5115)
Branch: feature/COMPASS-7473
https://github.com/mongodb-js/compass/commit/6f122ee399c9854a658e00f2564aec2053acb041

Comment by Githook User [ 28/Nov/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: feat(connection-storage): migrate from keytar COMPASS-6854 (#5115)
Branch: COMPASS-7464-connection-tests
https://github.com/mongodb-js/compass/commit/6f122ee399c9854a658e00f2564aec2053acb041

Comment by Githook User [ 28/Nov/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: feat(connection-storage): migrate from keytar COMPASS-6854 (#5115)
Branch: main
https://github.com/mongodb-js/compass/commit/6f122ee399c9854a658e00f2564aec2053acb041

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