Crates.io | ssb-keyfile |
lib.rs | ssb-keyfile |
version | 0.5.4 |
source | src |
created_at | 2018-02-20 13:03:52.848486 |
updated_at | 2021-08-18 11:42:06.942808 |
description | Keyfile operations for ssb. |
homepage | |
repository | https://github.com/sunrise-choir/ssb-keyfile-rs |
max_upload_size | |
id | 52045 |
size | 37,923 |
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...