Commit ed6dc56
tools: verify HSM signature based on provided public key
If using an HSM, the public key is not derived, rather taken as an
input parameter. In that case, however, it can happen that the user
specifies a mismatching pubkey. This PR adds a check to make sure
the pubkey belongs to the signature before embedding it further.1 parent e896b5b commit ed6dc56
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| |||
0 commit comments