Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I know the client key is derived from the server key (So if Facebook's was released, your Google's TOTP is still safe).

I'm guessing it depends on the implementation, are the server secrets normally derived per user or shared across users (Talking about just a single service such as facebook)?



> I know the client key is derived from the server key

No. TOTP is a shared secret system, there is only one key.

> I'm guessing it depends on the implementation, are the server secrets normally derived per user or shared across users

Again no. The only reasonable thing to do is pick secrets entirely at random for each user. If the same secret is used then users can trivially impersonate each other, which makes no sense.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: