New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mosquitto_passwd only creates (null):$6$(null)$ #1032
Comments
The first (null) should be the username. The only way this would end up as (null) is if you somehow passed a null pointer as an argument on the command line, which I'm sure isn't the case. For clarity, could you confirm which version you are using and an example command line? This is me (on Ubuntu, not FreeBSD), creating a new password file, for example: |
https://asciinema.org/a/F5hz1adeZGPrESmRbnodqwfY1 mosquitto 1.5.3 Thanks a lot for looking into it. |
How... peculiar. In that case, can you give me a hint on how to set up a comparable jail so I can do some debugging? I'm not FreeBSD literate. Would this do the job? http:https://kbeezie.com/freebsd-jail-single-ip/ |
Oh, and have you tried it outside the jail? |
I just tried. Same result. So you should be able to reproduce it with a fresh pkg install mosquitto |
I've just tried on a DigitalOcean droplet with FreeBSD 11.1. I confirm that the version from |
That is very strange. I e-mailed the FreeBSD port maintainer. Let's see what Joe comes up with. Otherwise I will have to compile it myself to get a working version... Or can you drop yours somewhere for temporary download? |
Hello, I've posted a request on the bug report that relates to the OpenSSL compat code added to this tool. Please use the bug report as a means for tracking and reporting. Best regards, |
It seems that mosquitto_passwd works in FreeBSD 12.0. The problem affects only 11.x (maybe because the openssl is older version there). |
Here is a new issue with a fix: |
This is fixed and will be in 1.5.8 today, thanks for the help everybody. |
Hi,
no matter how I use mosquitt_passwd it only creates these lines:
(null):$6$(null)$
I am running this within a jail in FreeBSD. Any idea?
Regards,
JP
The text was updated successfully, but these errors were encountered: