How do I generate secure password hashes (bcrypt or blowfish) for use in basic authentication in nginx?
" Unix only. Uses the traditional Unix crypt(3) function with a randomly-generated 32-bit salt (only 12 bits used) and the first 8 characters of the password. Insecure."
The server's latest packages uses apache 2.2 instead of 2.4 (which introduces bcrypt). Would it be possible to generate bcrypt password hashes outside of the server (on my local machine) and then write it on the server's .htpasswd file? And does nginx even support bcrypt hashes? The ticket is unclear to me.