Sure, but such a problem has nothing to do with password upgrades, it can
already be triggered by registration, or even just logging in without a
password upgrade.

Alex

On Tue, Sep 22, 2015 at 2:43 PM, Tim Graham <[email protected]> wrote:

> Sorry, I explained poorly. We do upgrade passwords when the iteration
> count is increased
> https://docs.djangoproject.com/en/1.8/topics/auth/passwords/#password-upgrading
>
> If we increase the iterations to <new iterations>, when a user logs in, we
> have to hash <current iterations> to check the password against the current
> hash plus <new iterations> to store the upgraded password. If pbkdf2 is
> slow, isn't it reasonable that this could cause a CPU spike on a high
> traffic site?
>
> On Tuesday, September 22, 2015 at 1:39:12 PM UTC-4, Xof wrote:
>>
>>
>> On Sep 22, 2015, at 10:27 AM, Tim Graham <[email protected]> wrote:
>>
>> > We have access to the plain text password when the user logs in.
>>
>> Right, so we could *in theory* upgrade the user's password then if we
>> wished (not clear if we want to).  Even so, I don't think that would be a
>> DDoS-attack level problem, since it's no worse than a user resetting their
>> password.
>>
>> --
>> -- Christophe Pettus
>>    [email protected]
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/bd8df6d7-4355-427e-83b4-024482e2fdf0%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/bd8df6d7-4355-427e-83b4-024482e2fdf0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: 125F 5C67 DFE9 4084

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAFRnB2V53_3KBHWKiYLq_i1c1UGdCLtOgYZSrFviO5i9FeDQHg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to