Windows Smart App Control blocks the official CTranslate2 4.9.0 DLL (WinError 4551)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 8/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- distributed-systems
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C++
- Estrellas
- 4.8k
- Forks
- 557
- Merge medio
- 1 d 6 h
- PR fusionados (30 d)
- 24
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de OpenNMT/CTranslate2
-
MPS: GPT-2 produces NaN logits and invalid token IDsPosiblemente ocupada @TBO22 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
OpenNMT/CTranslate2#2154 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Allow no-timestamp Whisper decoding beyond 224 tokensPosiblemente ocupada @Emre-Akgul la tomó hace 127 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
OpenNMT/CTranslate2#2074 ·
Los mantenedores suelen responder en 1 día
-
T5Gemma fails on MPS: incorrect beam expansion with padded batchesPosiblemente ocupada @TBO22 la tomó hoy. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
OpenNMT/CTranslate2#2153 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
OpenNMT/CTranslate2#2149 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
OpenNMT/CTranslate2#2105 ·
Los mantenedores suelen responder en 1 día
Todos los issues de OpenNMT/CTranslate2
Issues similares
-
Documentation: Fix parameter markup, legacy branch link, and phrasing in Detachable Joints and Model Command tutorialsPosiblemente ocupada @patelshivani2283-lab la tomó hoy. Abierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Niko1221/Strata#6071 · 2 comentarios ·
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
KhronosGroup/Vulkan-Tutorial#551 ·
Los mantenedores suelen responder en 1 día