• InverseParallax@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        2 months ago

        They’re actually not, they’re algorithmically derived state machines, most are public key hashes of secrets concatenated to the current time in seconds from the epoch.

        Ideally they would be otp, but that would also be obnoxious.

          • InverseParallax@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            ·
            edit-2
            2 months ago

            Yeah, I think it’s because that’s where the model originated, and that’s basically what it’s supposed to be, but having almost everyone synchronized on time gives us a new trick because we can just generate ‘keys’ and have them expire, so even if you manage to get one by force, it’s only valid a short window. Instead of one time pad they often call them one time passwords.

            You need extended access to a generator over time to be able to use it, which gives the user a chance to report it for invalidation.

            Not perfect, but it does its job fine especially compared to passwords or sms (where you’re at the mercy of the minimum wage kid down at the mall’s Verizon kiosk).