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

EncryptContent processor should accept keyring file or individual key file for PGP encryption/decryption

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.6.0, 0.5.1
    • Fix Version/s: None
    • Component/s: Core Framework
    • Labels:
      None

      Description

      As reported on the mailing lists [1], prior to 0.5.1, users could provide the path to an individual PGP public key file (i.e. exportedPublicKey.asc) as the Public Keyring File property in the EncryptContent processor. With NIFI-1324, the handling of the keyring files became more strict. While this follows the explicit naming of the property, some users may have individual keys rather than the keyring file.

      Add logic to support individual key handling for public and secret keys in EncryptContent processor via OpenPGPKeyBasedEncryptor.

      [1] http://mail-archives.apache.org/mod_mbox/nifi-dev/201603.mbox/%3cCAF3PKSz8Cdis5pVjnNM_QwoCTL6pohR2gw-uDNt0H2nfSe36tQ@mail.gmail.com%3e

        Issue Links

          Activity

          Hide
          alopresto Andy LoPresto added a comment -

          This issue is not scheduled for work at the moment. Is this blocking you? You should be able to create a keyring file from the individual key(s) and use this without any code modifications.

          Show
          alopresto Andy LoPresto added a comment - This issue is not scheduled for work at the moment. Is this blocking you? You should be able to create a keyring file from the individual key(s) and use this without any code modifications.

            People

            • Assignee:
              alopresto Andy LoPresto
              Reporter:
              alopresto Andy LoPresto
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

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

                  Development