A few days before the presidential election in France this year, documents purported to contain unverified information that was damaging to Emmanuel Macron’s campaign were leaked online, just before a nationwide moratorium on media election coverage began.