By the way, has anybody tried to crack P(Y) code using a kind of "rainbow table"? (I'm not advocating that ofc, just curious...) I mean, it gets it's security because the parameters to its generating function are not known. But the function repeats after about a week, and presumely can't be changed due to the large numbers of legacy devices in the field. So you could just record the whole signal for a week (I did a back of the envelope calculation some time ago and it would be about a TB IIRC). Then just build some kind of index, and after recording a few seconds, you can find your position in the code, and syncronize to it.
Also, I've been wondering, how effective the old scheme with a secret military and a public code was - certainly an old GPS reciever shows up sometimes at a military surplus store. I wouldn't be surprized if enemy nations bought one of those, and extracted the secret parameters from the now quite old chips using modern technology.