Skip to content

Commit

Permalink
RSA-PSS: fixup verification command
Browse files Browse the repository at this point in the history
  • Loading branch information
baloo authored Nov 5, 2023
1 parent 379359d commit dce7679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ and verify the signature with OpenSSL by running
[source, bash]
----
$ openssl dgst -sha256 -binary message.dat > digest.dat
$ openssl pkutil -verify -in message.dat -sigfile signature.dat -pkeyopt rsa_padding_mode:pss -pubin -inkey key.pem -pkeyopt rsa_pss_saltlen:-1 -pkeyopt digest:sha256
$ openssl pkeyutl -verify -in digest.dat -sigfile signature.dat -pkeyopt rsa_padding_mode:pss -pubin -inkey key.pem -pkeyopt rsa_pss_saltlen:-1 -pkeyopt digest:sha256
----

A detailed list of possible actions and parameters is available in the
Expand Down

0 comments on commit dce7679

Please sign in to comment.