This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Signed application


Signed application

Postby patrickwai » Feb 6, 2007 @ 7:41am

Hi Edge,

How can I know which device only allows signed applications?
patrickwai
pm Member
 
Posts: 29
Joined: Jan 12, 2007 @ 2:24am


Postby patrickwai » Feb 6, 2007 @ 8:27am

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?
patrickwai
pm Member
 
Posts: 29
Joined: Jan 12, 2007 @ 2:24am


Postby edge » Feb 6, 2007 @ 9:46am

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.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby patrickwai » Feb 6, 2007 @ 10:45am

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~
patrickwai
pm Member
 
Posts: 29
Joined: Jan 12, 2007 @ 2:24am


Postby edge » Feb 6, 2007 @ 1:18pm

Hi Patrick,

Can you tell me which error message you get when trying to install the second application. Do they use the same UID?
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby patrickwai » Feb 7, 2007 @ 3:05am

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.
patrickwai
pm Member
 
Posts: 29
Joined: Jan 12, 2007 @ 2:24am


Postby patrickwai » Feb 8, 2007 @ 8:43am

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?
patrickwai
pm Member
 
Posts: 29
Joined: Jan 12, 2007 @ 2:24am


Postby edge » Feb 8, 2007 @ 11:24am

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.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron