Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steam TOTP possible? #112

Open
Peronia opened this issue Feb 3, 2024 · 5 comments
Open

Steam TOTP possible? #112

Peronia opened this issue Feb 3, 2024 · 5 comments

Comments

@Peronia
Copy link

Peronia commented Feb 3, 2024

Hi, Steam uses his own variant of a TOTP, a 5 digit code with letters in it. Does solo v2 support this? If yes, can you add it to the advanced section?

@oplik0
Copy link
Owner

oplik0 commented Feb 4, 2024

From my understanding Steam TOTP is just a standard HMAC-SHA-1 based TOTP, so it should already be supported.
The issue is that Steam doesn't expose the actual TOTP secret to the user. There seem to be some API wrappers that allow you to recover it, but I haven't used them and would consider such a wrapper here (and as such adding a whole Steam login flow) to be quite far outside of the scope of this app.

@oplik0 oplik0 closed this as completed Feb 4, 2024
@oplik0 oplik0 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 4, 2024
@Peronia
Copy link
Author

Peronia commented Feb 5, 2024

Well, I tried this and it does not work. There are methods to get the key. I added it into Bitwarden and it works fine.
Of course the whole login flow is oversized. Yubikey works fine too.

@oplik0
Copy link
Owner

oplik0 commented Feb 5, 2024

Did you set the number of digits to 5 in the advanced section when adding the TOTP secret? As far as I can tell this should be the only difference.

@Peronia
Copy link
Author

Peronia commented Feb 7, 2024

Here is a screenshot of the advanced section:
solo2-desktop_UWR2djIz00
As an example I got this TOTP: 12123 Bitdefender shows this (both have the same secret, I must add a steam// in Bitdefender so they know that is steam): AB1AB. The chars and numbers are random, for the Steam Bitwarden TOTP can be 123AB too and so on.

@oplik0 oplik0 reopened this Feb 7, 2024
@oplik0
Copy link
Owner

oplik0 commented Feb 7, 2024

I'll have to look more into how e.g. Bitwarden implements this and probably need to export a secret myself then...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants