You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "exceptionfactory (via GitHub)" <gi...@apache.org> on 2023/09/30 01:43:33 UTC
[GitHub] [nifi] exceptionfactory commented on a diff in pull request #7817: NIFI-12151 Fixed StandardPrivateKeyService fails due to missing Bounc…
exceptionfactory commented on code in PR #7817:
URL: https://github.com/apache/nifi/pull/7817#discussion_r1341877948
##########
nifi-nar-bundles/nifi-standard-services/nifi-key-service-bundle/nifi-key-service/src/test/java/org/apache/nifi/key/service/StandardPrivateKeyServiceTest.java:
##########
@@ -118,6 +134,21 @@ void testGetPrivateKeyEncryptedKey() throws Exception {
assertEquals(generatedPrivateKey, privateKey);
}
+ private static String[] encryptionAlgorithms() {
+ return new String[] {
+ AES_128_CBC,
+ AES_192_CBC,
+ AES_256_CBC,
+ DES3_CBC,
+ PBE_SHA1_RC4_128,
+ PBE_SHA1_RC4_40,
+ PBE_SHA1_3DES,
+ PBE_SHA1_2DES,
+ PBE_SHA1_RC2_128,
+ PBE_SHA1_RC2_40
Review Comment:
It is not necessary to test all of these algorithms, particularly those algorithms where the only difference is the key size. I recommend a much smaller list:
```suggestion
AES_256_CBC,
DES3_CBC
```
--
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.
To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org