Closed wjkhappy14 closed 5 years ago
Without knowing the content of dsa_priv.pem
, there is no way of finding the source of your issue.
Iff it is a testing only private key, can you share it with me, so I can check?
use bin/generate_keys.bat to get the pri/pub key
What version of openssl you're using? Have you compiled it yourself, or download precompiled binaries?
- What version of openssl you're using? Have you compiled it yourself, or download precompiled binaries?
0.9.8h-1, downloaded from here: http://downloads.sourceforge.net/gnuwin32/openssl-0.9.8h-1-setup.exe
I tried openssl version 1.0.2p from Cygwin and it's ok now.
Closing as user error (using ancient OpenSSL versions instead of the one readme points to), then.
\bin\sign_update.bat NetSparkleTestAppWPF.exe dsa_priv.pem
Error Signing Data
17800:error:0606B06E:digital envelope routines:EVP_SignFinal:wrong public key type:.\crypto\evp\p_sign.c:99: