Earlier quoted context omitted.
The first is a good idea, but the second is not. Voter ID cards are historically used to make it harder to vote and thus compromise elections. In person fraud is very uncommon, and it would be very difficult for a foreign government to pull off a large scale interference without being detected. After all, we struggle to get people to show up to vote once already! The idea of mass ballot fraud seems difficult to count…
Voting requires ID in almost every other western democracy, including Canada. The rest of the world see it as very reasonable to identify yourself at a polling station. It's odd that this is so contentious in the US. https://en.wikipedia.org/wiki/Voter_ID_laws
It sounds like a good idea in theory, but in practice - specifically in the United States - requiring ID for registered voters at the polling station is used by the Republican Party for the sole purpose of disenfranchising Democratic voters.