A months-long logjam over a new U.S. government surveillance bill may be coming to an end, with Republicans offering a compromise that would let people who think they were illegally spied on by the government have their day in court — albeit a secret one.

House and Senate Republicans on Thursday unveiled their latest proposal aimed at resolving the roughly 40 civil lawsuits filed against telecommunications companies that allegedly cooperated in the so-called warrantless wiretapping program.