diff options
author | Richard Larocque <richard.larocque@gmail.com> | 2017-08-06 15:54:36 -0700 |
---|---|---|
committer | Richard Larocque <richard.larocque@gmail.com> | 2017-08-06 15:54:36 -0700 |
commit | b27d8c5d0af76a512fd85c4e3d83833a4b514bc8 (patch) | |
tree | e80ef5f7c39455e2f17785fc8a4fd749f97aa13f /nixos/modules/services/networking/mosquitto.nix | |
parent | 638b67146dc74b0fe606a49b9daebc921207e675 (diff) |
nixos/mosquitto: Fix instructions for password gen
Fixes https://github.com/NixOS/nixpkgs/issues/27996.
Updates instructions for generating hashes passwords for use in a
Mosquitto password file. Using `mosquitto_passwd` to generate these
hashes is a little less convenient, but the results are more likely to
be compatible with the mosquitto daemon.
As far as I can tell, the hashes generated with `mkpassd` did not work
as intended. But this may have been hidden by another bug:
https://github.com/NixOS/nixpkgs/issues/27130.
Diffstat (limited to 'nixos/modules/services/networking/mosquitto.nix')
-rw-r--r-- | nixos/modules/services/networking/mosquitto.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/mosquitto.nix b/nixos/modules/services/networking/mosquitto.nix index 5451500b56f6..81915b5a2ef8 100644 --- a/nixos/modules/services/networking/mosquitto.nix +++ b/nixos/modules/services/networking/mosquitto.nix @@ -125,8 +125,8 @@ in description = '' Specifies the hashed password for the MQTT User. <option>hashedPassword</option> overrides <option>password</option>. - To generate hashed password install <literal>mkpasswd</literal> - package and run <literal>mkpasswd -m sha-512</literal>. + To generate hashed password install <literal>mosquitto</literal> + package and use <literal>mosquitto_passwd</literal>. ''; }; |