GoogleAuthenticator icon indicating copy to clipboard operation
GoogleAuthenticator copied to clipboard

Will this support MS Authenticator and Authy

Open vijayaram-b opened this issue 1 year ago • 3 comments

Hi,

We are trying to use this in one of our projects, where MFA is mandated, we wanted to check the feasibility of using this library.

Will the library supports only Google Authenticator or generally any authenticator app(we are interested in Microsoft and Authy)

Please check and advise

vijayaram-b avatar Jul 18 '24 05:07 vijayaram-b

I have successfully generated working codes on Microsoft Authenticator, Authy, Google Authenticator, 2FAS, LastPass Authenticator and a previous version of Authenticator Plus (now seems to be defunct).

Note: Some of these (notably Microsoft Authenticator and Authy) will only work with the default algorithm (HMACSHA1) and will not work with HMACSHA256 or HMACSHA512, even though the RFC standard supports those.

You can test any authenticator app yourself by running any one of the example applications in the repository.

ahwm avatar Jul 18 '24 18:07 ahwm

Thank you @ahwm, will check with that

vijayaram-b avatar Jul 19 '24 03:07 vijayaram-b

Hi @ahwm I have been trying this in WinTest app, after changing this to default algorithm (HMACSHA1), will it have any security implication going forward if I am not using other algorithms?

vijayaram-b avatar Jul 19 '24 03:07 vijayaram-b

No, HMACSHA1 is the default used by most authenticator apps.

flytzen avatar Jul 29 '24 10:07 flytzen