Commit 54ecdb2
committed
test(kms): pre-existing derive e2e must use a real SPKI peer key
kms_derive_shared_secret passed a fake 65-byte EC point as PublicKey; real
ECDH requires a valid SubjectPublicKeyInfo, so it now derives against a
second KEY_AGREEMENT key's public key (same fix as the unit tests).1 parent 7cb2c7e commit 54ecdb2
1 file changed
Lines changed: 21 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
394 | 413 | | |
395 | 414 | | |
396 | 415 | | |
397 | 416 | | |
398 | | - | |
| 417 | + | |
399 | 418 | | |
400 | 419 | | |
401 | 420 | | |
| |||
0 commit comments