pub fn load_private_key_from_data(
key_data: &str,
) -> Result<SigningKey, CryptoError>Expand description
Loads a private key from raw key data (for Cloudflare Workers)
This function is designed for use with Cloudflare Workers where secrets are accessible through the env parameter rather than standard environment variables.
§Arguments
key_data: Base64-encoded key data (PGP or raw Ed25519)
§Returns
Result<SigningKey, CryptoError>: The Ed25519 signing key or an error