No description
Find a file
2021-03-29 10:09:34 +11:00
.github/workflows Don't use nightly 2021-03-25 11:38:06 +11:00
src Update comment 2021-03-29 10:09:34 +11:00
.gitignore Add file storage & retrieval tests 2021-03-19 11:18:03 +11:00
.rustfmt.toml Add .rustfmt.toml 2021-03-25 10:56:16 +11:00
Cargo.lock Use integer IDs for files 2021-03-26 15:24:02 +11:00
Cargo.toml Use integer IDs for files 2021-03-26 15:24:02 +11:00
LICENSE Add license 2021-03-22 16:36:03 +11:00
README.md Update README 2021-03-25 13:20:44 +11:00

example workflow

Requirements

Dependency Version
rustup 1.50.0
openssl 1.1.1

Setup

Step 1: Generate an X25519 key pair

openssl genpkey -algorithm x25519 -out x25519_private_key.pem
openssl pkey -in x25519_private_key.pem -pubout -out x25519_public_key.pem

Make sure you're pointing to the right openssl installation (e.g. macOS provides an old default implementation that doesn't have the X25519 algorithm).

Step 2: Build the project

cargo build

The Linux Rust installer assumes that you already have a C linker installed. If this is not the case you'll see error: linker 'cc' not found. To fix this, run:

apt update
sudo apt install build-essential

Step 3: Run it

cargo run --release