[aur-dev] [PATCH 3/4] gendummydata.py: Fix to make it less db specific

Lukas Fleischer lfleischer at archlinux.org
Wed Mar 1 19:23:04 UTC 2017


On Wed, 01 Mar 2017 at 07:46:20, Mark Weiman wrote:
> Sqlite3 does not support the MD5 function like MySQL does, instead of the
> database program hash the passwords, have Python's hashlib module do it
> instead.
> 
> Signed-off-by: Mark Weiman <mark.weiman at markzz.com>
> ---
>  schema/gendummydata.py | 15 +++++++++------
>  1 file changed, 9 insertions(+), 6 deletions(-)
> [...]

As of commit 29a4870 (Use bcrypt to hash passwords, 2017-02-24), we are
no longer hashing passwords with MD5. However, given that this is just
"dummy data" and the generated passwords do not seem to be used
anywhere, I am going to merge this to pu for now. We can still migrate
the script to use bcrypt later.


More information about the aur-dev mailing list