It's a tricky balance between that and protecting the people involved from harm, as well as protecting methods that may still be of use. I think the US government is too conservative about when to release information, but in many cases even less conservative standards will result in information being withheld until most or all of the principals are dead.