Repository navigation
fix(plugin): regera o helper Proton Linux embutido com a 6.1.2 - #444
Merged
Merged
Conversation
O vpn-proton.ts ainda embutia um proton-confgen que mandava x-pm-appversion: linux-vpn@4.17.2, recusado pela Proton com HTTP 422 e codigo 5003 desde 19/11. O binario foi regerado de tools/proton-confgen (GOOS=linux GOARCH=amd64, build deterministico) e o SHA-256 declarado confere com os bytes dentro do blob gzip. O teste de integridade dos assets passa a cobrir tambem o helper Proton: ELF x64, SHA-256 declarado e o identificador linux-vpn-gui@, sem a 4.17.2.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Por quê
O helper Linux que o plugin carrega em runtime é o blob gzip embutido em
goLiveBypass/vpn-proton.ts. Ele ainda era o build antigo, que mandax-pm-appversion: linux-vpn@4.17.2— recusado pela Proton com HTTP 422 / código 5003. O #443 consertou a fonte do helper, a GUI e o macOS, mas o plugin no Linux continuava no identificador velho.O que muda
goLiveBypass/vpn-proton.ts: assetproton-confgenregerado detools/proton-confgencom o mesmo build determinístico da GUI (GOOS=linux GOARCH=amd64,-buildvcs=false -trimpath -ldflags='-s -w -buildid='), SHA-256b17d155c…declarado e conferido contra os bytes dentro do gzip.tests/test-plugin-netns-environment.mjs: a checagem de integridade dos assets embutidos agora cobre os dois helpers (ELF x64 + SHA-256 declarado) e exige que o helper Proton tragalinux-vpn-gui@, semlinux-vpn@4.17.2.CHANGELOG.md: a entrada do 5003 passa a dizer que o helper do plugin Linux foi regerado nesta árvore; só falta a release.Verificação
b17d155c…), e o blob regerado decodifica byte a byte para o binário compilado.node --test tests/test-plugin-update-lock.mjs tests/test-plugin-netns-environment.mjs tests/test-plugin-runtime-compatibility.mjs tests/test-plugin-autostart-loop.mjs tests/test-plugin-update-archive.mjs→ 17/17.grep -a linux-vpn-gui@no binário embutido: presente;linux-vpn@4.17.2: ausente.Sem release nesta PR.