<?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 Could not decrypt data: Padding is invalid and cannot be removed in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Could-not-decrypt-data-Padding-is-invalid-and-cannot-be-removed/m-p/95728#M44171</link>
    <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Just a quick question...&lt;BR /&gt;&lt;BR /&gt;We have been starting again in regards to whole infrastructure and have built new servers etc... and are importing every Process and Business Object (and every other integral part of our Blue Prism product).... basically a fresh installation of Blue Prism. We were previously on releave 6.3 but have now gone to v6.10 with a transformation from Windows 7 to Windows 10.... fun, fun, fun.... I wasn't involved in the original build of the back-end internal side of Blue Prism but have now adopted it...&lt;BR /&gt;&lt;BR /&gt;Now my question is in regards to Credentials and Encryption keys.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I had originally set up (generated) an Encryption Key within the System tab of the product (AES-256) which has its Key Location as the Database. I tried to run the Get Password action within a process and got the message:&lt;BR /&gt;&lt;BR /&gt;Internal: Could not decrypt data: Padding is invalid and cannot be removed.&lt;BR /&gt;&lt;BR /&gt;I then following our old installation set up (generated) a Credentials Key in the same manner... so basically there are now 2 Encryption Schemes.... however the message is the same.&lt;BR /&gt;&lt;BR /&gt;I have brought over and reinput manually the Credentials and associated User Names/Passwords, but to no avail...&lt;BR /&gt;&lt;BR /&gt;What am I missing?&lt;BR /&gt;&lt;BR /&gt;Do I need our ICT to do something with the App Server? or am I not doing something I should?&lt;BR /&gt;&lt;BR /&gt;Many Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Tom</description>
    <pubDate>Sun, 25 Apr 2021 09:57:04 GMT</pubDate>
    <dc:creator>TomMason</dc:creator>
    <dc:date>2021-04-25T09:57:04Z</dc:date>
    <item>
      <title>Could not decrypt data: Padding is invalid and cannot be removed</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Could-not-decrypt-data-Padding-is-invalid-and-cannot-be-removed/m-p/95728#M44171</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Just a quick question...&lt;BR /&gt;&lt;BR /&gt;We have been starting again in regards to whole infrastructure and have built new servers etc... and are importing every Process and Business Object (and every other integral part of our Blue Prism product).... basically a fresh installation of Blue Prism. We were previously on releave 6.3 but have now gone to v6.10 with a transformation from Windows 7 to Windows 10.... fun, fun, fun.... I wasn't involved in the original build of the back-end internal side of Blue Prism but have now adopted it...&lt;BR /&gt;&lt;BR /&gt;Now my question is in regards to Credentials and Encryption keys.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I had originally set up (generated) an Encryption Key within the System tab of the product (AES-256) which has its Key Location as the Database. I tried to run the Get Password action within a process and got the message:&lt;BR /&gt;&lt;BR /&gt;Internal: Could not decrypt data: Padding is invalid and cannot be removed.&lt;BR /&gt;&lt;BR /&gt;I then following our old installation set up (generated) a Credentials Key in the same manner... so basically there are now 2 Encryption Schemes.... however the message is the same.&lt;BR /&gt;&lt;BR /&gt;I have brought over and reinput manually the Credentials and associated User Names/Passwords, but to no avail...&lt;BR /&gt;&lt;BR /&gt;What am I missing?&lt;BR /&gt;&lt;BR /&gt;Do I need our ICT to do something with the App Server? or am I not doing something I should?&lt;BR /&gt;&lt;BR /&gt;Many Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Tom</description>
      <pubDate>Sun, 25 Apr 2021 09:57:04 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Could-not-decrypt-data-Padding-is-invalid-and-cannot-be-removed/m-p/95728#M44171</guid>
      <dc:creator>TomMason</dc:creator>
      <dc:date>2021-04-25T09:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Could not decrypt data: Padding is invalid and cannot be removed</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Could-not-decrypt-data-Padding-is-invalid-and-cannot-be-removed/m-p/95729#M44172</link>
      <description>&lt;P&gt;Hi Tom,&lt;BR /&gt;&lt;BR /&gt;The "&lt;SPAN&gt;Internal: Could not decrypt data: Padding is invalid and cannot be removed.&lt;/SPAN&gt;" error occurs when a different encryption key is used to try and decrypt the encrypted data. You would need to use the Show Key checkbox on the original environment that was used to encrypt the data and then copy and paste this key into the new environment to decrypt the data.&lt;BR /&gt;&lt;BR /&gt;&lt;IMG class="img-responsive" data-mce-hlimagekey="fb4461c8-0b56-8372-192d-f9c323827a3d" data-mce-hlselector="#ReplyToContributedContent_4b43634d-b5ce-42c5-856b-406c71b43bb3-tinyMce" /&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 09:42:36 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Could-not-decrypt-data-Padding-is-invalid-and-cannot-be-removed/m-p/95729#M44172</guid>
      <dc:creator>chris.mcgowan</dc:creator>
      <dc:date>2021-04-26T09:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Could not decrypt data: Padding is invalid and cannot be removed</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Could-not-decrypt-data-Padding-is-invalid-and-cannot-be-removed/m-p/95730#M44173</link>
      <description>Hi Tom,&lt;BR /&gt;&lt;BR /&gt;Even installing the old key will not do the trick. Changing the 'Default Schema' will only effect new keys or password changes.&lt;BR /&gt;&lt;BR /&gt;Take a look in the database BPAKeyStore table and identify the 'id' of the old key. Got to the BPACredentials table and take care that all credentials encrypted with the old key references the fetched id in the 'encryptid' field.</description>
      <pubDate>Tue, 27 Apr 2021 05:00:22 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Could-not-decrypt-data-Padding-is-invalid-and-cannot-be-removed/m-p/95730#M44173</guid>
      <dc:creator>TobiasArnold</dc:creator>
      <dc:date>2021-04-27T05:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Could not decrypt data: Padding is invalid and cannot be removed</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Could-not-decrypt-data-Padding-is-invalid-and-cannot-be-removed/m-p/95731#M44174</link>
      <description>I was working on one project and was getting this error too.&lt;BR /&gt;&lt;STRONG&gt;Solution:&lt;BR /&gt;&lt;/STRONG&gt;1)Go to your credentials under 'System'.&lt;BR /&gt;2)Open access rights&lt;BR /&gt;3)Check whether&amp;nbsp;&lt;STRONG&gt;Security roles, Processes and Resources&amp;nbsp;&lt;/STRONG&gt;on which you are using get credentials is mark checked&lt;BR /&gt;&lt;BR /&gt;Do let me know if anything comes up&lt;BR /&gt;Thank you</description>
      <pubDate>Fri, 14 May 2021 17:32:35 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Could-not-decrypt-data-Padding-is-invalid-and-cannot-be-removed/m-p/95731#M44174</guid>
      <dc:creator>Amritpal_SinghB</dc:creator>
      <dc:date>2021-05-14T17:32:35Z</dc:date>
    </item>
  </channel>
</rss>

