ios-application icon indicating copy to clipboard operation
ios-application copied to clipboard

Support for 5 digit alpha-numeric 2FA codes

Open MattParkerDev opened this issue 4 years ago • 15 comments

It is possible to import your specific secret code from the Steam Authenticator app to allow centralisation of all 2FA codes, however at this time Raivo OTP does not support 5 digit codes. I am unsure if simply allowing a 5 digit code would generate an alpha-numeric code in steams format, or if that would have to be explicitly supported. Adding this feature would increase the versatility of the app.

MattParkerDev avatar Mar 03 '20 00:03 MattParkerDev

This is something I would like to add on short term.

Thanks for the feature request!

tijme avatar Mar 03 '20 20:03 tijme

Hi @FakeRayBanz,

I've looked into the Steam 5 character codes. Unfortunately these are not using the TOTP or HOTP protocol. Furthermore, their protocol is not open-source. This means I will not be able to implement their protocol in Raivo OTP.

tijme avatar Mar 04 '20 20:03 tijme

https://github.com/beemdevelopment/Aegis This open source android OTP app has managed to implement the steam 2FA codes, which is RFC 6238 with custom encoding. Is it possible to view their code and implement something similar into Raivo?

MattParkerDev avatar Mar 06 '20 14:03 MattParkerDev

This is something that I might want to add in the future. It looks like a bit more work than just lowering the minimum amount of digits.

tijme avatar Mar 14 '20 18:03 tijme

Yeah this would be great! Steam codes need this...Any news?

martimparente avatar Nov 03 '21 18:11 martimparente

Steam support would be great

MonolithOrchids avatar Dec 20 '21 00:12 MonolithOrchids

Support for Steam codes would be excellent. You may check the implementation in the SteamAuth library.

https://github.com/geel9/SteamAuth/blob/96ca6af3eb03d1a45f7fbff78851f055ba47c0d4/SteamAuth/SteamGuardAccount.cs#L85

kapdap avatar Feb 23 '22 07:02 kapdap

Just checking in on this and indicating it would be a key feature. Thanks for the great app!

Sn0whax avatar Jul 21 '22 16:07 Sn0whax

It's possible to use normal TOTP then apply a short algorithm on top of it to get the Steam Guard code out.

Here's a C# example of that: https://github.com/hmlendea/steamguard.totp/blob/master/SteamGuard.TOTP/SteamGuard.cs

So, while this would require some custom logic, it should be fairly minimal, as the base TOTP algorithm used by everything else can be reused here as well.

hmlendea avatar Sep 02 '22 12:09 hmlendea

@tijme @hmlendea Just jumping in here to see if there's any steps towards having this? Thanks!

Sn0whax avatar Jan 24 '23 01:01 Sn0whax

any updates?

xzrvr avatar May 20 '23 03:05 xzrvr

I would love this.

suevz avatar Jun 25 '23 19:06 suevz

Also hoping to see this. I'm considering moving from android to iOS this fall and trying to find alternatives to my current apps. I use Aegis and this appears to be the closest equivalent, but Aegis allows for many non-standard 2FA like Steam and Battlenet

lazyboy0172 avatar Aug 26 '23 09:08 lazyboy0172

Really hoping this. I bought a new iPhone but don't want to reset my steam guard since I've outputed it to ASF.

kumitom avatar Nov 11 '23 07:11 kumitom

This is definitely not a solution or even a “workaround” but if you don`t want to install Steam Guard on the phone and still use Steam two-factor authentication you can instead install this browser extension on a PC, as it does support Steam 2FA.

hmlendea avatar Nov 11 '23 14:11 hmlendea