Windows Smart App Control blocks the official CTranslate2 4.9.0 DLL (WinError 4551)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 8/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- distributed-systems
Research direction
The problem is a Windows Smart App Control block on the unsigned native ctranslate2.dll in the 4.9.0 wheel, not a code defect. A newcomer would first confirm how the wheel is built and packaged in the release pipeline, then check whether any signing step exists. Done means a documented answer or a signing plan, which needs maintainer and certificate decisions.
Written by the indexing model from the issue text.
Description
Hello CTranslate2 maintainers,
I'm trying to use Faster Whisper on Windows 11 with Smart App Control enabled.
Importing Faster Whisper fails because Windows blocks the CTranslate2 native DLL:
OSError: [WinError 4551] An Application Control policy has blocked this file
Environment
- Windows PowerShell 5.1
- Python 3.12.10 (64-bit)
- faster-whisper 1.2.1
- ctranslate2 4.9.0
- pip 26.3
- Visual C++ Redistributable x64 installed
Investigation results
- Downloaded the official CTranslate2 4.9.0 Windows wheel from PyPI.
- Extracted
ctranslate2/ctranslate2.dllfrom the wheel. - Compared the extracted DLL with the installed DLL.
- Both SHA256 hashes match exactly:
A9009AD682A2C5A11F6942C3B8DAC68189D629685EF02FBC3E1AB6E4C6082AB8
Get-AuthenticodeSignaturereportsNotSignedfor both DLLs.- Windows Code Integrity logs show events 3077, 3033 and 3118 associated with the blocked DLL.
Questions
- Is an Authenticode-signed Windows DLL or wheel available?
- Are there plans to sign the native Windows binaries in future releases?
- Is there an officially supported solution for users who need to keep Windows Smart App Control enabled?
I would prefer to keep Smart App Control enabled rather than disable Windows security protections.
Thank you for your help.
- Dominant language
- C++
- Stars
- 4.8k
- Forks
- 557
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 24
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenNMT/CTranslate2
-
MPS: GPT-2 produces NaN logits and invalid token IDsPossibly taken @TBO22 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
OpenNMT/CTranslate2#2154 · 1 comment ·
Maintainers usually reply within 1 day
-
Allow no-timestamp Whisper decoding beyond 224 tokensPossibly taken @Emre-Akgul claimed this 127 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenNMT/CTranslate2#2074 ·
Maintainers usually reply within 1 day
-
T5Gemma fails on MPS: incorrect beam expansion with padded batchesPossibly taken @TBO22 claimed this today. Open
Difficulty 4/5 3-5 days Newbie friendliness 30/100
OpenNMT/CTranslate2#2153 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
OpenNMT/CTranslate2#2149 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
OpenNMT/CTranslate2#2105 ·
Maintainers usually reply within 1 day
All issues in OpenNMT/CTranslate2
Similar issues
-
Documentation: Fix parameter markup, legacy branch link, and phrasing in Detachable Joints and Model Command tutorialsPossibly taken @patelshivani2283-lab claimed this today. Open
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Niko1221/Strata#6071 · 2 comments ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
KhronosGroup/Vulkan-Tutorial#551 ·
Maintainers usually reply within 1 day