Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
Nemeski ( neme@lemm.ee )  to Privacy Guides@lemmy.oneEnglish · 2 years ago

Signal under fire for storing encryption keys in plaintext

stackdiary.com

external-link
message-square
28
link
fedilink
  • cross-posted to:
  • foss
  • privacy@lemmy.ca
117
external-link

Signal under fire for storing encryption keys in plaintext

stackdiary.com

Nemeski ( neme@lemm.ee )  to Privacy Guides@lemmy.oneEnglish · 2 years ago
message-square
28
link
fedilink
  • cross-posted to:
  • foss
  • privacy@lemmy.ca
Popular encrypted messaging app Signal is facing criticism over a security issue in its desktop application. Researchers and app users are raising
alert-triangle
You must log in or # to comment.
  • pearsaltchocolatebar ( pearsaltchocolatebar@discuss.online ) 
    link
    fedilink
    English
    arrow-up
    43
    ·
    2 years ago

    But… That’s how encryption keys are stored.

    • boredsquirrel (he) ( boredsquirrel@slrpnk.net ) 
      link
      fedilink
      English
      arrow-up
      16
      ·
      2 years ago

      opportunistic TPM integration would be nice.

      I.e. use the security chip of the device, if one is found. Otherwise use password.

      OR use a Nitrokey etc, which can act as a secure device to store these keys too.

      Take that, Windows. You dont need a builtin TPM if you can use a Nitrokey 3 with a secure element, externally.

  • Blizzard ( Blizzard@lemmy.zip ) 
    link
    fedilink
    English
    arrow-up
    21
    ·
    2 years ago

    Should the encryption keys be… encrypted?

    • henfredemars ( henfredemars@infosec.pub ) 
      link
      fedilink
      English
      arrow-up
      8
      ·
      2 years ago

      With what? Where would you store the encryption key for the encryption key on a desktop system where it would not be accessible to an attacker?

      Perhaps there could be a pin or password that must be entered every time to decrypt it into memory.

      • eco_game ( eco_game@discuss.tchncs.de ) 
        link
        fedilink
        English
        arrow-up
        18
        ·
        2 years ago

        As the article states, currently all processes are able to read the file which contains the key. Instead, you could store the key in the macOS Keychain (and Linux/Windows equivalents), which AFAIK is a list of all sorts of sensitive data (think WiFi passwords etc.), encrypted with your user password. I believe the Keychain also only let’s certain processes see certain entries, so the Signal Desktop App could see only its own encryption key, whereas for example iMessage would only see the iMessage encryption key.

        • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕠𝕕𝕚𝕝𝕖 ( muntedcrocodile@lemm.ee ) 
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 years ago

          Wifi passwords are piss easy to read out well at least on windows.

          • eco_game ( eco_game@discuss.tchncs.de ) 
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 years ago

            Only if you’re logged in as an Administrator though. A “standard” user account can’t access WiFi passwords on Windows.

            • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕠𝕕𝕚𝕝𝕖 ( muntedcrocodile@lemm.ee ) 
              link
              fedilink
              English
              arrow-up
              2
              ·
              2 years ago

              Because a non admin account is the default right? Right?

              • ReversalHatchery ( ReversalHatchery@beehaw.org ) 
                link
                fedilink
                English
                arrow-up
                2
                ·
                2 years ago

                UAC prompts you since vista if you want to let a process elevate it’s rights to be able to do that

                • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕠𝕕𝕚𝕝𝕖 ( muntedcrocodile@lemm.ee ) 
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  2 years ago

                  Luckily nobody ever just clicks through those.

      • boredsquirrel (he) ( boredsquirrel@slrpnk.net ) 
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 years ago

        Something you know, something you have, something you are.

        3FA:

        • Pin
        • Security Key/TPM/Secure element
        • fingerprint / iris scan

        You could also start with just one of these

        • ArcaneSlime ( ArcaneSlime@lemmy.dbzer0.com ) 
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 years ago

          fingerprint / iris scan

          Nope, I’m out. I’m not giving my unchangeable biological data to the Computer Gods because A) Fuck that and B) the police in my country can compel the use of biometrics to unlock things but cannot compel you to give up your pass as it is protected by the first amendment. Yes I think the bios should be protected too but that isn’t the reality in which I live.

          • boredsquirrel (he) ( boredsquirrel@slrpnk.net ) 
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 years ago

            Yeah that factor may not be wanted. But it is a security factor, because only you have it.

            You could hash it securely so the computer gods dont know your fingerprint. And you could only use it in addition to another factor.

        • Venia Silente ( veniasilente@lemm.ee ) 
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 years ago

          Isn’t the idea that not everyone has access to your biometrics?

          There’s honestly no need to make computers ask people for piss scans:

          something you know

          A password

          something you have

          Access to the password

          something you are

          The person who knows the password

          • boredsquirrel (he) ( boredsquirrel@slrpnk.net ) 
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 years ago

            A password can be cracked and is often very bad.

            • Venia Silente ( veniasilente@lemm.ee ) 
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 years ago

              But that can be said of any of the other such called factors:

              A yubikey can be stolen

              A fingerprint can be scanned and distributed

              So its not really an argument against passwords (or passkeys, or passwordless, or whatever marketing want to call them these days).

              • boredsquirrel (he) ( boredsquirrel@slrpnk.net ) 
                link
                fedilink
                English
                arrow-up
                2
                ·
                2 years ago

                Most people just need to fear their passwords being cracked remotely. In masses.

                If your threat model is being known, people stealing your stuff to login to your things, this is very high.

              • AlwaysTheir ( AlwaysTheir@lemmy.one ) 
                link
                fedilink
                English
                arrow-up
                2
                ·
                2 years ago

                My yubikey can be stolen but good luck guessing my PIN in the 3 to 9 tries allowed before it self destructs.

                • Venia Silente ( veniasilente@lemm.ee ) 
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  2 years ago

                  luck? I have a $5* wrench.

                  * (Actually a $7 wrench. Inflation is murder around here.)

    • RagingHungryPanda ( RagingHungryPanda@lemm.ee ) 
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 years ago

      Yo dawg

  • eco_game ( eco_game@discuss.tchncs.de ) 
    link
    fedilink
    English
    arrow-up
    20
    ·
    2 years ago

    I just read the full article, and I’m not even that concerned about storing the key in plaintext. I find the possibility of copying the files, and then being able to run the same session simultaneously a lot scarier.

  • JoeyJoeJoeJr ( JoeyJoeJoeJr@lemmy.ml ) 
    link
    fedilink
    English
    arrow-up
    18
    ·
    2 years ago

    If your computer is compromised to the point someone can read the key, read words 2-5 again.

    This is FUD. Even if Signal encrypted the local data, at the point someone can run a process on your system, there’s nothing to stop the attacker from adding a modified version of the Signal app, updating your path, shortcuts, etc to point to the malicious version, and waiting for you to supply the pin/password. They can siphon the data off then.

    Anyone with actual need for concern should probably only be using their phone anyway, because it cuts your attack surface by half (more than half if you have multiple computers), and you can expect to be in possession/control of your phone at all times, vs a computer that is often left unattended.

  • Joël de Bruijn ( joeldebruijn@lemmy.ml ) 
    link
    fedilink
    English
    arrow-up
    16
    ·
    2 years ago

    While true I don’t get why this is long known and also news at the same time.

    For Signal Backup tools for example this isn’t a bug but a feature and the only way to make long term archival of chats possible.

    • boredsquirrel (he) ( boredsquirrel@slrpnk.net ) 
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      You could archive chats encrypted too.

      • Joël de Bruijn ( joeldebruijn@lemmy.ml ) 
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 years ago

        Yep, decrypt … export elsewhere to csv txt json … encrypt

  • Otter ( otter@lemmy.ca ) 
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 years ago

    I’ve heard criticism of the desktop app before as well, maybe they’ll finally rework it?

  • Matt ( DieserTypMatthias@lemmy.ml ) 
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    Who is behind Stackdiary, btw?

