[jboss-jira] [JBoss JIRA] (JGRP-2228) ASYM_ENCRYPT: test with encrypt_entire_msg=true
Bela Ban (JIRA)
issues at jboss.org
Fri Feb 2 05:51:00 EST 2018
[ https://issues.jboss.org/browse/JGRP-2228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13527689#comment-13527689 ]
Bela Ban commented on JGRP-2228:
--------------------------------
When starting the second member with the config dated Oct 31, the following exception is thrown:
{noformat}
97950 [ERROR] ASYM_ENCRYPT: failed setting secret key
java.security.InvalidKeyException: Wrong algorithm: AES or Rijndael required
at com.sun.crypto.provider.AESCrypt.init(AESCrypt.java:83) ~[sunjce_provider.jar:1.8.0_112]
at com.sun.crypto.provider.ElectronicCodeBook.init(ElectronicCodeBook.java:94) ~[sunjce_provider.jar:1.8.0_112]
at com.sun.crypto.provider.CipherCore.init(CipherCore.java:591) ~[sunjce_provider.jar:1.8.0_112]
at com.sun.crypto.provider.CipherCore.init(CipherCore.java:467) ~[sunjce_provider.jar:1.8.0_112]
at com.sun.crypto.provider.AESCipher.engineInit(AESCipher.java:313) ~[sunjce_provider.jar:1.8.0_112]
at javax.crypto.Cipher.implInit(Cipher.java:802) ~[?:1.8.0_121]
at javax.crypto.Cipher.chooseProvider(Cipher.java:864) ~[?:1.8.0_121]
at javax.crypto.Cipher.init(Cipher.java:1249) ~[?:1.8.0_121]
at javax.crypto.Cipher.init(Cipher.java:1186) ~[?:1.8.0_121]
at org.jgroups.protocols.Encrypt.createCipher(Encrypt.java:220) ~[classes/:?]
at org.jgroups.protocols.Encrypt.initSymCiphers(Encrypt.java:202) ~[classes/:?]
at org.jgroups.protocols.ASYM_ENCRYPT.setKeys(ASYM_ENCRYPT.java:481) ~[classes/:?]
at org.jgroups.protocols.ASYM_ENCRYPT.up(ASYM_ENCRYPT.java:175) [classes/:?]
at org.jgroups.protocols.SSL_KEY_EXCHANGE.fetchSecretKeyFrom(SSL_KEY_EXCHANGE.java:194) [classes/:?]
at org.jgroups.protocols.KeyExchange.down(KeyExchange.java:52) [classes/:?]
at org.jgroups.protocols.ASYM_ENCRYPT.sendKeyRequest(ASYM_ENCRYPT.java:521) [classes/:?]
at org.jgroups.protocols.ASYM_ENCRYPT.up(ASYM_ENCRYPT.java:194) [classes/:?]
at org.jgroups.stack.Protocol.up(Protocol.java:340) [classes/:?]
at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:119) [classes/:?]
at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:199) [classes/:?]
at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:252) [classes/:?]
at org.jgroups.protocols.MERGE3.up(MERGE3.java:276) [classes/:?]
at org.jgroups.protocols.Discovery.up(Discovery.java:267) [classes/:?]
at org.jgroups.protocols.TP.passMessageUp(TP.java:1248) [classes/:?]
at org.jgroups.util.SubmitToThreadPool$SingleMessageHandler.run(SubmitToThreadPool.java:87) [classes/:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_144]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
{noformat}
> ASYM_ENCRYPT: test with encrypt_entire_msg=true
> -----------------------------------------------
>
> Key: JGRP-2228
> URL: https://issues.jboss.org/browse/JGRP-2228
> Project: JGroups
> Issue Type: Task
> Reporter: Bela Ban
> Assignee: Bela Ban
> Fix For: 4.0.11
>
> Attachments: asym-encrypt.xml, asym-encrypt.xml
>
>
> * Start a few nodes with {{ASYM_ENCRYPT}} and {{encrypt_entire_msg}} set to {{true}}
> * Kill and restart a member
> * Apparently, restarting is not possible, as the new member won't be able to join the cluster
> -> Verify this is true and - if yes - fix it
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list