adarmiento commented on a change in pull request #3664: NIFI-6536 
EncryptContent accepts configurable PGP symmetric cipher
URL: https://github.com/apache/nifi/pull/3664#discussion_r317791071
 
 

 ##########
 File path: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EncryptContent.java
 ##########
 @@ -202,12 +216,38 @@ private static AllowableValue 
buildDefaultWeakCryptoAllowableValue() {
                 "if unsafe combinations of encryption algorithms and passwords 
are provided on a JVM with limited strength crypto. To fix this, see the Admin 
Guide.");
     }
 
+    private static AllowableValue[] buildPgpSymmetricCipherAllowableValues() {
+        // Note: the provided PGPUtil.getSymmetricCipherName() is unfeasible 
since it hides the key length in the cipher name
+        List<AllowableValue> allowableValues = new ArrayList<>();
+
+        Field[] fields = SymmetricKeyAlgorithmTags.class.getDeclaredFields();
 
 Review comment:
   I was puzzled by this behavior the same way. thanks for the feedback, I'm 
working on it

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to