microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.63k stars 2.92k forks source link

[Build] DLLs in maven build are not digitally signed #19204

Open christophvw opened 9 months ago

christophvw commented 9 months ago

Describe the issue

DLLs in maven build are not digitally signed.

https://repo1.maven.org/maven2/com/microsoft/onnxruntime/onnxruntime/1.16.3/

extract [onnxruntime-1.16.3.jar] (https://repo1.maven.org/maven2/com/microsoft/onnxruntime/onnxruntime/1.16.3/onnxruntime-1.16.3.jar)

Browse to onnxruntime-1.16.3\ai\onnxruntime\native\win-x64

View properties of onnxruntime.dll and onnxruntime4j_jni.dll -> the files are not signed

Urgency

We cannot run unsigned DLLs from user writeable folders.

Target platform

Windows

Build script

.

Error / output

.

Visual Studio Version

No response

GCC / Compiler Version

No response

snnn commented 4 months ago

I can confirm the problem still exists.