Commit e7e9b8c
Fix Plex JWT signature verification (#1577)
* Fix Plex JWT signature verification
* Fix decoding json response in MyPlexJWTLogin
* Add test for MyPlexJWTLogin
* Update decodePlexJWT doc string
* Remove redundant else statement
* Use tmp_path for jwt test keys
* Test invalid Plex JWK signatures
* Revert decodedJWT with signature verification
* Fix test invalid JWK
* Fix tmp_path in JWT test keys
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix self in jwt test monkeypatch
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 09ea3c5 commit e7e9b8c
2 files changed
Lines changed: 77 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2145 | 2145 | | |
2146 | 2146 | | |
2147 | 2147 | | |
2148 | | - | |
2149 | | - | |
2150 | | - | |
2151 | | - | |
2152 | | - | |
2153 | | - | |
2154 | | - | |
2155 | | - | |
2156 | | - | |
2157 | | - | |
2158 | | - | |
2159 | | - | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
| 2154 | + | |
| 2155 | + | |
| 2156 | + | |
| 2157 | + | |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
| 2163 | + | |
| 2164 | + | |
| 2165 | + | |
| 2166 | + | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
| 2170 | + | |
| 2171 | + | |
| 2172 | + | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
| 2178 | + | |
| 2179 | + | |
| 2180 | + | |
| 2181 | + | |
2160 | 2182 | | |
2161 | 2183 | | |
2162 | 2184 | | |
2163 | | - | |
2164 | | - | |
| 2185 | + | |
| 2186 | + | |
2165 | 2187 | | |
2166 | 2188 | | |
2167 | 2189 | | |
| |||
2184 | 2206 | | |
2185 | 2207 | | |
2186 | 2208 | | |
2187 | | - | |
| 2209 | + | |
2188 | 2210 | | |
2189 | 2211 | | |
2190 | | - | |
| 2212 | + | |
2191 | 2213 | | |
2192 | 2214 | | |
2193 | 2215 | | |
| |||
2233 | 2255 | | |
2234 | 2256 | | |
2235 | 2257 | | |
2236 | | - | |
2237 | | - | |
2238 | | - | |
2239 | | - | |
2240 | | - | |
2241 | | - | |
2242 | | - | |
2243 | | - | |
| 2258 | + | |
2244 | 2259 | | |
2245 | 2260 | | |
2246 | 2261 | | |
| |||
2428 | 2443 | | |
2429 | 2444 | | |
2430 | 2445 | | |
2431 | | - | |
| 2446 | + | |
2432 | 2447 | | |
2433 | 2448 | | |
2434 | 2449 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | | - | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
364 | 366 | | |
365 | 367 | | |
366 | 368 | | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
0 commit comments