You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.
Original issue 340 created by terrycwk1994 on 2013-11-07T02:52:37.000Z:
The code in libpam/google-authenticator.c defines the shared secret to be 80 bits.
define SECRET_BITS 80 // Must be divisible by eight
This appears not to conform with RFC 42261 that states:
R6 - The algorithm MUST use a strong shared secret. The length of
the shared secret MUST be at least 128 bits. This document
RECOMMENDs a shared secret length of 160 bits.
I suggest that the code be patched to modify this to 160 bits, which conforms with the recommendation by RFC 4226 and is what Google is using for 2FA with their own services.
The text was updated successfully, but these errors were encountered:
Original issue 340 created by terrycwk1994 on 2013-11-07T02:52:37.000Z:
The code in
libpam/google-authenticator.c
defines the shared secret to be 80 bits.define SECRET_BITS 80 // Must be divisible by eight
This appears not to conform with RFC 42261 that states:
R6 - The algorithm MUST use a strong shared secret. The length of
the shared secret MUST be at least 128 bits. This document
RECOMMENDs a shared secret length of 160 bits.
I suggest that the code be patched to modify this to 160 bits, which conforms with the recommendation by RFC 4226 and is what Google is using for 2FA with their own services.
The text was updated successfully, but these errors were encountered: