It seems that it's only used to cover potentially illegal things that the administration/military/etc don't want to talk about with the public, rather than because it would actually harm the nation to talk about them (except, of course, that people might tell them no).
Mind you, I don't disagree that some unsavory things get hidden behind that curtain. I wouldn't even disagree that the majority of things hidden behind that curtain in modern times may be unsavory. Unfortuantely, the solution isn't as simple as just removing the curtain.
The militarily valuable secret is that the Normandy plan was that that was the one the Allies were counting on. There were other plans, for example the plans for the invasion of Sicily surreptitiously delivered into German hands by Operation Mincemeat. Or plan to attack from Norway using Edinburgh as a staging post as part of Operation Fortitude was another candidate. But the existence of the plan is the
You do lose some military information. If the enemy knows you have the capability to track someones movements based on his phone number, they are likely to take mitigating measures. But without revealing this capability, its impossible to have a democratic debate on the appropriate safeguards necessary.
I would call cellphone tracking an open-secret: everyone that would benefit from the knowledge already had guessed it, but the government was denying it to the citizens for their own benefit.
After all the judges go trough a lot of vetting and rigorous confirmation process so probably they do have enough clearance to be kept in the loop.
But the person that keeps the information secret should not the one that makes the rules what is secret.