Ensure connectionModel.secrets are encrypted

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.31.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 1
    • Iteration Phnom Penh, Iteration Q, Iteration Reno, Iteration Seoul, Iteration Utica, Iteration Versailles
    • Not Needed

      Follow up from COMPASS-4630, we just need to check that secrets are not stored in clear, tests in COMPASS-4630 only use a mock `storage-mixin` and we need to integrate ConnectionStorage before we are able to check that the encryption really takes place.

      We need to verify that in the connection files saved by ConnectionStorage (packages/data-service) there is no secrets section or secrets saved in clear (see https://github.com/mongodb-js/compass/blob/main/packages/data-service/src/connection-secrets.ts).

      Also we need to verify that the secrets are stored in the keychain instead.

            Assignee:
            Basit Chonka
            Reporter:
            Maurizio Casimirri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: