Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7948

Remove keytar completely

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Connectivity
    • Developer Tools
    • 5

      • Turn-off the keytar to safe storage migration
      • Warn users "jump" updating from a version pre-1.41.0, with un-migrated connections, to either import/export or upgrade more gradually
      • Remove keytar, and any related code from the bundle

      NOTE: This is a follow up to switching to safeStorage. We moved from keytar to the electron safe storage in 1.41.0, and kept keytar in compass with an automated migration for a period of time.

      In order to turn off the keytar migration and remove it entirely from compass we need to detect users with unmigrated secrets (pre-1.41.0) and warn them to either perform an import/export, or to migrate gradually. "pre 1.41.0" connections with keytar are missing a "version" property, and can be detected that way.

            Assignee:
            Unassigned Unassigned
            Reporter:
            maurizio.casimirri@mongodb.com Maurizio Casimirri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: