Commit 22370d2
fix(wallet): use correct protocol ID and key ID in prove_certificate (#424)
prove_certificate was using 'certificate field revelation' and prefixing
the cert type to key_id, diverging from the TS/Go reference SDKs. This
made Ruby-issued verifier keyrings cryptographically incompatible with
other SDKs. Now uses 'certificate field encryption' and
"#{serial_number} #{field_name}" to match cross-SDK behaviour.
Closes #424
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5907040 commit 22370d2
File tree
3 files changed
+4
-8
lines changed- gem
- bsv-sdk/lib/bsv/auth
- bsv-wallet
- lib/bsv/wallet_interface
- spec/bsv/wallet_interface
3 files changed
+4
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 12 | | |
17 | 13 | | |
18 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
572 | | - | |
573 | | - | |
| 572 | + | |
| 573 | + | |
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
466 | | - | |
| 465 | + | |
| 466 | + | |
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
| |||
0 commit comments