|
|
|
|
|
by Someone1234
4157 days ago
|
|
In DEBUG level it is fine to log decrypted content, it is not a security concern, and is quite welcome. If you're using DEBUG level logging in production, that is the security concern. The functionality isn't. The argument "what if the bad guy can change the logging level?!" is pretty weak, if such a person could change such a thing, they could also change a lot of even worse things and likely make that just the tip of the iceberg. Seems like your mental model of the security is a little off. If the system is compromised your Java XML encryption library isn't going to save you, in particular as you have to be storing the private keys on the same system. |
|