esapi-java-legacy
esapi-java-legacy copied to clipboard
Fix code scanning alert - tracker 3
This "feature" needs to be kept for legacy reasons, but research to see if we can include some logging here.
Tracking issue for:
- [ ] https://github.com/ESAPI/esapi-java-legacy/security/code-scanning/3
Looking at this again, the simple thing would be to log something directly from CipherSpec
, but I'd prefer not to tightly couple that class with the ESAPI Logger for that one item. If we make the assumption that now is using the CipherSpec class directly for encrypting / decrypting, but instead it is only used via the ESAPI Encryptor (which seems like a reasonable assumption), then it would preferred that JavaEncryptor do the logging. Will create a new GitHub issue to log ECB there.