Hi, I use crypto++ for software activation in my software (ECDSA). For this reason I aim for very small signatures and therefore I use putMessage=false, as described in http://www.cryptopp.com/wiki/SignerFilter.
However, I want to create activation codes in UNIX via openssl. When I use echo data | openssl dgst -ecdsa-with-SHA1 -r -hex -sign private_key.der -keyform DER then openssl obviously uses putMessage=true and I am not able to verify the signature. If I change my code to use PUT_MESSAGE, verification succeeds. Is there a way to "convert" the openssl output to putMessage=false format or to circumvent this problem in any way? The obvious tests to just cut off the first or the last 32 byte (for secp128r1) did not work. Thank you so much! Luke -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
