vslavik / winsparkle

App update framework for Windows, inspired by Sparkle for macOS
http://winsparkle.org
Other
1.31k stars 267 forks source link

Error Signing Data #175

Closed wjkhappy14 closed 5 years ago

wjkhappy14 commented 6 years ago

\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:

Youw commented 6 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?

wjkhappy14 commented 6 years ago

use bin/generate_keys.bat to get the pri/pub key

Youw commented 6 years ago

What version of openssl you're using? Have you compiled it yourself, or download precompiled binaries?

quantonganh commented 5 years ago
  • 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

quantonganh commented 5 years ago

I tried openssl version 1.0.2p from Cygwin and it's ok now.

vslavik commented 5 years ago

Closing as user error (using ancient OpenSSL versions instead of the one readme points to), then.