Creating a raw signature of a hex string
openssl-users at dukhovni.org
Sun Apr 23 19:34:27 UTC 2023
On Sun, Apr 23, 2023 at 02:03:13PM -0400, Robert Moskowitz wrote:
> >> I want the 64 byte signature.
> > Example:
> > $ openssl pkeyutl -sign -inkey edkey.pem -in /tmp/foo.dat -rawin | xxd -p -c 66
> > 4865baed71e2aaba0aef5de8f5f268c93715a9efd86e47de7babaec7868b7f60a9cea24b14016367564999cfa691abdcc0a88c68e6eec52e2476fcf782d93206
> What ver of openssl is -rawin supported?
The "-rawin" option is available as of OpenSSL 3.0.
> My Fedora35 system that I am using for testing does not have it: ver 1.1.q
> I do have F37 system that I can test with.
Fedora 36 is sufficient.
> And why -c 66 ?
Any value >= 64 is sufficient.
More information about the openssl-users