xvrl commented on a change in pull request #11363:
URL: https://github.com/apache/druid/pull/11363#discussion_r652119258
##########
File path: core/src/main/java/org/apache/druid/crypto/CryptoService.java
##########
@@ -113,6 +113,7 @@ public CryptoService(
SecretKey tmp = getKeyFromPassword(passPhrase, salt);
SecretKey secret = new SecretKeySpec(tmp.getEncoded(), cipherAlgName);
+ @SuppressWarnings("InsecureCryptoUsage")
Review comment:
error-prone warns if the ciphers are not compile-time constants that it
can inspect for insecure defaults.
In our case our defaults are secure, but I can add a comment if that helps.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]