- Notifications
You must be signed in to change notification settings - Fork1
Commit1f23762
authored
fix: class cast exception when handling Failed verification result & signature download on Windows (#158)
Verification result was improperly cast to download result whensignature verification failed to run.I discovered this issue while porting the signature verifications toCoder Gateway plugin.Additionally the signature for windows CLI follows the format:coder-windows-amd64.exe.ascCurrently it is coded to coder-windows-amd64.asc which means the pluginalways fail to find any signature for windows CLI1 parent478a5b1 commit1f23762
File tree
5 files changed
+32
-57
lines changed- src
- main/kotlin/com/coder/toolbox
- cli
- store
- test/kotlin/com/coder/toolbox/store
5 files changed
+32
-57
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 |
| |
6 | 11 |
| |
7 | 12 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
277 | 277 |
| |
278 | 278 |
| |
279 | 279 |
| |
280 |
| - | |
281 |
| - | |
| 280 | + | |
| 281 | + | |
282 | 282 |
| |
283 | 283 |
| |
284 | 284 |
| |
| |||
467 | 467 |
| |
468 | 468 |
| |
469 | 469 |
| |
470 |
| - | |
| 470 | + | |
471 | 471 |
| |
472 | 472 |
| |
473 | 473 |
| |
| |||
492 | 492 |
| |
493 | 493 |
| |
494 | 494 |
| |
495 |
| - | |
| 495 | + | |
496 | 496 |
| |
497 |
| - | |
| 497 | + | |
498 | 498 |
| |
499 | 499 |
| |
500 | 500 |
| |
| |||
532 | 532 |
| |
533 | 533 |
| |
534 | 534 |
| |
535 |
| - | |
| 535 | + | |
536 | 536 |
| |
537 | 537 |
| |
538 | 538 |
| |
|
Lines changed: 17 additions & 39 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
250 | 250 |
| |
251 | 251 |
| |
252 | 252 |
| |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
| 253 | + | |
257 | 254 |
| |
258 |
| - | |
259 |
| - | |
260 |
| - | |
261 |
| - | |
262 |
| - | |
263 |
| - | |
264 |
| - | |
265 |
| - | |
266 |
| - | |
267 |
| - | |
268 |
| - | |
269 |
| - | |
270 |
| - | |
271 |
| - | |
272 |
| - | |
273 |
| - | |
274 |
| - | |
275 |
| - | |
276 |
| - | |
277 |
| - | |
278 |
| - | |
279 |
| - | |
280 |
| - | |
281 |
| - | |
282 |
| - | |
283 |
| - | |
284 | 255 |
| |
285 |
| - | |
286 |
| - | |
287 |
| - | |
288 |
| - | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
289 | 264 |
| |
290 | 265 |
| |
291 | 266 |
| |
| |||
295 | 270 |
| |
296 | 271 |
| |
297 | 272 |
| |
298 |
| - | |
299 |
| - | |
300 |
| - | |
301 |
| - | |
302 |
| - | |
303 | 273 |
| |
304 | 274 |
| |
305 | 275 |
| |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
306 | 284 |
| |
307 | 285 |
| |
308 | 286 |
| |
|
Lines changed: 3 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
| 42 | + | |
47 | 43 |
| |
48 | 44 |
| |
49 | 45 |
| |
| |||
65 | 61 |
| |
66 | 62 |
| |
67 | 63 |
| |
68 |
| - | |
69 |
| - | |
70 |
| - | |
71 |
| - | |
72 | 64 |
| |
73 | 65 |
| |
74 |
| - | |
| 66 | + | |
75 | 67 |
| |
76 | 68 |
| |
77 | 69 |
| |
|
0 commit comments
Comments
(0)