Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ditto authtool

A CLI tool and Rust library to generate authentication for devices in a Ditto mesh.

To generate a key for shared key authentication install the tool and run:

ditto-authtool generate-shared-key

Install

Prebuilt Release

Head to the Releases page and download the binary for your platform.

Mac users may need to remove the quarantine flag:

xattr -r -d com.apple.quarantine ./ditto-authtool

From Source

Ensure you have a stable Rust toolchain installed with rustup. Clone this repository and open a terminal inside it. Run:

cargo install --path . 

The ditto-authtool binary will be built and placed in your PATH (generally ~/.cargo/bin).

Library Use

The ditto-authtool crate can also be embedded in your own Rust software to automate your authentication workflows. Generate docs with cargo doc --open.

About

Generate authentication for devices in a Ditto mesh

Resources

Stars

3 stars

Watchers

35 watching

Forks

Releases

Packages

Used by

Contributors

Languages