Read-only archive of the All About Symbian forum (2001–2013) · About this archive

[OS9.1] createsis fails , devcert, acs, cannot load key, wrong tagencryptionerror

3 replies · 0 views · Started 04 April 2006

Hi,
finally got my devcert based on the acs cert.

But now the command

createsis sign -cert stoegerit_devcert.cer -key stoeger_it.key ...

fails with that error:

error:06078081:digital envelope routines:EVP_PKEY_get1_DSA:expecting a
dsa keyerror:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong
tagencryption error, Cannot load stoeger_it.key.

The key file has been generated with "vs_pkcs.exe".

Any ideas?
Thanks in advance.
--
Tobias
www.OutBank.de

So ... the tool is "expecting a dsa key" and you have a RSA certificate/key
....
Use signsis.exe, it detects the key type automatically though you can
specify it in program's options

"Tobias Stoeger" <[email protected]> wrote in message
news:jS1yPpAWGHA.504@extapps30...
> Hi,
> finally got my devcert based on the acs cert.
>
> But now the command
>
> createsis sign -cert stoegerit_devcert.cer -key stoeger_it.key ...
>
> fails with that error:
>
> error:06078081:digital envelope routines:EVP_PKEY_get1_DSA:expecting a dsa
> keyerror:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong
> tagencryption error, Cannot load stoeger_it.key.
>
> The key file has been generated with "vs_pkcs.exe".
>
> Any ideas?
> Thanks in advance.
> --
> Tobias
> www.OutBank.de

Escu wrote:
> So ... the tool is "expecting a dsa key" and you have a RSA certificate/key
> ...
> Use signsis.exe, it detects the key type automatically though you can
> specify it in program's options
>

WOW - you're good!
How can I send you a beer 😉

As you said, it is working with:

SignSis -cr -s ...

Thank you very much!
Br
--
Tobias
www.OutBank.de

Tobias Stoeger wrote:
> Escu wrote:[color=green]
>> So ... the tool is "expecting a dsa key" and you have a RSA
>> certificate/key ...
>> Use signsis.exe, it detects the key type automatically though you can
>> specify it in program's options
>>

> WOW - you're good!
> How can I send you a beer 😉
>
> As you said, it is working with:
>
> SignSis -cr -s ...
>
> Thank you very much!
> Br[/color]

A while ago we had such kind of experiences too with the signing helper
applications. Certainly SS can make usage of such tools easier?

AMK