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

Viktor Dukhovni openssl-users at dukhovni.org
Fri May 26 12:29:57 UTC 2023


On Fri, May 26, 2023 at 03:17:41PM +0300, Vazmu Ten wrote:

> 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
> 
> 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?

    $ openssl pkeyutl -pubin -inkey test.pub \
        -encrypt -pkeyopt rsa_padding_mode:none \
        -in SIGN.bin -hexdump

-- 
    Viktor.


More information about the openssl-users mailing list