• gomp@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    3 months ago

    Those are outside Signal’s scope and depend entirely on your OS and your (or your sysadmin’s) security practices (eg. I’m almost sure in linux you need extra privileges for those things on top of just read access to the user’s home directory).

    The point is, why didn’t the Signal devs code it the proper way and obtain the credentials every time (interactively from the user or automatically via the OS password manager) instead of just storing them in plain text?

    • Zak@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      You’d need write access to the user’s home directory, but doing something with desktop notifications on modern Linux is as simple as

      dbus-monitor "interface='org.freedesktop.Notifications'" | grep --line-buffered "member=Notify\|string" | [insert command here]

      Replacing the Signal app for that user also doesn’t require elevated privileges unless the home directory is mounted noexec.