Option to require SSL connection to show Recovery codes, or insist on sending them through email instead

Created on 10 August 2015, over 9 years ago
Updated 23 December 2024, 17 days ago

One of the great benefits of this module is that it provides secure login also for web sites that does not have their own SSL security certificate. In these cases, the user logs in with a password that every time is sent openly across the internet. The security lies in that the TOTP codes or Recovery Codes or SMS are only valid once, but especially; is SENT securely to the user before usage.

Therefore, I suggest providing an option to enforce sending new Recovery codes through email instead of showing them on-screen, IF/WHEN the TFA page is served over HTTP (not SSL).

Even if that email is also sent openly, at least it is sent openly from a different IP/cookie source (the server), and to an email that is more probably behind SSL so that the codes cannot easily be intercepted.

Should not serve the list of Recovery codes over insecure connection.

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States cmlara

    With D7 EOL approaching moving to 2.x for consideration.

    I do have concerns about sending via email as they may retain a long-term copy and progress through multiple intermediaries.

    I can agree only transmission over HTTPS would be ideal, though perhaps that may be better left to another module/site configuration, especially now that modern SSL practices indicate that HTTPS over the open web may always be the case for some environments.

Production build 0.71.5 2024