nix-bitcoin/pkgs/generate-secrets
Erik Arvstedt a359cdfb66
generate-secrets: use pwgen
Password length and alphabet is unchanged, but the restriction to
include at least one numeric and one capital char has been removed.
This restriction is not needed by client applications,
adds code complexity, and even (insignificantly) reduces entropy.

Reason for switching to pwgen:
apg uses /dev/random instead of /dev/urandom which brings no security
benefits but can stall the generate-secrets script on low-entropy
devices due to blocking.

Since `security.rngd` has been disabled in NixOS 20.09, blocking
in generate-secrets can also appear on regular NixOS desktop systems.
2020-12-18 19:56:56 +01:00
..
default.nix generate-secrets: use pwgen 2020-12-18 19:56:56 +01:00
generate-secrets.sh generate-secrets: use pwgen 2020-12-18 19:56:56 +01:00
openssl.cnf lightning-loop: update module 2020-09-24 16:40:11 +00:00
update-and-generate.nix simplify secrets file format 2020-01-13 00:25:11 +01:00
update-secrets.sh electrs: remove TLSProxy 2020-07-21 13:41:03 +00:00