[NETCONF-478] IllegalBlockSizeException Created: 16/Oct/17  Updated: 15/Mar/19  Resolved: 16/Oct/17

Status: Resolved
Project: netconf
Component/s: netconf
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Claudio David Gasparini Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 9293

 Description   

IBSE observed in tests logs

2017-10-12 09:50:46,367 | ERROR | e]-nio2-thread-1 | AAAEncryptionServiceImpl | 248 - org.opendaylight.aaa.encrypt-service - 0.7.0.SNAPSHOT | Failed to decrypt encoded data
javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:934)[sunjce_provider.jar:1.8.0_141]
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:845)[sunjce_provider.jar:1.8.0_141]
at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:446)[sunjce_provider.jar:1.8.0_141]
at javax.crypto.Cipher.doFinal(Cipher.java:2165)[:1.8.0_141]
at org.opendaylight.aaa.encrypt.AAAEncryptionServiceImpl.decrypt(AAAEncryptionServiceImpl.java:162)[248:org.opendaylight.aaa.encrypt-service:0.7.0.SNAPSHOT]
at Proxy4e57f02f_2d11_4cea_84bf_83c4c8bbb2bf.decrypt(Unknown Source)
at Proxy8ab10d9d_7db1_4e0b_bcd1_9c013279b8c8.decrypt(Unknown Source)
at org.opendaylight.netconf.nettyutil.handler.ssh.authentication.LoginPassword.authenticate(LoginPassword.java:43)[419:org.opendaylight.netconf.netty-util:1.4.0.SNAPSHOT]
at org.opendaylight.netconf.nettyutil.handler.ssh.authentication.PublicKeyAuth.authenticate(PublicKeyAuth.java:49)[419:org.opendaylight.netconf.netty-util:1.4.0.SNAPSHOT]
at org.opendaylight.netconf.nettyutil.handler.ssh.client.AsyncSshHandler.handleSshSessionCreated(AsyncSshHandler.java:133)[419:org.opendaylight.netconf.netty-util:1.4.0.SNAPSHOT]
at org.opendaylight.netconf.nettyutil.handler.ssh.client.AsyncSshHandler.access$000(AsyncSshHandler.java:37)[419:org.opendaylight.netconf.netty-util:1.4.0.SNAPSHOT]
at org.opendaylight.netconf.nettyutil.handler.ssh.client.AsyncSshHandler$1.operationComplete(AsyncSshHandler.java:120)[419:org.opendaylight.netconf.netty-util:1.4.0.SNAPSHOT]
at org.opendaylight.netconf.nettyutil.handler.ssh.client.AsyncSshHandler$1.operationComplete(AsyncSshHandler.java:116)[419:org.opendaylight.netconf.netty-util:1.4.0.SNAPSHOT]
at org.apache.sshd.common.future.DefaultSshFuture.notifyListener(DefaultSshFuture.java:269)[199:org.apache.sshd.core:0.14.0]
at org.apache.sshd.common.future.DefaultSshFuture.notifyListeners(DefaultSshFuture.java:254)[199:org.apache.sshd.core:0.14.0]
at org.apache.sshd.common.future.DefaultSshFuture.setValue(DefaultSshFuture.java:173)[199:org.apache.sshd.core:0.14.0]
at org.apache.sshd.client.future.DefaultConnectFuture.setSession(DefaultConnectFuture.java:68)[199:org.apache.sshd.core:0.14.0]
at org.apache.sshd.SshClient$4.operationComplete(SshClient.java:307)[199:org.apache.sshd.core:0.14.0]
at org.apache.sshd.SshClient$4.operationComplete(SshClient.java:298)[199:org.apache.sshd.core:0.14.0]
at org.apache.sshd.common.future.DefaultSshFuture.notifyListener(DefaultSshFuture.java:269)[199:org.apache.sshd.core:0.14.0]
at org.apache.sshd.common.future.DefaultSshFuture.notifyListeners(DefaultSshFuture.java:254)[199:org.apache.sshd.core:0.14.0]
at org.apache.sshd.common.future.DefaultSshFuture.setValue(DefaultSshFuture.java:173)[199:org.apache.sshd.core:0.14.0]
at org.apache.sshd.common.io.nio2.Nio2Connector$DefaultIoConnectFuture.setSession(Nio2Connector.java:96)[199:org.apache.sshd.core:0.14.0]
at org.apache.sshd.common.io.nio2.Nio2Connector$1.onCompleted(Nio2Connector.java:59)[199:org.apache.sshd.core:0.14.0]
at org.apache.sshd.common.io.nio2.Nio2Connector$1.onCompleted(Nio2Connector.java:53)[199:org.apache.sshd.core:0.14.0]
at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)[199:org.apache.sshd.core:0.14.0]
at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_141]
at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)[199:org.apache.sshd.core:0.14.0]
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)[:1.8.0_141]
at sun.nio.ch.Invoker$2.run(Invoker.java:218)[:1.8.0_141]
at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)[:1.8.0_141]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_141]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_141]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_141]

https://logs.opendaylight.org/releng/jenkins092/bgpcep-csit-1node-gate-userfeatures-all-oxygen/14/odl1_karaf.log.gz



 Comments   
Comment by Tomas Cere [ 16/Oct/17 ]

This should be a harmless exception coming from aaa, it should not cause any failures since the password itself wasnt decrypted unless the csit tests were changed to use the rpcs for encryption.

Generated at Wed Feb 07 20:15:08 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.