How a bureaucrat in a struggling country at the edge of Europe found himself safeguarding the world’s data