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

What about timing attacks? #4

Open
petterreinholdtsen opened this issue Jun 14, 2018 · 0 comments
Open

What about timing attacks? #4

petterreinholdtsen opened this issue Jun 14, 2018 · 0 comments

Comments

@petterreinholdtsen
Copy link

I see code in authenticate() function on this form:

  if (something)
     raise FAILED
 if (something_else)
    raise FAILED

This might make it possible to time where in the process the error was detected. Is it perhaps better to do something like this:

if (something)
   error = True
if (something_else)
  error = True
if (error)
  raise FAILURE

Or is it not needed for other reasons related to for example django?

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

No branches or pull requests

1 participant