The Right to Information (RTI) Act, 2005 overrides the Official Secrets Act, 1923 in certain circumstances. The RTI Act empowers citizens to seek information from public authorities, which increases transparency and accountability in government functioning. However, the Official Secrets Act, 1923, was enacted to protect government secrets related to national security, defense, and diplomacy.
The RTI Act provides that information relating to government functioning can be disclosed unless it pertains to matters that affect national security, defense, or similar sensitive areas, which are covered by the Official Secrets Act. This means the RTI Act provides a legal mechanism for citizens to request information, subject to restrictions for security-related matters.
Therefore, the Right to Information Act is the correct answer.