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

libsecret 0.19.1 can store password, 0.20.5 cannot

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Minor - P4 Minor - P4
    • No version
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      OS: linux
      node.js / npm versions: 18
      Additional info: Tested with flatpak build
    • Not Needed

      Problem Statement/Rationale

      I am one of the maintainers of the flatpak build of compass. (https://github.com/flathub/com.mongodb.Compass)

      I've upgraded the base enviroment in runs on and also libsecret from 0.19.1 to 0.20.5. It seemed to work fine in the first place (existing connections can be used). But when adding a new connection the password not get saved (it works until a new start). With 0.19.1 is persist over a new start.

      To be honest i can't tell yet if this is even an issue with compass of with the way flatpaks work. But i wanted to letting you know. Could be you have an idea why this could occur.

      Steps to Reproduce

      Compile and install "https://download.gnome.org/sources/libsecret/0.19/libsecret-0.19.1.tar.xz" and it should work

      Compile and install https://download.gnome.org/sources/libsecret/0.20/libsecret-0.20.5.tar.xz and it should not work

      Or if you are ok to test the flatpak use the current one vs this build with the downgraded dependency: https://github.com/flathub/com.mongodb.Compass/pull/40#issuecomment-1657637746

      Expected Results

      That is runs against both dependency versions.

      Actual Results

      Password do not persists.

            Assignee:
            Unassigned Unassigned
            Reporter:
            dominik.zogg@hotmail.com Dominik Zogg
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: