Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Sign Flet Windows Client

Đang mở
#7,011 8 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@FeodorFitsner đang làm issue này rồi.

Từ ngày 27/10/2026.

  • #7016 của @FeodorFitsner — đã merge

Đánh giá

Issue này chưa được đánh giá.

Mô tả

platform: windows

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

  1. Install Flet and Flet Desktop in a Python virtual environment.
  2. Run the application using python main.py.
  3. Windows blocks native DLL plugins loaded by the Flet desktop executable.
  4. 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.dll
  • flutter_secure_storage_windows_plugin.dll
  • local_auth_windows_plugin.dll
  • geolocator_windows_plugin.dll
  • rive_native_plugin.dll
  • record_windows_plugin.dll
  • media_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

  1. Is this a known compatibility issue between the Flet desktop runtime's native plugins and Windows Smart App Control?
  2. Is there an official signed or otherwise compatible Flet Desktop runtime that works with Smart App Control enabled?
  3. Are all the listed plugins required for desktop startup, or can unused plugins be excluded through a supported configuration?
  4. 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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của flet-dev/flet

Tất cả issue của flet-dev/flet

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.