12 releases

0.5.4 Aug 18, 2021
0.5.3 Dec 20, 2020
0.4.0 Sep 25, 2020
0.3.1 Apr 18, 2020
0.1.1 Feb 20, 2018

#6 in #ssb

Download history 1/week @ 2024-07-17 12/week @ 2024-07-24 3/week @ 2024-09-18 14/week @ 2024-09-25 19/week @ 2024-10-02

55 downloads per month
Used in 2 crates

LGPL-3.0

13KB
197 lines

SSB-Keyfile

Keyfile operations for ssb: Read keys from a keyfile and create new keyfiles.

Creates and reads keyfiles that are compatible with the js ssb implementation.

let keypair = ssb_keyfile::generate_at_path("/path/to/secret")?;

let keypair = ssb_keyfile::read_from_path("/path/to/secret")?;
cargo install ssb-keyfile --all-features
ssb-keyfile new --path ~/.ssb-foo/secret
ssb-keyfile new --path ~/.ssb-bar/secret --secret XQfgelZViM6npy...

lib.rs:

Read ssb keyfiles, as created by the js implementation.

Re-exports [Keypair] from the ssb-crypto crate.

Dependencies

~3–4MB
~79K SLoC