<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: EncryptContentPGP which version gpg in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/EncryptContentPGP-which-version-gpg/m-p/391362#M247583</link>
    <description>&lt;P&gt;HI Matt, thanks for your reply and info shared. We did some changes, so now signing then encrypting the files:&lt;/P&gt;&lt;P&gt;signing&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave0x1_0-1722860848998.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41356i76AF9CFD83ECFBE4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave0x1_0-1722860848998.png" alt="Dave0x1_0-1722860848998.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;encrypting&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave0x1_1-1722860892430.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41357iC1F31138802FECB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave0x1_1-1722860892430.png" alt="Dave0x1_1-1722860892430.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When our next system tries to decrypt the file we get this error:&lt;/P&gt;&lt;P&gt;gpg: encrypted with unknown algorithm 183&lt;/P&gt;&lt;P&gt;gpg: decryption failed: Invalid cipher algorithm&lt;/P&gt;&lt;P&gt;Googling on this, encrypted with unknown algorithm 183, doesn't really give anything usefull.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So were trying to figure out, if the issues we're facing is nifi related or on the decrypting side.&lt;/P&gt;&lt;P&gt;Any idea's would help.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Aug 2024 12:31:11 GMT</pubDate>
    <dc:creator>Dave0x1</dc:creator>
    <dc:date>2024-08-05T12:31:11Z</dc:date>
    <item>
      <title>EncryptContentPGP which version gpg</title>
      <link>https://community.cloudera.com/t5/Support-Questions/EncryptContentPGP-which-version-gpg/m-p/391264#M247539</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Now for something totally different &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; we need to encrypt and decrypt some files for a flow we are working on. Initially gpg was configured on a linux server and we want to move this functionality to nifi.&lt;/P&gt;&lt;P&gt;On the linux server we are using this version of gpg:&lt;/P&gt;&lt;P&gt;gpg (GnuPG) 2.0.22&lt;BR /&gt;libgcrypt 1.5.3&lt;/P&gt;&lt;P&gt;We encrypt a test file and get a file with a size of 656 bytes. This file can be decrypted by the next system that needs to process this file.&lt;/P&gt;&lt;P&gt;We configure nifi as follow:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave0x1_0-1722520519971.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41332i3B24CED9DD41E25E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave0x1_0-1722520519971.png" alt="Dave0x1_0-1722520519971.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When reading the same file in the flow, all goes well and we send the output to the next system. Which unfortunately fails to decrypt the file. They get an invalid key length error. So I checked the file size from nifi and looks like 394 bytes only.&lt;/P&gt;&lt;P&gt;The keyring files used in public key service is an export from the linux system. Which should work fine. Passphrase and all are the same.&lt;/P&gt;&lt;P&gt;So we were wondering which gpg is being used by nifi??? Could it be a version compatibility issue? or something else.&lt;/P&gt;&lt;P&gt;Any tips would be very helpfull &lt;span class="lia-unicode-emoji" title=":nerd_face:"&gt;🤓&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 14:00:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/EncryptContentPGP-which-version-gpg/m-p/391264#M247539</guid>
      <dc:creator>Dave0x1</dc:creator>
      <dc:date>2024-08-01T14:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: EncryptContentPGP which version gpg</title>
      <link>https://community.cloudera.com/t5/Support-Questions/EncryptContentPGP-which-version-gpg/m-p/391266#M247540</link>
      <description>&lt;P&gt;Extra info: here is the steandaardpgppublishkeyservice configuration. gpg-pub.asc was exported from the old linux system.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave0x1_0-1722520911675.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41333i5B83E4AE36D92389/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave0x1_0-1722520911675.png" alt="Dave0x1_0-1722520911675.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 14:02:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/EncryptContentPGP-which-version-gpg/m-p/391266#M247540</guid>
      <dc:creator>Dave0x1</dc:creator>
      <dc:date>2024-08-01T14:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: EncryptContentPGP which version gpg</title>
      <link>https://community.cloudera.com/t5/Support-Questions/EncryptContentPGP-which-version-gpg/m-p/391275#M247546</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96482"&gt;@Dave0x1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-8251" target="_self"&gt;Add Encrypt and Decrypt PGP Processors and Services&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-pgp-nar/1.27.0/org.apache.nifi.processors.pgp.DecryptContentPGP/index.html" target="_blank"&gt;EncryptContentGPG&lt;/A&gt; processor functions in accordance with the openGPG specification&amp;nbsp;&lt;SPAN&gt;defined in&amp;nbsp;&lt;/SPAN&gt;&lt;A class="external-link" href="https://tools.ietf.org/html/rfc4880" target="_blank" rel="nofollow noopener"&gt;RFC 4880&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The specification has changed since then&amp;nbsp;&lt;A class="external-link" href="https://wiki.gnupg.org/rfc4880bis" target="_blank" rel="nofollow noopener"&gt;refreshed specification for OpenPGP&lt;/A&gt;&lt;BR /&gt;, which have resulted in&amp;nbsp;changes in the latest Apache NiFi 2.0 milestone releases:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/NIFI-11425" target="_self"&gt;Remove Compression from EncryptContentPGP and SignContentPGP&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 21:10:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/EncryptContentPGP-which-version-gpg/m-p/391275#M247546</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-08-01T21:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: EncryptContentPGP which version gpg</title>
      <link>https://community.cloudera.com/t5/Support-Questions/EncryptContentPGP-which-version-gpg/m-p/391362#M247583</link>
      <description>&lt;P&gt;HI Matt, thanks for your reply and info shared. We did some changes, so now signing then encrypting the files:&lt;/P&gt;&lt;P&gt;signing&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave0x1_0-1722860848998.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41356i76AF9CFD83ECFBE4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave0x1_0-1722860848998.png" alt="Dave0x1_0-1722860848998.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;encrypting&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave0x1_1-1722860892430.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41357iC1F31138802FECB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave0x1_1-1722860892430.png" alt="Dave0x1_1-1722860892430.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When our next system tries to decrypt the file we get this error:&lt;/P&gt;&lt;P&gt;gpg: encrypted with unknown algorithm 183&lt;/P&gt;&lt;P&gt;gpg: decryption failed: Invalid cipher algorithm&lt;/P&gt;&lt;P&gt;Googling on this, encrypted with unknown algorithm 183, doesn't really give anything usefull.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So were trying to figure out, if the issues we're facing is nifi related or on the decrypting side.&lt;/P&gt;&lt;P&gt;Any idea's would help.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 12:31:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/EncryptContentPGP-which-version-gpg/m-p/391362#M247583</guid>
      <dc:creator>Dave0x1</dc:creator>
      <dc:date>2024-08-05T12:31:11Z</dc:date>
    </item>
  </channel>
</rss>

