Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Request MFA code to validate MFA activation #373

Open
ook opened this issue Jan 16, 2017 · 2 comments
Open

Request MFA code to validate MFA activation #373

ook opened this issue Jan 16, 2017 · 2 comments

Comments

@ook
Copy link

ook commented Jan 16, 2017

What?

When we enable MFA (multi factor authentication), cozy doesn't request any confirmation. Here the list of problems:

  • some users won't understand what this feature is and they'll lock them out of their cozy
  • some users have a bad clock setup on their device / server and won't discover it before the next login when… they'll be locked out their instance

How?

Don't enable MFA until enter a valid code from their other device.
All major service use this scheme and can be used as an exemple: heroku, github, google, etc.

@jsilvestre
Copy link
Contributor

jsilvestre commented Jan 16, 2017

Hi @ook,

You are absolutely right, this is an UX problem that is known and that we would like to fix. That being said, we won't change that in the near future since we are rewriting everything, but this is definitely the target.

The activation UI could use some better layout & explanations too!

Thank you, and sorry!

@babolivier
Copy link
Contributor

For the record, we thought of implementing such a thing, but Cozy's rewriting delayed it (the work load isn't that light, my schedule is quite busy right now, it would have been finished a few weeks (or a few months, if lucky) before the release of the new stack, which seemed a bit useless to me, I prefer waiting for the new stack).

What I had in mind was to implement a step between clicking "Enable" and actually enabling 2FA, where the user is asked for both its password (to prove it's actually him enabling 2FA and not someone using an open session) and an OTP (to ensure it's correctly configured).

I'll look into implenting this along the 2FA mechanisms once the new stack is mature enough.

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

No branches or pull requests

4 participants