Trust the Google Trust Services roots on Android 9 and older before 2028-01-28
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 42/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C#
- スター
- 775
- フォーク
- 262
- 平均マージ
- 1日 16時間
- マージ済み PR(30日)
- 118
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/sentry-dotnet のほかの issue
-
chore: remove stale IL3050/IL3053 workaround from the iOS sample対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンState: Needs Discussion
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
getsentry/sentry-dotnet#6071 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Heap dumps: every SDK shutdown logs "Error waiting for GarbageCollectionMonitor task to complete"対応中かも @pcbeingused33 が今日担当しました。 オープンState: Needs Discussion
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
getsentry/sentry-dotnet#6039 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
.NET Platform: Android Task
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
getsentry/sentry-dotnet#6020 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Move the Blazor WebAssembly sample off the deprecated DevServer対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン.NET Framework: Blazor
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
getsentry/sentry-dotnet#5906 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Docs MSBuild Needs Docs Update
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
getsentry/sentry-dotnet#5691 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
getsentry/sentry-dotnet の issue をすべて見る
似ている issue
-
In-car displays show 0 km/h and P while the AV drives対応中かも @bazilinskyy が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
bazilinskyy/coupled-sim#366 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
BaryoDev/umbraco-pwa#196 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
microsoft/fluentui-blazor#5688 ·
メンテナーはふだん 1 日以内に返信
-
bug flaky lsp-transport small
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信