Passengers travelling between European Union countries or taking domestic flights would have to hand over a mass of personal information, including their cellphone numbers and…