Mercurial > kallithea
diff setup.py @ 6000:023d9202481e
setup: use modern bcrypt implementation instead of unsupported old one
py-bcrypt has been deprecated by bcrypt, and is no longer developed
or supported.
bcrypt requires bytestrings instead of strings, use safe_str to ensure
they're encoded before they're passed to bcrypt. Also, use check_pw
to minimise the number of manual conversions and comparisons.
Installation of bcrypt will probably compile a C extension and require
libffi-dev.
author | Andrew Shadura <andrew@shadura.me> |
---|---|
date | Sun, 03 Jul 2016 12:21:00 +0200 |
parents | 3c4b6ddf6735 |
children | b5859022ac69 |
line wrap: on
line diff