Commit ebe4beb
authored
Merge pull request #15 from shoey63/pr-15
feat: overhaul dynamic CRL fetch logic and enhance status UI
Network: Implemented a dynamic cache-busting strategy using randomized floats and 'identity' encoding in HTTP headers. This bypasses aggressive Google CDN edge caching (stale HTTP 200s / 304s) to guarantee fetching the absolute latest X.509 revocation list directly from the origin server.
UI: Introduced dual-badge CRL update logic, splitting the network state strings into granular 'Initial list downloaded' and 'New list fetched' states for clearer user feedback.
Formatting: Locked the CRL publish time display in AuthorizationList to strict GMT/UTC to eliminate local timezone ambiguity.
Credits:
CDN cache-busting header logic courtesy of XDA members @TheFreeman193 and @Vagelis1608.
New strings4 files changed
Lines changed: 26 additions & 11 deletions
File tree
- app/src/main
- java/io/github/vvb2060/keyattestation
- attestation
- home
- res/values
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
535 | | - | |
536 | | - | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
537 | 539 | | |
538 | 540 | | |
539 | 541 | | |
| |||
942 | 944 | | |
943 | 945 | | |
944 | 946 | | |
945 | | - | |
| 947 | + | |
Lines changed: 17 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
86 | 96 | | |
87 | 97 | | |
88 | 98 | | |
| |||
160 | 170 | | |
161 | 171 | | |
162 | 172 | | |
163 | | - | |
| 173 | + | |
| 174 | + | |
164 | 175 | | |
165 | 176 | | |
166 | 177 | | |
| |||
198 | 209 | | |
199 | 210 | | |
200 | 211 | | |
201 | | - | |
| 212 | + | |
202 | 213 | | |
203 | 214 | | |
204 | 215 | | |
| |||
213 | 224 | | |
214 | 225 | | |
215 | 226 | | |
216 | | - | |
| 227 | + | |
217 | 228 | | |
218 | 229 | | |
219 | 230 | | |
| |||
234 | 245 | | |
235 | 246 | | |
236 | 247 | | |
237 | | - | |
| 248 | + | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
458 | 459 | | |
459 | 460 | | |
460 | 461 | | |
461 | | - | |
| 462 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
0 commit comments