pub type ExternalSign = Box<dyn Fn(&[u8]) -> Result<[u8; 64], String> + Send + Sync>;
Signs a key-proof statement as the session, inside the keystore (never exported).
pub struct ExternalSign(/* private fields */);