Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8319

EncryptContent should support decrypting AES/CBC/NoPadding

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.13.0
    • 1.14.0
    • Security

    Description

      The EncryptContent Processor current supports AES_CBC as an option for the Encryption Algorithm property. This option translates to the use of AES/CBC/PKCS7Padding as the cipher algorithm for encryption or decryption.

      Supporting decryption using AES/CBC/NoPadding will allow integration with external systems requiring the use of that particular cipher algorithm. Encryption support for AES/CBC/NoPadding is not recommended due to potential padding vulnerabilities in AES-CBC as well as the requirement for padding input to match the required cipher block size.

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h