Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two factor login authentication for all administators and users who opt-in #4093

Open
RichardTaylor opened this issue Jul 8, 2017 · 6 comments
Labels

Comments

@RichardTaylor
Copy link

Currently there is an option of two factor authentication for administrators resetting passwords; but there isn't two-factor authentication for every login.

Related: Increase security of superuser accounts #2697

@garethrees
Copy link
Member

This was by design as we felt that needing a copy of the recovery keys for every login would be pretty annoying, and also insecure as you'd have to carry codes around. SMS works better for this as you only have a valid code on you for 30 seconds or so before you log in.

What's your thinking behind this?

I think using Google Authenticator would make most sense if we wanted to support this, but I don't know what the implication would be for Alaveteli installs in less developed countries.

@RichardTaylor
Copy link
Author

I raised this ticket as a result of noting the the current two-factor authentication system (which protects password resets) with new volunteers and others and observing it's not perhaps what might be expected when one says two factor authentication is a feature the system has. So I thought I'd add a ticket for discussion of a broader implementation of some form of two factor authentication.

I agree codes would be a hassle. Presumably an app or texts would be the way to go.

@mbimmler
Copy link

Ideally I think the system would offer the use of either Google Authenticator or a (flash) SMS...
Given how widespread mobile phones are even in the Global South, I think the chances of someone who is an Alaveteli super user not having access to a mobile phone that can receive SMS is fairly low - it'd at least be a good fallback if Google Authenticator is not available to someone.

@garethrees
Copy link
Member

RE: SMS, its more that there's an extra cost and complexity burden for partners in setting up a service to handle it.

@RichardTaylor
Copy link
Author

Caution two factor authentication can impact accessibility, see thread

https://twitter.com/blaine/status/1465726248873648136

It should be OK as an opt-in option though, and for administrators.

@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Jul 20, 2024

#4093 (comment)

@RichardTaylor, you mention SMS and recovery secrets. You even mention rotating authentication keys. However, instead of Google or Authy's proprietary secrets protocol, have you considered the standardized TOTP specification?

It is commonplace, and operates offline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants