29 releases

new 0.2.17 Feb 15, 2024
0.2.16 Oct 21, 2022
0.2.15 Sep 10, 2022
0.2.14 Jul 24, 2022
0.1.2 Jul 4, 2020
Download history 35/week @ 2023-10-22 47/week @ 2023-10-29 29/week @ 2023-11-05 3/week @ 2023-11-12 3/week @ 2023-11-19 58/week @ 2023-11-26 28/week @ 2023-12-03 57/week @ 2023-12-10 2/week @ 2023-12-17 56/week @ 2023-12-24 25/week @ 2024-01-14 26/week @ 2024-01-21 56/week @ 2024-01-28 1/week @ 2024-02-04

108 downloads per month

MIT license

14K SLoC


Build Status

Spritual successor of https://github.com/untoldwind/trustless taking over the concepts that worked, improving those that did not turned out so well and avoiding all the quirky stuff (potentially by replacing it with new quirky stuff).

Some major changes:

  • t-rust-less is a ground up rewrite in rust (as the name suggests)
  • ... which allows a much better control over memory and protecting/cleaning up sensitive data.
  • For the most part trustless tried to be compatible with gpg, t-rust-less drops this idea entirely in favor of adding some modern ciphers and key-derivations to the mix.
  • ... which essentially means that a trustless store will not be compatible with a t-rust-less whatsoever. Sorry, but an export -> import will be required.


Best use the ./build-release.sh script with will bootstrap a docker container containing all the relevant dependencies.

Otherwise you need:

  • Rust version >=1.34
  • If you want to make changes to api.capnp or secret_store.capnp you also need the Capn Proto compiler (capnpc), i.e. install capnproto package.
  • For openssl-sys perl is required


To windows (library only atm)

Building (on Archlinux)

On one needs AUR mingw-w64-gcc, mingw-w64-crt (or mingw-w64-gcc-bin, mingw-w64-crt-bin).

Add ~/.cargo/config:

linker = "/usr/bin/x86_64-w64-mingw32-gcc"
ar = "/usr/x86_64-w64-mingw32/bin/ar"
cd cli; cargo build --target x86_64-pc-windows-gnu --features crossterm_backend --no-default-features --release

(unluckily we cannot automatically toggle features based on target)

If you get an linkage error with __onexitbegin, __onexitend, most likely the crt2.o does not match:

mv ~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/crt2.o  ~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/crt2.o.bak
cp /usr/x86_64-w64-mingw32/lib/crt2.o ~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/crt2.o

To wasm (library only)


Requires emscripten.


cargo build --release --target=wasm32-unknown-emscripten


Some tests are pretty slow and will be ignored during a regular development cycle with cargo test. To run the full suit for regression:

cargo test --release


~599K SLoC