Trust the Google Trust Services roots on Android 9 and older before 2028-01-28
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
- 42/100
Línea de trabajo
Start with src/Sentry/Platforms/Android/SentryRootCertificates (added in #5991) and the API gate in DefaultSentryHttpClientFactory where LastAndroidSdkIntWithoutIsrgRootX1 is compared to 25. Read #5991 and the cross-signature expiry note in sentry-java's SentryRootCertificates.java TODO(2028-01-28) for the pattern to mirror. First confirm which sentry.io hosts will serve GTS certs; if so, bundle GTS Root R1–R4, raise the check to 28, rename the constant and update its tests. Done means Android 8/9 uploads trust GTS and the Android test project passes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
In February 2027, sentry.io moves its TLS certificates from DigiCert to Let's Encrypt and Google Trust Services (announcement). #5991 covers the Let's Encrypt part: on Android 7.1 (API 25) and older, the SDK's own uploads to sentry.io trust a bundled ISRG Root X1 as well as the device's roots.
The Google Trust Services (GTS) part has a later deadline, and nothing covers it yet.
Problem
Android only added the GTS roots in Android 10 (API 29). Older devices still accept GTS certificates today, because GTS Root R1 is cross-signed by GlobalSign Root CA, which every supported Android version trusts. That cross-signature expires on 2028-01-28. After that, devices on Android 9 (API 28) and older can't connect to any sentry.io host that serves a GTS certificate, so the events the .NET SDK captures on them stop arriving.
That's every supported Android version below 10: net10.0-android supports API 21 and up, and net11.0-android API 24 and up. It's a much larger group of devices than #5991 covers.
What needs doing
- Find out which sentry.io hosts will serve GTS certificates. If the ingest hosts only use Let's Encrypt, this may not be needed.
- Add GTS Root R1–R4 to
SentryRootCertificatesinsrc/Sentry/Platforms/Android/, added in #5991. - Raise the API check in
DefaultSentryHttpClientFactoryfrom 25 to 28, and renameLastAndroidSdkIntWithoutIsrgRootX1to match. - Bump the bundled Java SDK once sentry-java ships the same change. The Java SDK sends native crashes and Java exceptions through its own transport. sentry-java has no issue for this, only a
TODO(2028-01-28)left by getsentry/sentry-java#6227.
The fix has to ship well before 2028-01-28, since apps then need to release an update with it and get that onto devices.
Trade-off
Raising the check to API 28 also extends a caveat from #5991 to Android 8 and 9 (API 26–28). On those devices, the SDK's uploads to sentry.io would use the SDK's own trust store instead of the app's Network Security Config, so the app's per-domain trust anchors and certificate pins for sentry.io wouldn't apply to them. Apps that need their own trust rules can still set SentryOptions.CreateHttpMessageHandler.
- Lenguaje dominante
- C#
- Estrellas
- 775
- Forks
- 262
- Merge medio
- 1 d 16 h
- PR fusionados (30 d)
- 118
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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 getsentry/sentry-dotnet
-
chore: remove stale IL3050/IL3053 workaround from the iOS samplePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. AbiertoState: Needs Discussion
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
getsentry/sentry-dotnet#6071 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Heap dumps: every SDK shutdown logs "Error waiting for GarbageCollectionMonitor task to complete"Posiblemente ocupada @pcbeingused33 la tomó hoy. AbiertoState: Needs Discussion
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
getsentry/sentry-dotnet#6039 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
.NET Platform: Android Task
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
getsentry/sentry-dotnet#6020 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Move the Blazor WebAssembly sample off the deprecated DevServerPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto.NET Framework: Blazor
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
getsentry/sentry-dotnet#5906 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Docs MSBuild Needs Docs Update
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
getsentry/sentry-dotnet#5691 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de getsentry/sentry-dotnet
Issues similares
-
In-car displays show 0 km/h and P while the AV drivesPosiblemente ocupada @bazilinskyy la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
bazilinskyy/coupled-sim#366 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
BaryoDev/umbraco-pwa#196 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
microsoft/fluentui-blazor#5688 ·
Los mantenedores suelen responder en 1 día
-
bug flaky lsp-transport small
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día