[openssl-users] gpgsm/cms: int_rsa_verify:wrong signature length

2018-04-23 Thread Andreas Fenkart
Hi, I am using GnuPG to sign 'swupdate' update images, that are verified on the target using openssl: gpgsm -o sw-description.sig -sb sw-description swupdate links against the openssl, but the equivalent cmd line is: openssl cms -verify -in sw-description.sig -inform DER -content sw-descrip

[openssl-users] gpgsm/openssl cms detached signatures verification fails

2017-05-15 Thread Andreas Fenkart
Hi list, I'm experimenting with openssl/gnupg interoperability. It seems the least common multiple is cms. I didn't find a way to produce output with opengpg to work with 'openssl dgst' directly. Am I wrong, is there a simpler way? generate gpgsm keyring: https://lists.gt.net/gnupg/devel/53489 $ g