As mentioned in the comments, plain text keys aren’t bad because they are necessary. You have to have at least one plain text key in order to be able to use encryption

  • limitedduck@awful.systems
    link
    fedilink
    arrow-up
    51
    ·
    7 months ago

    I kind of agree that this may be a little overblown. Exploiting this requires device and filesystem access so if you can get the keys you can already get a lot more stuff.

      • TimeSquirrel@kbin.melroy.org
        link
        fedilink
        arrow-up
        8
        ·
        edit-2
        7 months ago

        It’s eventually going to have to be stored in plaintext somewhere. Where are you then putting the encryption key for the encryption keys and how do you start the chain of decryption without the first key?

      • limitedduck@awful.systems
        link
        fedilink
        arrow-up
        4
        ·
        7 months ago

        Sorry, I don’t think I understand what you’re suggesting. Are you saying encryption keys should themselves be encrypted?

        FYI this story isn’t about plaintext passwords, it’s about plaintext encryption keys to chat history.

  • solarvector@lemmy.zip
    link
    fedilink
    arrow-up
    15
    ·
    7 months ago

    Also not a surprise because as the article notes it’s been known and discussed since at least 2018

  • thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    11
    ·
    7 months ago

    After your edit, the post points to an image only, no longer the link to the source. Please edit back the link, if not at least into the body.

      • jet@hackertalks.com
        link
        fedilink
        English
        arrow-up
        11
        ·
        7 months ago

        The back end is open source, but sometimes they’ve lagged years behind releasing the source code. Other developers have stood up copies of the signal network. Session, for example.

        You can self host your own signal, but it’s not federated, so you’d have nobody to talk to

          • jet@hackertalks.com
            link
            fedilink
            English
            arrow-up
            10
            ·
            edit-2
            7 months ago

            It’s absolutely FOSS. It is not, however federated. But that is not a requirement to be free and open source software

            Think of it like this, Linux is free and open source software, even if I don’t give you a shell on my computer.

            You can use the code, however you want, in any project you want.

            • hedgehog@ttrpg.network
              link
              fedilink
              arrow-up
              1
              ·
              7 months ago

              It isn’t, because their business practices violate the four FOSS essential freedoms:

              1. The freedom to run the program for any purpose
              2. The freedom to study and modify the program
              3. The freedom to redistribute copies of the original or modified program
              4. The freedom to distribute modified versions of the program

              Specifically, freedom 4 is violated, because you are not permitted to distribute a modified version of the program that connects to the Signal servers (even if all your modified version does is to remove Google Play Services or something similar).

  • brie@beehaw.org
    link
    fedilink
    arrow-up
    3
    ·
    7 months ago

    Restricting access to files within a user is why sandboxing is useful. It in theory limits the scope of a vulnerability in an app to only the files it can read (unless there is a sandbox escape). Android instead prevents apps from accessing other apps’ files by having each app run as a separate user.

    One way to keep the encryption keys encrypted at rest is to require the login password (or another password) to open the app, and use it to encrypt the keys. That said, if an adversary can read Signal’s data, they can almost certainly just replace Signal with a password-stealing version.

  • eveninghere@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    7 months ago

    by any process on the system

    This IS bad. Btw they can ask the user to type the password rather than saving it in a plaintext. I can’t believe comments on this thread defend Signal…

    • Recant@beehaw.orgOP
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      But can you trust that a user will pick a difficult to break password? They likely will pick something simple to remember but that is not a good password.

      The we are just back to essentially having a plaintext password because if the attacker has a good dictionary, it will be easy to crack.

      • eveninghere@beehaw.org
        link
        fedilink
        arrow-up
        1
        ·
        6 months ago

        I can agree, but I MYSELF will pick a strong PW. So they better just fucking encrypt the thing, fucking please for the love of god.