horcrust

Crates.iohorcrust
lib.rshorcrust
version1.2.1
sourcesrc
created_at2023-08-06 06:08:49.812244
updated_at2023-09-19 18:26:48.990002
descriptionHorcrust 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
id936947
size65,143
Cody Cline (CodyCline)

documentation

README

Horcrust

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

Usage

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

Installation

Homebrew

brew tap codycline/taps
brew install codycline/taps/horcrust

Chocolatey

chocolatey

choco install horcrust

Crates

crates.io

cargo install horcrust

Install directly

  1. Download latest release for your system.

  2. 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

Testing

cargo clippy
cargo test -- --test-threads=1
Commit count: 0

cargo fmt