U.S. authorities are investigating allegations that Russia tried to help Donald Trump win last year’s presidential election while Germany has raised its alert level against cyber attacks ahead of elections there in September.