Sessionkey = md5.new(str(random.randint(0, sys.maxint - 1)) + SECRETKEY).hexdigest this is used throughout django and it often generates duplicate keys, today i spent 5 hours trying to find out what was causing my site to break and it was this (since I used this algorithm in another context without checking if a session with given key already exists).
Django Secret Key Setting
How Does Django Generate Secret Key On Youtubecommented Nov 8, 2016â¢
edited
Jwt Secret Key Generator
How Does Django Generate Secret Key West
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |