Page 1 of 1

Signed application

PostPosted: Feb 6, 2007 @ 7:41am
by patrickwai
Hi Edge,

How can I know which device only allows signed applications?

PostPosted: Feb 6, 2007 @ 8:27am
by patrickwai
Hi Edge,

If I use "makekeys -cert -password 12345 -len 2048 -dname "CN=name OU=department OR=company CO=US EM=address@host.com" test.key test.cer" to make the self-signed certificate, is the signed .sis file available for 1 year only?

PostPosted: Feb 6, 2007 @ 9:46am
by edge
Hi Patrick,

By default, all Symbian 9 devices only take signed applications through Symbian Signed. A user can turn this behaviour off in the application manager so it also accepts self-signed applications.

You're right about the certificate created by makekeys, it only lasts a year. If you create an application and sign the sis file today, a user will get an expiration message if he wants to install it next year.

The only solution to fix this currently is to use OpenSSL, a utility usually installed on linux machines.

PostPosted: Feb 6, 2007 @ 10:45am
by patrickwai
Hi Edge,

If I use "makekeys" command to generate two sets of keys (eg. test1.key, test1.cer, test2.key, test2.cer) for two projects, I can only install one of them. Is there any methods to install both sis?

Thanks~

PostPosted: Feb 6, 2007 @ 1:18pm
by edge
Hi Patrick,

Can you tell me which error message you get when trying to install the second application. Do they use the same UID?

PostPosted: Feb 7, 2007 @ 3:05am
by patrickwai
Hi Edge,

The two applications have different UID.

When the installation starts (at the "Installing" page), it shows "update error" and then stop the installation.

PostPosted: Feb 8, 2007 @ 8:43am
by patrickwai
Hi Edge,

I found the reason finally: both the applications install Hekkus hss.dll.

Then I tried to modify the package file:

;Hekkus DLL
IF NOT(exists("\sys\bin\HSS.dll"))
"..\..\..\..\Hekkus\dll\symbian_v9-gcce\HSS.dll"-"!:\sys\bin\HSS.dll"
ENDIF

But the problem did not solve, I would like to ask what is the directory of HSS.dll installed?

PostPosted: Feb 8, 2007 @ 11:24am
by edge
Hi Patrick,

That is indeed a problem and unfortunately, can't be solved. It's an issue with Symbian 9 and DLL's, which requires the DLL to be installed in the global sys/bin folder. Further issues that may appear is when an updated DLL gets released, the application using the old DLL won't work properly anymore.

The only current solution is to retrieve the static library from the author of Hekkus. However, this requires a donation.