Quantum secrecy in thermal states