Why does application-level encryption not replace TLS, and what should testers inspect around secrets?
Answer
TLS protects transport, authenticates endpoints and provides integrity across the connection; ad hoc payload encryption rarely replaces those properties. Verify certificate handling, secure storage, rotation, least privilege and that logs, reports and client code expose no secrets.
Strong answer includes
- transport authentication and integrity
- secret lifecycle
- log and client exposure
Practical example
A QA engineer testing a fintech API found that while TLS secured the connection, the API key was hardcoded in a mobile app's decompiled bundle and also printed in debug logs during a failed request. The fix required moving the key to a backend proxy and scrubbing logs of sensitive headers.