Re: Creating a raw signature of a hex string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 4/23/23 12:04, Viktor Dukhovni wrote:
On Sun, Apr 23, 2023 at 09:56:40AM -0400, Robert Moskowitz wrote:

I have a 136 byte object:

2e4a3f5b5e07a1fb254b811f5a1002b10a5fda326d944758324d7f16972aa2f63c4722b92001003ffe001405
For the record, that's not 136 bytes, it is 88 hex digits (representing
44 bytes).

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?

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.


And why -c 66  ?





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux