A bash script, based on pwgen
, used to quickly generate secure, random salts for Wordpress-based projects.
- pwgen: Get it here or build from source
- Clone repo:
cd && git clone https://github.com/alexstewartja/genwpsalts.git && cd genwpsalts
- Setup symlink (may need to run as sudo):
update-alternatives --install /usr/bin/genwpsalts genwpsalts ~/genwpsalts/genwpsalts.sh 1
- Execute as needed:
genwpsalts
- Allow for generation of salts in YAML format