<?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: java.security.InvalidKeyException: Illegal key size in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/java-security-InvalidKeyException-Illegal-key-size/m-p/2286040#M59662</link>
    <description>&lt;P&gt;Hi Edboehm,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to Talend, I am experiencing the same issue with export job on Talend Studio version 7.3.1. I am wondering if you can share how you install "Java Cryptography Extension (JCE)" to solve this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;java.security.InvalidKeyException: Illegal key size&lt;BR /&gt;at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)&lt;BR /&gt;at javax.crypto.Cipher.implInit(Cipher.java:805)&lt;BR /&gt;at javax.crypto.Cipher.chooseProvider(Cipher.java:864)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 May 2020 21:44:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-07T21:44:33Z</dc:date>
    <item>
      <title>java.security.InvalidKeyException: Illegal key size</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-security-InvalidKeyException-Illegal-key-size/m-p/2286038#M59660</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;On Linux when trying to run a compiled job, this error message is raised:&lt;/P&gt; 
&lt;PRE&gt;java.security.InvalidKeyException: Illegal key size
at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
at javax.crypto.Cipher.implInit(Cipher.java:805)
at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
at javax.crypto.Cipher.init(Cipher.java:1396)
at javax.crypto.Cipher.init(Cipher.java:1327)
at org.talend.daikon.crypto.CipherSources$2.get(CipherSources.java:94)
at org.talend.daikon.crypto.CipherSources$SymmetricKeyCipherSource.encrypt(CipherSources.java:141)
at org.talend.daikon.crypto.Encryption.encrypt(Encryption.java:52)
at routines.system.PasswordEncryptUtil.encryptPassword(PasswordEncryptUtil.java:53)
at routines.system.ResumeUtil.convertToJsonText(ResumeUtil.java:350)&lt;/PRE&gt; 
&lt;P&gt;Didn't get this error when using version 7.0.1 but do get it with version 7.3.1. Suspect it is related to the context.password variable/value which is automatically encrypted by Talend, since there is not any component explicitly doing anything with encryption at all in the job design.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I found this &lt;A href="https://www.oracle.com/java/technologies/javase-jce8-downloads.html" target="_self" rel="nofollow noopener noreferrer"&gt;JCE&lt;/A&gt; what might solve it (unable to verify yet). However my preference is not to install that, if it can be avoided.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My question is:&lt;BR /&gt;Is the exception indeed related to the context.password and if so is the key size (cryptographic strength) of the password configurable in Talend to avoid this issue?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 13:16:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-security-InvalidKeyException-Illegal-key-size/m-p/2286038#M59660</guid>
      <dc:creator>Edboehm</dc:creator>
      <dc:date>2020-04-08T13:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: java.security.InvalidKeyException: Illegal key size</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-security-InvalidKeyException-Illegal-key-size/m-p/2286039#M59661</link>
      <description>&lt;P&gt;I can confirm now that install of this&amp;nbsp;&lt;A href="https://www.oracle.com/java/technologies/javase-jce8-downloads.html" target="_self" rel="nofollow noopener noreferrer"&gt;JCE&lt;/A&gt; fixes the issue.&lt;/P&gt;&lt;P&gt;Still I wonder if I could have applied a change in the Talend settings to reduce the used key size.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 08:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-security-InvalidKeyException-Illegal-key-size/m-p/2286039#M59661</guid>
      <dc:creator>Edboehm</dc:creator>
      <dc:date>2020-04-14T08:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: java.security.InvalidKeyException: Illegal key size</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-security-InvalidKeyException-Illegal-key-size/m-p/2286040#M59662</link>
      <description>&lt;P&gt;Hi Edboehm,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to Talend, I am experiencing the same issue with export job on Talend Studio version 7.3.1. I am wondering if you can share how you install "Java Cryptography Extension (JCE)" to solve this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;java.security.InvalidKeyException: Illegal key size&lt;BR /&gt;at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)&lt;BR /&gt;at javax.crypto.Cipher.implInit(Cipher.java:805)&lt;BR /&gt;at javax.crypto.Cipher.chooseProvider(Cipher.java:864)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 21:44:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-security-InvalidKeyException-Illegal-key-size/m-p/2286040#M59662</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-07T21:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: java.security.InvalidKeyException: Illegal key size</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-security-InvalidKeyException-Illegal-key-size/m-p/2286041#M59663</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Edboehm,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Did you just install JCE on the machine? Or upgrade the java version to beyond Java 8 Update 151&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 22:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-security-InvalidKeyException-Illegal-key-size/m-p/2286041#M59663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-07T22:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: java.security.InvalidKeyException: Illegal key size</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-security-InvalidKeyException-Illegal-key-size/m-p/2286042#M59664</link>
      <description>&lt;P&gt;I had the same problem using BouncyCastle in Java when we switched to AES 256 bit encryption.&lt;BR /&gt;Fixed it by creating a &lt;STRONG&gt;java.security&lt;/STRONG&gt; file in TOS_DI folder with the following lines:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;# Allow AES 256 bit encryption to be used (required until Java 9)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;crypto.policy=unlimited&lt;/FONT&gt;&lt;BR /&gt;Also added the following line to the end of the &lt;STRONG&gt;TOS_DI-win-x86_64.ini&lt;/STRONG&gt; file:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;-Djava.security.properties=java.security&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can append the above line to the %JAVA_HOME%\lib\security\java.security and leave the ini file untouched.&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 11:56:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-security-InvalidKeyException-Illegal-key-size/m-p/2286042#M59664</guid>
      <dc:creator>jaho4112</dc:creator>
      <dc:date>2020-05-11T11:56:29Z</dc:date>
    </item>
  </channel>
</rss>

