Objective
Generate random word passphrase for Bitcoin wallet on Linux system.
Operating System and Software Versions
- Operating System: – Linux Distribution Agnostic
Requirements
Privileged access to your Linux system may be required to install wordlist file.
Difficulty
EASY
Conventions
- # – requires given linux commands to be executed with root privileges either directly as a root user or by use of
sudo
command - $ – requires given linux commands to be executed as a regular non-privileged user
Instructions
Prerequisites
First, install prerequisites packages:
UBUNTU / DEBIAN # apt install wamerican-small git CENTOS / REDHAT: # yum install words git FEDORA: # dnf install words git
Obtain bitcoin-passphrase-generator.sh
Use git to clone bitcoin-passphrase-generator
git repository:
$ git clone https://github.com/linuxconfig/bitcoin-passphrase-generator.git $ cd bitcoin-passphrase-generator/
Generate random Bitcoin passphrase
While in bitcoin-passphrase-generator
directory, you can now execute the script to generate specified number of random keywords.
The script accepts a single argument which is used to determine the number of random words required to generate. For example:
Generate five random keywords:
$ ./bitcoin-passphrase-generator.sh 5 Generating a random word list from 62887 words: squabble segregation massive hosannas novellas
Generate ten random keywords:
$ ./bitcoin-passphrase-generator.sh 10 Generating a random word list from 62887 words: sodded suspenseful restructures drum barrage porpoises iced feels capitalizes battening