Giter Club home page Giter Club logo

Comments (4)

redhook62 avatar redhook62 commented on July 28, 2024

In short, No.

But the spécifications for HOTP only supports HMAC-SHA1, for TOTP, the specifications supports (SHA1, SHA256, SHA3384, SHA512)

But, when we push your first version, Mobile Apps like Google Authenticator, Microsoft Authenticator ONLY supports SHA1. But thers's no security problem (:sunglasses:) because the code is changing every 30 seconds.

See :
https://github.com/google/google-authenticator/wiki/Key-Uri-Format
google/google-authenticator-libpam#11
https://tools.ietf.org/html/rfc6238
https://tools.ietf.org/html/rfc4226

So we choose, to stay "compatible" with IETF and editors implementations.

We can look again, if it is desirable to implement superior hash algorithm (aka: SHA256).
But it must absolutely be functional with the majority of Google and Microsoft "Authenticator" mobile applications.

On the other hand, it is possible to have very complex keys, that' why we push an implementation with certificates (keys 2048 RSA)

from adfsmfa.

unchannam-xx avatar unchannam-xx commented on July 28, 2024

I see. I just want to know if I can use higher SHA because the algorithm textbox can be changed, now I am sure it cannot. Thanks.

from adfsmfa.

redhook62 avatar redhook62 commented on July 28, 2024

Of course, we want to use higher SHA algoritm, the textbox follow the "official" (ietf !) specification.
As we said, soon, we are going to look if we we can now support SHA256 and higher.

Regards

from adfsmfa.

redhook62 avatar redhook62 commented on July 28, 2024

Version 2.0.2966 available

We added support for iterating (downgrading) HMAC algorhytms : SHA1, SHA256 to SHA512
Remember, that it's not a bug, these algorythms are specified in rfc4226 and rfc6238. but they are not supported by many editors (Microsoft, Google, ...) To support SHA256 you must use an Authenticator like
Authy

Regards

from adfsmfa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.