OpenSSL 3.x equivalent for "rsautl -verify... -raw -hexdump" command

Vazmu Ten vazmuten at gmail.com
Fri May 26 12:17:41 UTC 2023


Hi

OS: Windows
I switched from OpenSSL version 1.1.1 to version 3.1.0. Previously I used
the following command to check in detail the signature data:
>openssl.exe rsautl -verify -pubin -inkey test.pub -in SIGN.bin -raw
-hexdump

The result was like this:
0000 - 00 01 ff ff ff ff ff ff-ff ff ff ff ff ff ff ff   ................
0010 - ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff   ................
0020 - ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff   ................
0030 - ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff   ................
0040 - ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff   ................
0050 - ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff   ................
0060 - ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff   ................
0070 - ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff   ................
0080 - ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff   ................
0090 - ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff   ................
00a0 - ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff   ................
00b0 - ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff   ................
00c0 - ff ff ff ff ff ff ff ff-ff ff ff ff 00 30 31 30   .............010
00d0 - 0d 06 09 60 86 48 01 65-03 04 02 01 05 00 04 20   ...`.H.e.......
00e0 - 54 20 b7 d3 7f 06 62 24-06 e2 48 8b 78 24 eb 7e   T.....b$..H.x$.~
00f0 - 8a 30 af 7d 43 05 61 5f-40 fb 96 5d 7a a2 c0 b0   ...}C.a_ at ..]z...


After changing to version 3.1.0 it is stated that:
>The command rsautl was deprecated in version 3.0. Use 'pkeyutl' instead.

What is the equivalent sintax in version 3.0 using "pkeyutl" and how to
achive the same result?

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20230526/43e331cc/attachment.htm>


More information about the openssl-users mailing list