I get a message saying I can no longer use secret chat because the encryption information has been expired.

If you reinstall KakaoTalk or change your mobile device, your encryption key will be changed. If your encryption key is changed, you will not be able to chat in your existing secret chatrooms. You will need to start new secret chats.