View Single Post
  #1   (View Single Post)  
Old 13th January 2017
anigma anigma is offline
New User
 
Join Date: Jan 2017
Posts: 4
Default Hashed scrypt passwords with pure-ftpd

Lately I've been trying to set up pure-ftpd with virtual user support in MariaDB and hashed scrypt passwords. Has anyone else achieved this?

I hash the passwords in python 3.5 using the libsodium bindings (pysodium) as per instructed from the README.MySQL file (https://download.pureftpd.org/pub/pu...c/README.MySQL <- read the SCRYPT part).

I then store the hashed password in my users table, ie. "$7$C6..../....YzvCLmJDYJpH76BxlZB9fCpCEj2AbGQHoLiG9I/VRO1$/enQ.o1BNtmxjxNc/8hbZq8W0JAqR5YpufJXGAdzmf3".

However, I still get a 503 authentication failed response and syslogd does not really give any indication on where the fault lies. I've also enabled query logging to check wether pure-ftpd actually does it correct, and so far it looks good.

Any takes on what I could be doing wrong?
Reply With Quote