Creating a raw signature of a hex string

Robert Moskowitz rgm at
Sun Apr 23 13:56:40 UTC 2023

This is for work in the IETF DRIP workgroup and the objects created in

and used in

I have a 136 byte object:


And a pem formatted private key file (EdDSA25519) file.

I want the 64 byte signature.

So far in all my googling I have only found:


openssl cms -sign -signer cert.pem -inkey pkey.pem -binary -in data 
-outform der -out signature

I think I would cut out the -signer, as no cert, just the pkey.

This is NOT cms, no way, but is that needed.

Basically what do I need to sign a bunch of bytes and get the signature?


More information about the openssl-users mailing list