Windows packaging: MSI installer with code signing; harden the batch scripts in the interim
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 15/100
Hướng nghiên cứu
The problem sits in install.bat and uninstall.bat, where the odbcconf.exe /A {INSTALLDRIVER ...} call loads an unsigned DLL. The long-term goal is an MSI that registers the driver through the ODBCDriver table, with Authenticode signing, which needs a signing certificate and installer toolchain licence. A newcomer could start with the interim batch-script fixes (elevation check, pause on error, verifying uninstall), but the MSI and signing work is design-heavy and unassigned.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
When using the current install.bat / uninstall.bat scripts:
- If started via "Run as administrator" from Explorer, both scripts fail, whereas an elevated cmd.exe works. The window closes before an error can be read, and uninstall.bat reports success without checking what it removed.
- Short-term: detect missing elevation with a clear message, pause on error, verify results in uninstall.
- odbcconf.exe /A {INSTALLDRIVER …} loading an unsigned DLL matches a known detection pattern (MITRE ATT&CK T1218.008, https://attack.mitre.org/techniques/T1218/008/) and triggered security tooling on a user's machine.
Proposal
A proper fix for both:
- an MSI that registers the driver through Windows Installer's ODBCDriver table (https://learn.microsoft.com/en-us/windows/win32/msi/odbcdriver-table), so no odbcconf call is needed and a standard uninstall via Apps, plus Authenticode signing of the DLL and MSI and MakePQX sign for the .mez.
This will require a signing certificate and an installer toolchain's licence to implement and test this robustly.
- Ngôn ngữ chính
- Rust
- Star
- 1
- Fork
- 0
- Merge trung bình
- 1 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 3
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 stackabletech/stackable-odbc-trino
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
-
RUSTSEC-2026-0348: Brotli certificate decompression can allocate up to 1 GiB before authenticationĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 50/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Tất cả issue của stackabletech/stackable-odbc-trino
Issue tương tự
-
area: compat area: parsing bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
reubeno/brush#1526 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
OFN writer emits `DocIRI` as a bare IRI, which becomes a version IRI or a parse error on re-readĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
phillord/horned-owl#338 ·
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 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
stackabletech/operator-rs#1301 ·
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 62/100
jmcnamara/rust_xlsxwriter#205 · 4 bình luận ·