• blibla@slrpnk.netOP
      link
      fedilink
      arrow-up
      62
      ·
      4 days ago

      hey now!

      4 is just as random as 29833638292F9373638292926262141414331252526283994040218 is

      • ramble81@lemmy.zip
        link
        fedilink
        arrow-up
        21
        ·
        4 days ago

        For one value, yes…. But for 8 different keys having stupidly low numbers? They either had a seriously faulty RNG, or more likely were hand creating the keys.

        • halcyoncmdr@piefed.social
          link
          fedilink
          English
          arrow-up
          12
          ·
          4 days ago

          And the only reason to make a key that short is if you were trying to give them to someone who shouldn’t have them, and needed to avoid any sort of digital trail, even copy and paste… so you would obviously just memorize them.

          Memorizing a bunch of 384 bit keys is basically impossible… But memorizing a couple dozen numbers? Child’s play.

            • halcyoncmdr@piefed.social
              link
              fedilink
              English
              arrow-up
              11
              ·
              4 days ago

              Considering keys like this are usually copied and pasted anywhere they might need to be manually entered… There is zero reason to make them small enough to be human-readable, unless that’s your actual intended use.

                • halcyoncmdr@piefed.social
                  link
                  fedilink
                  English
                  arrow-up
                  8
                  ·
                  4 days ago

                  Anyone in a position where they are responsible for generating a root key for a certificate authority, 100% knows how to generate a key in their sleep.

                  The only explanation is that it was made easy intentionally, not lazily.

          • Corn@lemmy.ml
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 days ago

            If that’s what they needed, just remember an equation that turns easily remembered numbers into a 384 bit key.

      • ChaoticNeutralCzech@feddit.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        3 days ago

        I’m willing to sacrifice about 10 % of the range by re-rolling if the number generated has too low/high value or low entropy (for example if its GZ compression is shorter than original). The range should taper off too, for instance if 2¹²³+1 is the technically lowest number possible, it should still have a 99% chance for a re-roll, so there’s no “hard” lowest possible number. I don’t want to be in the “front line”.

        Of course, here the RNG was clearly compromised.