Replies: 2 comments 1 reply
-
Hey! Thank you for the feedback.
Notesnook's login is fundamentally different than other systems in that your password is used not only to authenticate but also to encrypt. The new login flow moves password to the end to completely disable an attacker from brute-forcing their way into a user's account.
This is mitigated by always prompting for 2FA regardless of whether an account exists or not. An attacker would have no way to accurately distinguish between an existing account & a non-existing account.
Yes but I don't think that is a security risk. The attacker has no way of knowing if anything is actually happening unless they have access to the 2FA device. To mitigate spamming risk, we have added rate limits & in the future we can add rolling lockouts if a user requests too many 2FA codes.
I agree. That is exactly why we added the new login flow. It protects users' notes & also doesn't leak any information. Please note that we didn't add this on a whim. There are drawbacks to this approach and it can certainly be improved. |
Beta Was this translation helpful? Give feedback.
-
Currently, you can identify if an account exists by entering it in the sign-up page. If an account exists, it says "Email is invalid or already taken". So you can use that in the login flow to start sending emails with 2FA codes. |
Beta Was this translation helpful? Give feedback.
-
Can we revert the "New Login Flow" introduced by #1477 where you:
Security-wise, this is worst than the standard practice of prompting email and password at the same time, then prompting for second factor. There is a good reason why majority of systems do not go this route:
Security is not about protecting access to your account and your notes. It's also about not leaking any information about accounts in the system.
Beta Was this translation helpful? Give feedback.
All reactions