pub async fn load_or_generate_signing_key(
_keys_dir: &Path,
) -> Result<SigningKey>Expand description
Load or generate the Ed25519 node signing key from the configured secrets directory.
The _keys_dir parameter is retained for API compatibility but ignored; the
actual path is always resolved via HyprConfig::resolve_secrets_dir().
Resolution order:
HYPRSTREAM__SIGNING_KEY/config.signing_keytest bypass.- File at
<secrets_dir>/signing-key. - Generate new key, write to file (writable dir only).