ZNC: Difference between revisions

imported>Mth
mNo edit summary
imported>Mth
znc --makepass generates a hash, not a password
Line 17: Line 17:
==Clients==
==Clients==


Generate a password with:
Choose a password, and extract a hash with:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
$ nix-shell --packages znc --command "znc --makepass"
$ nix-shell --packages znc --command "znc --makepass"
Line 29: Line 29:
     Admin = true;
     Admin = true;
     Pass.password = {
     Pass.password = {
       Method = "sha256"; # Fill out this section with the generated password.
       Method = "sha256"; # Fill out this section
       Hash = "...";
       Hash = "...";     # with the generated hash.
       Salt = "...";
       Salt = "...";
     };
     };