#ssb

bin+lib ssb-keyfile

Keyfile operations for ssb

11 unstable releases (4 breaking)

0.5.3 Dec 20, 2020
0.5.2 Dec 20, 2020
0.4.0 Sep 25, 2020
0.3.1 Apr 18, 2020
0.1.1 Feb 20, 2018

#60 in Data formats

Download history 127/week @ 2020-09-25 14/week @ 2020-10-02 38/week @ 2020-10-09 115/week @ 2020-10-16 46/week @ 2020-10-23 9/week @ 2020-10-30 15/week @ 2020-11-06 10/week @ 2020-11-13 13/week @ 2020-11-20 14/week @ 2020-11-27 20/week @ 2020-12-04 6/week @ 2020-12-11 69/week @ 2020-12-18 7/week @ 2020-12-25 16/week @ 2021-01-01 9/week @ 2021-01-08

164 downloads per month
Used in 2 crates

GPL-3.0 and AGPL-3.0

22KB
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

~1.4–2.4MB
~49K SLoC