routines:EVP_DecryptFinal_ex:bad

1、.netcore6 升级到 .netcore7.0 异常信息

Microsoft.AspNetCore.NodeServices.HostingModels.NodeInvocationException: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
Error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad

decipher.final(‘utf8’); routines:EVP_DecryptFinal_ex:bad

https://www.codenong.com/37997354/


2023-06-05 18:56:15 EROR RG3.PF.Utilities.Services.DesService data:3AFCEE90306AB916CE0DA436BA81F6AF;key:;vi:0 Microsoft.AspNetCore.NodeServices.HostingModels.NodeInvocationException: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
Error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
    at Decipheriv.final (node:internal/crypto/cipher:193:29)
    at decrypt (E:\0_RG\Code\RG6.PF\rg3-pf\RG3.Web.Host.PaaS\AppNodeJs\Plugins\app_crypto.js:52:25)
    at C:\Users\clqzc\AppData\Local\Temp\ig1wvoj0.cw4:166:18
    at IncomingMessage.<anonymous> (C:\Users\clqzc\AppData\Local\Temp\ig1wvoj0.cw4:186:37)
    at IncomingMessage.emit (node:events:538:35)
    at endReadableNT (node:internal/streams/readable:1345:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
   at Microsoft.AspNetCore.NodeServices.HostingModels.HttpNodeInstance.InvokeExportAsync[T](NodeInvocationInfo invocationInfo, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance.InvokeExportAsync[T](CancellationToken cancellationToken, String moduleName, String exportNameOrNull, Object[] args)
   at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.InvokeExportWithPossibleRetryAsync[T](String moduleName, String exportedFunctionName, Object[] args, Boolean allowRetry, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.InvokeExportWithPossibleRetryAsync[T](String moduleName, String exportedFunctionName, Object[] args, Boolean allowRetry, CancellationToken cancellationToken)
   at RG3.PF.PinYinScriptEngineCliWrap.Providers.NodeServicesProvider.InvokeExportAsync[T](String moduleName, String exportedFunctionName, Object[] args) in C:\0_RG\Code\RG6.PF\rg3-pf\RG3.PF.PinYinScriptEngineCliWrap\Providers\NodeServicesProvider.cs:line 94
   at RG3.PF.Utilities.Services.DesService.Decrypt(String ownerId, String sysId, String data, String key, String vi) in C:\0_RG\Code\RG6.PF\rg3-pf\RG3.PF.Utilities\Services\DesService.cs:line 156

文档更新时间: 2023-06-05 20:31   作者:admin