Skip to content

The sources for secpwgen authored by Željko Vrba - available as a package in http://alpinelinux.org

License

Notifications You must be signed in to change notification settings

itoffshore/secpwgen

Repository files navigation

secpwgen

The sources for secpwgen authored by Željko Vrba

It is recommended to run both Entropy Daemons:haveged AND rng-tools

For KVM see also virtIORNG

For hw_random Kernel Support you need to enable :

CONFIG_HW_RANDOM=m
CONFIG_HW_RANDOM_TIMERIOMEM=m
CONFIG_HW_RANDOM_INTEL=m
CONFIG_HW_RANDOM_AMD=m
CONFIG_HW_RANDOM_GEODE=m
CONFIG_HW_RANDOM_VIA=m
CONFIG_HW_RANDOM_VIRTIO=m
CONFIG_HW_RANDOM_TPM=m

Hardware randomization support can be enabled by loading one of the following kernel modules:

modprobe virtio-rng
modprobe intel-rng
modprobe and-rng
modprobe tpm-rng
modprobe via-rng
modprobe timeriomem-rng

(& add the module to /etc/modules)

All 3 applications exist as packages in Alpine Linux which also has kernel support for hw_random

Diceware phrases need to consist of 7 - 8 words to be unbreakble by current technology