In Germany there are only a few crimes that take away your voting rights and I am fine with these:
preparation of a war of aggression and high treason against the Federation
treason and disclosure of state secrets with intent to cause damage
attacks against organs and representatives of foreign states
disruption of election process and falsification of election documents
bribing delegates
sabotage against means of defence or intelligence activity endangering national security (provided that a sentence of imprisonment is imposed for at least one year in this case).