Legislative proposal could sanction excessive secrecy.