Privacy Guides@lemmy.one

privacyguides@lemmy.one

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !privacyguides@lemmy.one
lock
Community locked: only moderators can create posts. You can still comment on posts.

In the digital age, protecting your personal information might seem like an impossible task. We’re here to help.

This is a community for sharing news about privacy, posting information about cool privacy tools and services, and getting advice about your privacy journey.


You can subscribe to this community from any Kbin or Lemmy instance:

  • Subscribe on Kbin.social
  • Subscribe on Lemmy.one
  • Subscribe on Lemmy.ml
  • Subscribe on Beehaw.org

Learn more…


Check out our website at privacyguides.org before asking your questions here. We’ve tried answering the common questions and recommendations there!

Want to get involved? The website is open-source on GitHub, and your help would be appreciated!


This community is the “official” Privacy Guides community on Lemmy, which can be verified here. Other “Privacy Guides” communities on other Lemmy servers are not moderated by this team or associated with the website.


Moderation Rules:

  1. We prefer posting about open-source software whenever possible.
  2. This is not the place for self-promotion if you are not listed on privacyguides.org. If you want to be listed, make a suggestion on our forum first.
  3. No soliciting engagement: Don’t ask for upvotes, follows, etc.
  4. Surveys, Fundraising, and Petitions must be pre-approved by the mod team.
  5. Be civil, no violence, hate speech. Assume people here are posting in good faith.
  6. Don’t repost topics which have already been covered here.
  7. News posts must be related to privacy and security, and your post title must match the article headline exactly. Do not editorialize titles, you can post your opinions in the post body or a comment.
  8. Memes/images/video posts that could be summarized as text explanations should not be posted. Infographics and conference talks from reputable sources are acceptable.
  9. No help vampires: This is not a tech support subreddit, don’t abuse our community’s willingness to help. Questions related to privacy, security or privacy/security related software and their configurations are acceptable.
  10. No misinformation: Extraordinary claims must be matched with evidence.
  11. Do not post about VPNs or cryptocurrencies which are not listed on privacyguides.org. See Rule 2 for info on adding new recommendations to the website.
  12. General guides or software lists are not permitted. Original sources and research about specific topics are allowed as long as they are high quality and factual. We are not providing a platform for poorly-vetted, out-of-date or conflicting recommendations.

Additional Resources:

  • EFF: Surveillance Self-Defense
  • Consumer Reports Security Planner
  • Jonah Aragon (YouTube)
  • r/Privacy
  • Big Ass Data Broker Opt-Out List
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 5 users / 6 months
  • 716 local subscribers
  • 21.7K subscribers
  • 539 Posts
  • 5.44K Comments
  • Modlog
  • mods:
  • jonah ( jonah@lemmy.one ) 
  • dngray ( dngray@lemmy.one ) 
  • Freddy ( freddy@lemmy.one ) 
  • ninchuka ( ninchuka@lemmy.one ) 
  • jonah ( jonah@lemmy.jonaharagon.net ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code