Skip to content

Commit 524db55

Browse files
committed
chore(pmd): enable a new rule InsecureCryptoIv from PMD 6.3.0
Quote from https://pmd.github.io/2018/04/29/PMD-6.3.0/#new-rules % The new Java rule InsecureCryptoIv (java-security) detects hard coded initialization vectors used in cryptographic operations. It is recommended to use a randomly generated IV. %
1 parent 00efc12 commit 524db55

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/config/pmd.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,4 +316,6 @@
316316
<rule ref="category/java/performance.xml/UseStringBufferForStringAppends" />
317317
<rule ref="category/java/performance.xml/UseStringBufferLength" />
318318

319+
<rule ref="category/java/security.xml/InsecureCryptoIv" />
320+
319321
</ruleset>

0 commit comments

Comments
 (0)