mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
nixos/mosquitto: clarify hashedPassword generation
unfortunately we cannot use other tools (like mkpasswd) instead of mosquitto_passwd because mosquitto is incompatible with the standard crypt format.
This commit is contained in:
parent
4fce894940
commit
15372dc4d4
|
@ -56,8 +56,10 @@ let
|
|||
default = null;
|
||||
description = mdDoc ''
|
||||
Specifies the hashed password for the MQTT User.
|
||||
To generate hashed password install `mosquitto`
|
||||
package and use `mosquitto_passwd`.
|
||||
To generate hashed password install the `mosquitto`
|
||||
package and use `mosquitto_passwd`, then extract
|
||||
the second field (after the `:`) from the generated
|
||||
file.
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -68,8 +70,9 @@ let
|
|||
description = mdDoc ''
|
||||
Specifies the path to a file containing the
|
||||
hashed password for the MQTT user.
|
||||
To generate hashed password install `mosquitto`
|
||||
package and use `mosquitto_passwd`.
|
||||
To generate hashed password install the `mosquitto`
|
||||
package and use `mosquitto_passwd`, then remove the
|
||||
`username:` prefix from the generated file.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue