应用名称:牵牛花内部测试APPID:44963
测试店铺:
有赞连锁L-总部-高级版 (2) 云测试店铺CUFhf 103120408
下的 有赞连锁L-网店-Lite 连锁版测试1店 103191609
问题描述: 使用这个应用信息里的client_id和client_secret进行解密时,提示:
com.youzan.cloud.open.security.exception.DataSecurityException: code:1000,message:aesDecrypt加密出现异常
at com.youzan.cloud.open.security.utils.SecretUtils.aesDecrypt(SecretUtils.java:146)
at com.youzan.cloud.open.security.OpenClientSecretServer.decrypt(OpenClientSecretServer.java:87)
at com.youzan.cloud.open.security.SecretClient.decrypt(SecretClient.java:75)
at net.techfuser.yz.service.impl.TfOrderServiceImpl.extractAddressInfo(TfOrderServiceImpl.java:890)
at net.techfuser.yz.service.impl.TfOrderServiceImpl.convert(TfOrderServiceImpl.java:687)
at net.techfuser.yz.service.impl.TfOrderServiceImpl.pullOrderByTid(TfOrderServiceImpl.java:153)
at net.techfuser.yz.listener.TradeListener.execute(TradeListener.java:97)
at net.techfuser.yz.listener.TradeListener.consumer(TradeListener.java:53)
at net.techfuser.platform.mqclient.impl.order.OrderConsumerImpl$1.consumeMessage(OrderConsumerImpl.java:82)
at org.apache.rocketmq.client.impl.consumer.ConsumeMessageOrderlyService$ConsumeRequest.run(ConsumeMessageOrderlyService.java:471)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.youzan.cloud.open.security.exception.DataSecurityException: code:1005,message:使用了错误的密钥进行加解密操作
at com.youzan.cloud.open.security.utils.SecretUtils.aesDecrypt(SecretUtils.java:162)
at com.youzan.cloud.open.security.utils.SecretUtils.aesDecrypt(SecretUtils.java:142)
... 14 common frames omitted
Caused by: com.youzan.cloud.open.security.utils.CryptException: 使用了错误的密钥进行加解密操作
at com.youzan.cloud.open.security.utils.Cryptos.aes(Cryptos.java:204)
at com.youzan.cloud.open.security.utils.Cryptos.aesDecrypt(Cryptos.java:166)
at com.youzan.cloud.open.security.utils.SecretUtils.aesDecrypt(SecretUtils.java:159)
... 15 common frames omitted
Caused by: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
at com.sun.crypto.provider.CipherCore.unpad(CipherCore.java:975)
at com.sun.crypto.provider.CipherCore.fillOutputBuffer(CipherCore.java:1056)
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:853)
at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:446)
at javax.crypto.Cipher.doFinal(Cipher.java:2168)
at com.youzan.cloud.open.security.utils.Cryptos.aes(Cryptos.java:202)
... 17 common frames omitted
请问是什么原因呢,跟店铺有关系么,这个店铺有两个应用都绑定了。
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|