fn read_signing_key<P1: AsRef<Path>, P2: AsRef<Path>>( key_path: P1, secret_path: Option<P2>, ) -> Result<SigningKey>