On 28 April 2020 22:31:49 CEST, berisla...@gmail.com
>Hi, I have just trying out the library,
> but have ran into a strange
>straight away. I'm just following the steps from the basic tutorial:
This tutorial: https://passlib.readthedocs.io/en/stable/
>>>> from passlib.hash import pbkdf2_sha256
Please read this line in the tutorial again. You're missing something essential.
Try to copy paste it from the tutorial first.
>Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
>line 1795, in __init__
> super(HasRounds, self).__init__(**kwds)
>line 1417, in __init__
> raise TypeError("no salt specified")
>TypeError: no salt specified
>I've tried it in Python versions 3.6, 3.7 and 3.8, in pristine new
>virtualenvs... Any ideas what am I doing wrong here?
I like it that you've tried multiple things to narrow the problem down. Unfortunately it has nothing to do with the python version.
Sent from my Android device with K-9 Mail. Please excuse my brevity.