[−][src]Crate ssb_keyfile
Read ssb keyfiles, as created by the js implementation.
Structs
Keypair | A public/secret long-term key pair. |
Enums
KeyFileError | The reasons why reading keys from a file can fail. |
Traits
AsBytes | Types which are safe to treat as an immutable byte slice. |
Functions
keys_from_str | Load keys from the string contents of a js ssb secret file. |
load_keys_from_path | Read the key file at the given path and parse the keys from it. |
new_keyfile_string | Create a string containing the content of a new secret file for the given keys, in js ssb commented-json format. |
Derive Macros
AsBytes |