<?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>topic Re: Decryption failure in fabric notebook. Error: potential problem: ERROR: pkdecrypt_failed 6710887 in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Decryption-failure-in-fabric-notebook-Error-potential-problem/m-p/4214100#M4404</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp; - Thanks for the response. In our fabric/power bi workspace under worskpace spark setting, we had uploaded the 0.5.1 gnupg package.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pkumar0208_0-1727937826223.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1177296i0C3EB0AA1C2DDA85/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pkumar0208_0-1727937826223.png" alt="pkumar0208_0-1727937826223.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2024 06:48:06 GMT</pubDate>
    <dc:creator>pkumar0208</dc:creator>
    <dc:date>2024-10-03T06:48:06Z</dc:date>
    <item>
      <title>Decryption failure in fabric notebook. Error: potential problem: ERROR: pkdecrypt_failed 67108876</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Decryption-failure-in-fabric-notebook-Error-potential-problem/m-p/4205424#M4361</link>
      <description>&lt;P&gt;In our fabric environment, we use pyspark(Python) to decrypt the pgp files that is placed in fabric lakehouse. When we try to decrypt the files from fabric notebook via below command, we are unable to decypt the pgp file that is encrypted.&lt;/P&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;with&lt;/SPAN&gt; &lt;SPAN&gt;open&lt;/SPAN&gt;&lt;SPAN&gt;(pgp_file_path, &lt;/SPAN&gt;&lt;SPAN&gt;'rb'&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; pgp_file:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; decrypted_data = gpg.decrypt_file(pgp_file, &lt;/SPAN&gt;&lt;SPAN&gt;passphrase&lt;/SPAN&gt;&lt;SPAN&gt;=passphrase, &lt;/SPAN&gt;&lt;SPAN&gt;output&lt;/SPAN&gt;&lt;SPAN&gt;=output_file_path )&lt;BR /&gt;&lt;BR /&gt;Error Message:&lt;BR /&gt;potential problem: ERROR: pkdecrypt_failed 67108876&lt;BR /&gt;gpg returned a non-zero error code: 2&lt;BR /&gt;&lt;BR /&gt;Note:&lt;BR /&gt;1. We are able to decrypt the file manually in windows using pgp tool&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;2. We are able to&amp;nbsp;decrypt the pgp file when the same code is ran in our local machine&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;3. We are using python-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;gnupg version of 0.5.1 tried upgrading to 0.5.3 version still same error&lt;BR /&gt;&lt;BR /&gt;Any suggestion or thoughts on this?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Oct 2024 05:46:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Decryption-failure-in-fabric-notebook-Error-potential-problem/m-p/4205424#M4361</guid>
      <dc:creator>pkumar0208</dc:creator>
      <dc:date>2024-10-01T05:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Decryption failure in fabric notebook. Error: potential problem: ERROR: pkdecrypt_failed 6710887</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Decryption-failure-in-fabric-notebook-Error-potential-problem/m-p/4211735#M4386</link>
      <description>&lt;P&gt;&lt;FONT&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/768718"&gt;@pkumar0208&lt;/a&gt;&amp;nbsp;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;decrypted_data = &lt;STRONG&gt;gpg&lt;/STRONG&gt;.decrypt_file(pgp_file,&amp;nbsp;passphrase=passphrase,&amp;nbsp;output=output_file_path )&lt;/DIV&gt;
&lt;DIV&gt;How do you initialize gpg in the pyspark environment of fabric, I'm stuck here.&lt;BR /&gt;If anyone else would like to suggest something, please feel free to do so here.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Best Regards,&lt;BR /&gt;Gao&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Community Support Team&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Oct 2024 09:59:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Decryption-failure-in-fabric-notebook-Error-potential-problem/m-p/4211735#M4386</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-02T09:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Decryption failure in fabric notebook. Error: potential problem: ERROR: pkdecrypt_failed 6710887</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Decryption-failure-in-fabric-notebook-Error-potential-problem/m-p/4214100#M4404</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp; - Thanks for the response. In our fabric/power bi workspace under worskpace spark setting, we had uploaded the 0.5.1 gnupg package.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pkumar0208_0-1727937826223.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1177296i0C3EB0AA1C2DDA85/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pkumar0208_0-1727937826223.png" alt="pkumar0208_0-1727937826223.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 06:48:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Decryption-failure-in-fabric-notebook-Error-potential-problem/m-p/4214100#M4404</guid>
      <dc:creator>pkumar0208</dc:creator>
      <dc:date>2024-10-03T06:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Decryption failure in fabric notebook. Error: potential problem: ERROR: pkdecrypt_failed 6710887</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Decryption-failure-in-fabric-notebook-Error-potential-problem/m-p/4262109#M4878</link>
      <description>&lt;P&gt;Per microsoft, issue is resolved in below runtime and configuration.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pkumar0208_0-1730198664223.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1191112i635DE04CC5DC680F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pkumar0208_0-1730198664223.png" alt="pkumar0208_0-1730198664223.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 10:45:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Decryption-failure-in-fabric-notebook-Error-potential-problem/m-p/4262109#M4878</guid>
      <dc:creator>pkumar0208</dc:creator>
      <dc:date>2024-10-29T10:45:04Z</dc:date>
    </item>
  </channel>
</rss>

