[INFRA]: Sign GitHub release APKs with a stable key
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 25/100
Rechercherichtung
Read .github/workflows/android-release.yaml at the “Set up release signing” step and mobile/android/app/build.gradle.kts at signingConfigs. The issue says this requires maintainer access to repository secrets, so a first-time contributor cannot complete the setup independently. Done means the release uses the stable keystore without the debug-key warning and the release notes explain the one-time reinstall.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Context
The release workflow signs APKs with four secrets: ANDROID_KEYSTORE_BASE64, ANDROID_KEYSTORE_PASSWORD, ANDROID_KEY_ALIAS and ANDROID_KEY_PASSWORD. None of them is set on this repository, so every GitHub release so far was signed with a throwaway debug key. The v0.3.2 run logged:
ANDROID_KEYSTORE_BASE64 is not set; APKs are signed with a throwaway debug key and can't update each other.
Anyone who installs from GitHub Releases can't update to the next release in place: Android rejects it (INSTALL_FAILED_UPDATE_INCOMPATIBLE) and they have to uninstall, which deletes their local messages and keys. F-Droid builds are not affected (F-Droid signs them itself).
What to do
- Create a release keystore and keep a backup somewhere safe (losing it means the same problem again).
- Add the four repository secrets (
ANDROID_KEYSTORE_BASE64is the keystore file, base64-encoded). - Check that the next release run has no "throwaway debug key" warning.
- Say in the release notes that people who installed an earlier GitHub APK need to reinstall once.
Where to look
.github/workflows/android-release.yaml (step "Set up release signing"), mobile/android/app/build.gradle.kts (signingConfigs).
Good to know
Only a maintainer can do this, since it needs repository secrets. Ideally before tagging v0.3.3.
- Vorherrschende Sprache
- Dart
- Sterne
- 9
- Forks
- 5
- Ø Merge
- 49 Min.
- Gemergte PRs (30 T.)
- 34
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus CommandLineCoding/Elephant
-
area: mobile chore good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
CommandLineCoding/Elephant#247 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: mobile bug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
CommandLineCoding/Elephant#245 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: mobile enhancement good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
CommandLineCoding/Elephant#183 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: mobile difficulty: medium enhancement
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 56/100
CommandLineCoding/Elephant#249 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: mobile chore difficulty: medium testing
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 66/100
CommandLineCoding/Elephant#248 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in CommandLineCoding/Elephant
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 76/100
livekit/client-sdk-flutter#1281 ·
Maintainer antworten meist innerhalb von 4 Tagen
-
android bug priority: P1 qa
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
GHRik/bielik_oneclick_launcher#55 ·
Maintainer antworten meist innerhalb von 1 Tag
-
SchedulerBinding.requestPerformanceMode(mode) does not forward the requested mode to the engine.Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
carp demo apps enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
carp-dk/carp.sensing-flutter#670 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100