Crates.io | horcrust |
lib.rs | horcrust |
version | 1.2.1 |
source | src |
created_at | 2023-08-06 06:08:49.812244 |
updated_at | 2023-09-19 18:26:48.990002 |
description | Horcrust is a command-line-tool which splits a file into encrypted shards for safekeeping. As long as the specified threshold is met, a user can resurrect their original file at any time - no password necessary. |
homepage | |
repository | |
max_upload_size | |
id | 936947 |
size | 65,143 |
Horcrust is a command-line-tool which splits a file into encrypted shards for safekeeping. As long as the specified threshold is met, a user can resurrect their original file at any time - no password necessary.
This project is a Rust implementation of the original horcrux
Horcrust only has 2 commands split
and bind
.
Splitting
horcrust split classified.txt --shards 4 --threshold 2
The split command supports standard input!
cat ../files/classified.txt | horcrust split --shards 4 --threshold 2
You can specify where the shards can be placed using the optional directory
argument
horcrust split classified.txt --shards 4 --threshold 4 --destination ../../documents/stash
Binding When you're ready to recover your secret do the following.
horcrust bind ../secrets
Homebrew
brew tap codycline/taps
brew install codycline/taps/horcrust
Chocolatey
choco install horcrust
Crates
cargo install horcrust
Install directly
Download latest release for your system.
Unpack the compressed archive into your bin folder
sudo tar -xf ./Downloads/horcrust-VERSION-x86_64-unknown-linux-musl.tar.gz
horcrust --directory ~/usr/local/bin
cargo clippy
cargo test -- --test-threads=1