• Rentlar@lemmy.ca
      link
      fedilink
      arrow-up
      116
      ·
      1 day ago

      https://www.theregister.com/security/2026/10/20/indian-certification-authority-emudhras-private-keys-compromised-one-of-them-was-the-number-4/5304312

      It was discovered that one of India’s Trusted Certificate Authorities, eMudhra, tasked with signing website certificates to verify authenticity of HTTP traffic was using the number “4” as the signing key along with 7 other keys less than 250. The key is supposed to be a unique number hundreds of binary digits long, but with such a simple key anybody can spoof a certificate that they could claim was signed by eMudhra and CA-checking lists would accept that.

    • night_petal@lemmy.zipOP
      link
      fedilink
      arrow-up
      33
      arrow-down
      1
      ·
      edit-2
      1 day ago

      How do I begin? Basically, an India based company that does TLS certification published some comically bad private keys. One of which was just the character 4. Update all of your browsers btw, desktop and mobile. This is a very major low level security breech of the entire internet.

      It may take Linux distros days to patch it, and this includes millions of servers.

      • [object Object]@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        5 hours ago

        Firefox, likely Chrome, and maybe other major browsers update certificate revocations independently of the main app. Things are more complicated with various command-line apps and daemons, programming languages and libraries, which may require updates to system-wide packages or, worse, libraries for individual programs (ahem Python).

        Also, private keys aren’t published, that’s their defining characteristic. Public keys are published, and of course they are used to check signatures made with particular private keys — in this case the ones generated by the security researcher.

    • virku@lemmy.world
      link
      fedilink
      arrow-up
      23
      ·
      1 day ago

      An ssl certificate provider used 4 as their private key. This should be hundreds of characters long. Somebody figured this out and was able to issue their own certificates based on it. This results in loss of trust in their certificates which is a big deal.

      It is compared as bigger than one of the largest security issues in IT the last couple of years since it forces everybody to patch their shit to not trust this certificate chain. And lots of stuff aren’t patched that easily.

        • prettybunnys@piefed.social
          link
          fedilink
          English
          arrow-up
          10
          arrow-down
          1
          ·
          24 hours ago

          I mean …. Yes, that would be secure.

          Sorta.

          It’s be dumb, and a pattern based attack could potentially solve it easily … but technically much more secure than 4

          • sirprize@discuss.tchncs.de
            link
            fedilink
            arrow-up
            2
            ·
            18 hours ago

            I get what you mean, but no, it would not be secure. The private key in question is really used as a number in a calculation, not as a string of digits. Leading zeroes would just be ignored.

            • prettybunnys@piefed.social
              link
              fedilink
              English
              arrow-up
              2
              ·
              18 hours ago

              not when it’s a representation of bits in a file

              The key itself being 00000000004 yah

              The key file being

              0000000000000000000000……4 is a different story

    • rockSlayer@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      11
      ·
      1 day ago

      A company from India was issuing Internet security certificates with extremely small private keys. The lowest they issued was 4