G
G
GADARUKU2018-07-07 05:50:14
Python
GADARUKU, 2018-07-07 05:50:14

How to generate "doveadm pw -s SHA512-CRYPT" in Python?

dovecot generates password hashes like this:
doveadm pw -s SHA512-CRYPT
How to generate the same hash in python for example? So that you can just add it to the database right away.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2018-07-07
@Zarom

passlib.readthedocs.io/en/stable/lib/passlib.hash....
Or
mkpasswd: https://stackoverflow.com/questions/34463134/sha-5...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question