Windows packaging: MSI installer with code signing; harden the batch scripts in the interim
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 15/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Rust
- Estrelas
- 2
- Forks
- 0
- Merge médio
- 1d 5h
- PRs com merge (30d)
- 4
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de stackabletech/stackable-odbc-trino
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
Todas as issues de stackabletech/stackable-odbc-trino
Issues semelhantes
-
bug file-compat priority: high
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
storytold/photocraft#11330 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
redis-compat
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
say: name hint should only fire on @tags, not bare words or text inside linksTalvez já em andamento @morganparadis assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
CakeRepository/agentshangout#501 ·
-
area:ui could docs good first issue
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 79/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100