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
55 downloads per month
Used in 2 crates
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