Python interface to libgfsharePython interface to libgfshare.
Documentation GitHub Issues GitLab Issues PyPI project page
This Python library implements Shamir’s method for secret sharing which can be used to split an arbitrary secret into multiple parts. An arbitrary number of those parts are then needed to recover the original file, but any smaller combination of parts are useless to an attacker.
For instance, you might split a GPG key into a “3-of-5” share and put one share on each of three computers and two shares on a USB memory stick. You can can use the GPG key on any of those three computers using the memory stick, but if the memory stick is lost you can recover the key by bringing the three computers together.
Under the hood it uses Daniel Silverstone’s libgfshare library.