Expand description
Read-only C Tor service key store implementation
See CTorServiceKeystore for more details.
Re-exportsΒ§
use crate::keystore::ctor::CTorKeystore;πuse crate::keystore::ctor::err::CTorKeystoreError;πuse crate::keystore::ctor::err::MalformedServiceKeyError;πuse crate::keystore::fs_utils::FilesystemAction;πuse crate::keystore::fs_utils::FilesystemError;πuse crate::keystore::fs_utils::checked_op;πuse crate::keystore::EncodableItem;πuse crate::keystore::ErasedKey;πuse crate::keystore::KeySpecifier;πuse crate::keystore::Keystore;πuse crate::keystore::KeystoreId;πuse crate::raw::RawEntryId;πuse crate::CTorPath;πuse crate::KeyPath;πuse crate::KeystoreEntry;πuse crate::KeystoreEntryResult;πuse crate::Result;πuse crate::UnrecognizedEntry;πuse crate::UnrecognizedEntryError;πuse fs_mistrust::Mistrust;πuse tor_basic_utils::PathExt as _;πuse tor_error::internal;πuse tor_key_forge::KeyType;πuse tor_key_forge::KeystoreItemType;πuse tor_llcrypto::pk::ed25519;πuse tor_persist::hsnickname::HsNickname;πuse std::io;πuse std::path::Path;πuse std::path::PathBuf;πuse std::result::Result as StdResult;πuse std::str::FromStr;πuse std::sync::Arc;πuse itertools::Itertools;πuse walkdir::WalkDir;π
MacrosΒ§
- parse_
ed25519 π - Helper for parsing C Torβs ed25519 key format.
- rel_
path_ πif_ supported - Extract the key path (relative to the keystore root) from the specified result
res, or return an error.
StructsΒ§
- CTor
Service Keystore - A read-only C Tor service keystore.
FunctionsΒ§
- parse_
ed25519_ πkeypair - Helper for parsing C Torβs ed25519 keypair format.
- parse_
ed25519_ πpublic - Helper for parsing C Torβs ed25519 public key format.