Trust the Google Trust Services roots on Android 9 and older before 2028-01-28
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C#
- Star
- 775
- Fork
- 262
- Merge trung bình
- 1 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 118
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của getsentry/sentry-dotnet
-
chore: remove stale IL3050/IL3053 workaround from the iOS sampleCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởState: Needs Discussion
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
getsentry/sentry-dotnet#6071 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Heap dumps: every SDK shutdown logs "Error waiting for GarbageCollectionMonitor task to complete"Có thể đã có người làm @pcbeingused33 đã nhận hôm nay. Đang mởState: Needs Discussion
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
getsentry/sentry-dotnet#6039 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
.NET Platform: Android Task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
getsentry/sentry-dotnet#6020 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Move the Blazor WebAssembly sample off the deprecated DevServerCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở.NET Framework: Blazor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
getsentry/sentry-dotnet#5906 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Docs MSBuild Needs Docs Update
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
getsentry/sentry-dotnet#5691 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của getsentry/sentry-dotnet
Issue tương tự
-
In-car displays show 0 km/h and P while the AV drivesCó thể đã có người làm @bazilinskyy đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
bazilinskyy/coupled-sim#366 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
BaryoDev/umbraco-pwa#196 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
microsoft/fluentui-blazor#5688 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug flaky lsp-transport small
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày