GFSEC-SPLIT-GPG(1) | Gfsecret Manual | GFSEC-SPLIT-GPG(1) |
gfsec-split-gpg - Split a GnuPG primary private key
gfsec-split |
[-h|--help] [-v|--version] [-u|--user-id id] [-k|--keep] [-c|--config file] [-i|--interactive] [-n|--threshold N] URI... |
gfsec-split-gpg is a wrapper script around gfsec-split to facilitate splitting a GnuPG private primary key into a number of shares and dispatching the resulting shares onto external storage supports.
The split key can then be temporarily reconstructed gfsec-use(1).
This script will only work with GnuPG 2.1 or higher. It will abort before attempting anything if it cannot detect a binary for the correct GnuPG version.
gfsec-split-gpg alice \
file:///home/alice/.local/share/gfsecret/mykey \
label://USBSTICK/mykey \
mtp://RF2GB6X704P/Documents/mykey \
The above example will split Alice's primary private key into three shares: one on the local filesystem, one on the USB mass storage device with the label USBSTICK, and one on the MTP-compliant device with the serial RF2GB6X704P. A configuration file will be written in $XDG_CONFIG_HOME/gfsecret/mysecret allowing to automatically reconstruct the file with gfsec-use(1) provided at least one of the two removable supports are present.
Report bugs to Damien Goutte-Gattat.
Copyright © 2017 Damien Goutte-Gattat
This program is released under the GNU General Public License. See the COPYING file in the source distribution or http://www.gnu.org/licenses/gpl.html.
2017-08-26 | gfsecret 0.5.0 |