freedombone-keydrive(1)

NAME
freedombone-keydrive - Copies your gpg keyring, or a fragment of it, to an attached drive

SYNOPSIS
freedombone-keydrive -u [username] -d [device] --master [yes/no] -n [no of fragments] [--format yes]

DESCRIPTION
The primary aim of this is to ensure that there is not much chance of you losing your gpg key and not being able to get it back. Losing your key could be due to hardware failure, fire, theft, natural disaster, war, etc. Even if you are planning to make a new gpg key you may still need the old one in order to first recover your data from encrypted backup. The command can be used to make a copy of your entire gpg keyring, or a fragment of it (split key). For the split key situation this command breaks up the gpg key of the given user into a number of fragments (the default is 3) then copies a randomly selected fragment onto an attached drive (typically a USB thumb drive). Drives can then be kept in different locations or given to friends for safekeeping. If you later lose your key, or if your server is destroyed, then it can be reconstructed as part of the interactive installer sequence if you ask your friends for the drives containine the key fragments. The security model of this system assumes that more than a threshold number of friends will not all decide to collude against you at the same time - or if they do then it will be for reasons that are in your best interests (i.e. an "intervention" situation if you are incapacitated).

Examples
To create a key fragment:
    freedombone-keydrive -u myusername -d sdb To backup your entire keyring:
    freedombone-keydrive -u myusername -d sdb --master Optionally you can also format the drive as LUKS at the same time. If you do this then make sure the drive contains no valuable data before reformatting it. You will be asked to enter a password for the drive.
    freedombone-keydrive -u myusername -d sdb --master --format yes

BUGS
Report bugs at https://github.com/bashrc/freedombone/issues

AUTHOR
Bob Mottram <bob@freedombone.net>
PGP/GPG: EA982E38
Web: https://freedombone.net