Sign Flet Windows Client
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Description
I'm developing a Python application using Flet on Windows. The Flet desktop application fails to launch because Windows Code Integrity blocks multiple native DLL plugins under the Flet desktop runtime.
Windows displays “flet.exe - Bad Image” dialogs with error status 0xC0E90002. The corresponding Code Integrity events are Event ID 3077 and reference policy ID {0283ac0f-fff1-49ae-ada1-8a933130cad6}.
I would like to run Flet Desktop while keeping Windows Smart App Control enabled.
Environment
- OS: Windows (Smart App Control enabled)
- Python: 3.10.5
- Flet: 1.0.5
- Flet Desktop: 1.0.5
- Flet CLI: 1.0.5
- Project type: Python desktop application
- Previous Flet Desktop version tested: 1.0.3
Steps to reproduce
- Install Flet and Flet Desktop in a Python virtual environment.
- Run the application using
python main.py. - Windows blocks native DLL plugins loaded by the Flet desktop executable.
- Launch the cached desktop executable directly to reproduce the error.
Actual behaviour
The application does not open successfully. Running python main.py returns to the PowerShell prompt without displaying a Python traceback.
Launching the desktop executable directly produces Windows “Bad Image” dialogs with error status 0xC0E90002.
Code Integrity Event ID 3077 reports that the desktop process attempted to load DLLs that did not meet the signing-level requirements or violated the active code-integrity policy.
The following DLLs have been observed in the blocked-event logs:
audioplayers_windows_plugin.dllflutter_secure_storage_windows_plugin.dlllocal_auth_windows_plugin.dllgeolocator_windows_plugin.dllrive_native_plugin.dllrecord_windows_plugin.dllmedia_kit_libs_windows_video_plugin.dll
The affected runtime is located under:
%USERPROFILE%\.flet\client\flet-desktop-full-1.0.5\flet\
PowerShell's Get-AuthenticodeSignature reports NotSigned for the tested desktop executable and DLLs.
Code Integrity event details
- Event ID:
3077 - Policy ID:
{0283ac0f-fff1-49ae-ada1-8a933130cad6} - Windows error status:
0xC0E90002 - Process:
flet.exe - Reproduction observed: 27 October 2026, approximately 9:53–9:57 PM local time
Version comparison
The issue was first observed with Flet Desktop 1.0.3. I upgraded flet, flet-desktop, and flet-cli to 1.0.5, but the problem persisted with the new cached runtime.
Expected behaviour
Flet Desktop should launch successfully on a supported Windows configuration with Smart App Control enabled, without required native plugins being blocked by Code Integrity.
Questions
- Is this a known compatibility issue between the Flet desktop runtime's native plugins and Windows Smart App Control?
- Is there an official signed or otherwise compatible Flet Desktop runtime that works with Smart App Control enabled?
- Are all the listed plugins required for desktop startup, or can unused plugins be excluded through a supported configuration?
- Is there a recommended diagnostic or workaround that does not require disabling Windows security protections?
I can provide screenshots of the “Bad Image” dialogs and the relevant Code Integrity event logs if needed.
Thank you for your help.
- Ngôn ngữ chính
- Python
- Star
- 17.4k
- Fork
- 737
- Merge trung bình
- 1 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 62
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của flet-dev/flet
-
feature: python 3.15 supportĐang mởfeature request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
flet-dev/flet#6985 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: `use_state` with a callable initializer is inferred ambiguously by ty and mypyCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
flet build: common [tool.flet.deep_linking] is ignored on Android and iOSCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug packaging platform: mobile
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: `flet test` fails with `ModuleNotFoundError: No module named 'pydantic_core._pydantic_core'`Có thể đã có người làm @ndonkoHenri đã nhận 2 ngày trước. Đang mởbug
flet-dev/flet#7022 · 3 bình luận · 1 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của flet-dev/flet
Issue tương tự
-
ai_p2 bug comp-datalake
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
ClickHouse/ClickHouse#128306 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] PROPOSE docs promise approval before saving, but save_learning has no confirmation flagĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[bug] openlit: LLM spans from openlit 1.37+ get no OpenInference attributes, and cache and reasoning token counts are droppedCó thể đã có người làm @sohom-cs đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Arize-ai/openinference#4199 · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
MichaelYcJo/SpecSeal#1192 ·