Commit c4eac86
committed
fix(guest-agent): normalize algorithm before passing to GetKey in Sign
Sign internally calls GetKey to derive the signing key. After removing
secp256k1_prehashed from GetKey's accepted algorithms, Sign must map
secp256k1_prehashed to secp256k1 when requesting the key.1 parent 762a3a1 commit c4eac86
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
343 | 349 | | |
344 | 350 | | |
345 | 351 | | |
346 | 352 | | |
347 | | - | |
| 353 | + | |
348 | 354 | | |
349 | 355 | | |
350 | | - | |
351 | 356 | | |
352 | 357 | | |
353 | 358 | | |
| |||
0 commit comments