Skip to content

Commit

Permalink
Use pubkey to verify
Browse files Browse the repository at this point in the history
  • Loading branch information
qpernil committed Jan 25, 2024
1 parent 7d73831 commit 55458ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/wrapped_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ put_yhwrapped_asymmetric_rsa() {
--object-id="$keyid" --algorithm "rsa-pkcs1-sha256" --in="$sigbuf" --out "$signature.$size" --outformat="bin"

echo "${FUNCNAME[0]}: verifying rsa$size sha256 signature"
openssl dgst -sha256 -verify "$keyfile.$size" -signature "$signature.$size" "$sigbuf"
openssl dgst -sha256 -verify "$keyfile.$size.pub" -signature "$signature.$size" "$sigbuf"

done
}
Expand Down

0 comments on commit 55458ff

Please sign in to comment.