simonw/datasette-auth-passwords

Increase default iterations count

Closed this issue · 3 comments

def hash_password(password, salt=None, iterations=260000):

Imitate Django here - the 4.1 alpha increases if from 320,000 to 390,000.

https://docs.djangoproject.com/en/dev/releases/4.1/#django-contrib-auth

I'm tempted to run a scraper to spot when this changes in the future and open an issue, ala https://simonwillison.net/2022/Apr/28/issue-on-changes/

I asked Carlton what the rule is for Django here: https://twitter.com/simonw/status/1526921046837719040