Release binaries get replaced after publishing, which breaks checksum pinning
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Start by reading the release workflows in .github/workflows (e.g. the Linux binary build job) to find what re-runs and re-uploads artifacts after a release is published, and check the release notes for v1.13.x to confirm rebuilds are intentional. Done looks like either a documented policy (release notes or docs) or a pipeline change: immutable uploads plus a SHA256SUMS file / build attestations per release. Coordinate with maintainers first since the fix touches release policy, not just code.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
We download frankenphp-linux-x86_64-gnu in our Dockerfile and pin it with ADD --checksum=.... Twice this week
our builds broke without us changing anything, because the file behind the same release tag had changed.
Looking at the GitHub API, it seems the Linux binaries get re-uploaded some time after each release goes out:
| Release | Published | Current file uploaded |
|---|---|---|
| v1.13.0 | Oct 4 | Oct 16, 01:18 UTC |
| v1.13.1 | Oct 16 | Oct 21, 15:48 UTC |
| v1.13.2 | Oct 21 | Oct 23, 01:30 UTC |
| v1.13.3 | Oct 23 | Oct 24, 01:17 UTC |
The checksums we had pinned vs. what's there now:
- v1.13.2:
0d6cd414487d8f663b0d992d315b07b977b8467370fd8ec7b6f3ae7e4f64d91f→fcc805fc84f715a83a1abb56a7a62619ad30608907097df013d19c31506b213c - v1.13.3:
a6ad4dccbcbebceabdb139fe54cd1f711968fc6b3331085bf634c642fa7fcd31→7d384c472e5e8975a2fa32376f5b25c3882a3297129857b2cf884d481598aa51
These are probably intentional rebuilds, but nothing tells us so, and from the outside a rebuilt file looks the same
as one that was tampered with. For now we've had to drop the checksum, which we'd rather not do.
A few things that would help:
- If the re-uploads are on purpose, a note in the release notes would be great.
- Even better: leave published files alone and put out a new patch release for a rebuild. GitHub's immutable releases
setting would enforce that. - A
SHA256SUMSfile with each release (signed, or with build attestations) so people can check what they download.
Thanks for all the work on FrankenPHP!
- Lenguaje dominante
- Go
- Estrellas
- 11.4k
- Forks
- 499
- Merge medio
- 2 d 5 h
- PR fusionados (30 d)
- 43
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de php/frankenphp
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
php/frankenphp#2671 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Include frankenphp version in logsQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
php/frankenphp#2483 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
suggestion about compile.mdQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertoenhancement
Dificultad 1/5 1-3 horas Aptitud para principiantes 68/100
php/frankenphp#601 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
php/frankenphp#2748 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 43/100
php/frankenphp#2747 ·
Los mantenedores suelen responder en 1 día
Todos los issues de php/frankenphp
Issues similares
-
[flaky test] TestValidatorCommitterDropsEmptyStatusBatch: submits to the mock VC before its stream is registeredPosiblemente ocupada @liran-funaro la tomó hoy. Abiertocoordinator flaky-test race-condition testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
hyperledger/fabric-x-committer#876 ·
Los mantenedores suelen responder en 1 día
-
kind/features
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
TencentBlueKing/bk-nodemgr#3804 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
cloudnative-pg/plugin-barman-cloud#1187 ·
Los mantenedores suelen responder en 1 día
-
[deliverclient] Remove the unused common/deliverclient packagePosiblemente ocupada @liran-funaro la tomó hoy. Abiertocode-hygiene
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
hyperledger/fabric-x-common#236 ·
Los mantenedores suelen responder en 1 día
-
consensus feature I2 S4 U2
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día