jesseduffield / horcrux-ui

GUI for horcrux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


GUI for Horcrux, made with (for the command-line version, see here)


Split your file into encrypted horcruxes so that you don't need to remember a passcode

How it works

Horcrux has two main functions: creating horcruxes and combining horcruxes

Creating horcruxes

If I have a file called diary.txt in my current directory I can select that and split it into horcruxes, creating files like so:


Now you just need to disperse the horcruxes around the house on various USBs or online locations and hope you can recall where they all are! Or send them to a friend across multiple channels so there's no risk of interception.

Combining horcruxes

On the receiving end, you can then recombine the hocruxes back together to obtain the original file.


via binary release

Who this is for:

  • People who need to encrypt a big sensitive file like a diary and don't expect to remember any passwords years from now (but who paradoxically will be capable of remembering where they've hidden their horcruxes)
  • People who want to transmit files across multiple channels to substantially reduce the ability for an attacker to intercept
  • People named Tom Riddle


Q) This isn't really in line with how horcruxes work in the harry potter universe!

A) It's pretty close! You can't allow any one horcrux to be used to resurrect the original file (and why would you that would be useless) but you can allow two horcruxes to do it (so only off by one). Checkmate HP fans.

Q) How does this work?

A) This uses the Shamir Secret Sharing Scheme to break an encryption key into parts that can be recombined to create the original key, but only requiring a certain threshold to do so. I've adapted Hashicorp's implementation from their vault repo

Alternatives (for command-line)

  • ssss. Works for keys but (as far as I know) not files themselves.
  • horcrux. Looks like somebody beat me to both the name and concept, however this repo doesn't support thresholds of horcruxes
ezoic increase your site revenue


GUI for horcrux

License:MIT License


Language:Go 100.0%