this post was submitted on 17 Oct 2024
81 points (98.8% liked)
Technology
59605 readers
3501 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
OTP 2FA Codes are one time pads
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.
Oh, interesting. Okay. In that case, they are totally misusing the term.
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).