tech.lgbt is one of the many independent Mastodon servers you can use to participate in the fediverse.
We welcome all marginalized identities. This Mastodon instance is generally for folks who are LGBTQIA+ and Allies with an interest in tech work, academics, or technology in general.

Server stats:

2.9K
active users

Public

🆕 blog! “Can time-travellers use TOTP codes?”

Imagine, just for a moment, you and your friends decide to travel in time. In order to make sure you can authenticate your communications with each other, you set up a shared Time-based One Time Password (TOTP). The TOTP algorithm uses a Hash-based Message Authentication Code (HMAC). The hash is calculated from a shared …

👀 Read more: shkspr.mobi/blog/2024/07/can-t

#ComputerScience #standards #totp

Terence Eden’s BlogCan time-travellers use TOTP codes?

@Edent fun question of how your totp device knows the time. If you've gone back before the 70s there isn't GPS to sync to. If the totp device doesn't know it's time travelling then it's clock probably still thinks its minutes after it left. Hope all of you jumped at the same time.

If you jump back to the same time you left, you now get clock drift errors as you've accumulated the time you spent in the past and your clock thinks it's in the future.

Of course if you've invented a time machine you can probably make a clock that understands that it's been time travelled.