Windows packaging: MSI installer with code signing; harden the batch scripts in the interim
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 15/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Rust
- Étoiles
- 2
- Forks
- 0
- Merge moyen
- 1 j 15 h
- PR mergées (30 j)
- 3
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de stackabletech/stackable-odbc-trino
-
Difficulté 1/5 1-3 heures Accessibilité débutants 62/100
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 65/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 55/100
-
RUSTSEC-2026-0348: Brotli certificate decompression can allocate up to 1 GiB before authenticationOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 50/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
Toutes les issues de stackabletech/stackable-odbc-trino
Issues similaires
-
test: sim_zero_omega_tests race on shared temp-file names, so two pairs of tests fail at randomOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
pop-os/cosmic-comp#2956 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
area:release criticality:p3 documentation
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
registrystack/registry-stack#2085 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
libp2p/rust-libp2p#6694 ·
Les mainteneurs répondent en général sous 1 jour