Expand description
Support for cookie authentication within the RPC protocol.
Re-exportsยง
use fs_mistrust::Mistrust;๐use safelog::Sensitive;๐use std::convert::Infallible;๐use std::fs;๐use std::io;๐use std::path::Path;๐use std::path::PathBuf;๐use std::str::FromStr;๐use std::sync::Arc;๐use subtle::ConstantTimeEq as _;๐use tiny_keccak::Hasher as _;๐use zeroize::Zeroizing;๐
Structsยง
- Cookie
- A secret cookie value, used in RPC authentication.
- Cookie
Auth Mac - A MAC derived during the cookie authentication protocol.
- Cookie
Auth Nonce - A random nonce used during cookie authentication protocol.
- Cookie
Location - The location of a cookie on disk, and the rules to access it.
Enumsยง
- Cookie
Access Error - An error that has occurred while trying to load or create a cookie.
- HexError
- An error when decoding a hexadecimal value.
Constantsยง
- COOKIE_
LEN - Length of an authentication cookie.
- COOKIE_
MAC_ ๐LEN - Length of the MAC values we use for cookie authentication.
- COOKIE_
NONCE_ ๐LEN - Length of the nonce values we use for cookie authentication.
- COOKIE_
PREFIX - A value used to differentiate cookie files, and as a personalization parameter within the RPC cookie authentication protocol.
- COOKIE_
PREFIX_ LEN - Length of
COOKIE_PREFIX. - TUPLEHASH_
CUSTOMIZATION ๐ - Customization string used to initialize TupleHash.