×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    80

    Question Distributing my own OSS app : which UID range ? Automatic certificate ?

    Hi there

    I plan to release an OSS port of the GNU HTTP Tunnel for Symbian (in Open C) (coming soon here). Only Network capability is needed. Signing is a new concept for me, despite a lots of reading...
    For now, I'm using an UID in Exxxxxxxx range (development range ?), and is self signed with makekeys. Here's the questions :

    1- Can I distribute the .sisx with Exxxxxx UID ? If yes, how to be sure it's unique ?
    2- Since, I don't have any certificate, makekeys generate one for me, can I distribute my application self-signed using the latter ? If yes, Is there any expiration time (6 month?) or limitation ?

    Thanks in advance..
    In a world without Walls nor Windows, who need Gates ?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: Distributing my own OSS app : which UID range ? Automatic certificate ?

    After registrating on www.symbiansigned.com you can request "unique UID"-s from the A-range. E-range is for development use only (check the FAQ on the same site).
    makekeys -view can show you the details of an exisiting certificate. Default validity period of makekeys-generated certificates is 1 year.

  3. #3
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    80

    Re: Distributing my own OSS app : which UID range ? Automatic certificate ?

    Thank you for your precise answer. Since the project is an open source port, I'll distribute sources with E range and the .sisx within the A range. It's a bit messy, no ?
    In a world without Walls nor Windows, who need Gates ?

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: Distributing my own OSS app : which UID range ? Automatic certificate ?

    If you release something - does not matter if it is open/closed free/paid - you should use the release ranges (2 from protected or A from unprotected). In these ranges you can request for UID-s, and they will be unique.
    If you release anything (it does not have to be an application, it can be an API too), its UID has to fall in the release range.

  5. #5
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    80

    Re: Distributing my own OSS app : which UID range ? Automatic certificate ?

    Ok, thanks !

    I just retrieved an UID in the A range from SymbianSigned.
    I updated MMP and PKG to reflect the changes, self-signed with makekeys but the phone say : "Unable to install"

    From now, I used UID 0xE12E55B4 (from a Nokia example), which worked. I tried with 0xE12E55B5, but I get the same message as above. Of course, I uninstalled previous version before installing again..

    Code:
    ***Build Complete
    
    ***Invoking makesis.exe ....
    C:\Symbian\9.2\S60_3rd_FP1_2\epoc32\tools\makesis.exe C:\cygwin\home\Nono\gtunnel\httptunnel-3.0.5_S60\_resolvedhttptunnels60.pkg C:\cygwin\home\Nono\gtunnel\httptunnel-3.0.5_S60\httptunnels60.sis -v 
    Processing C:\cygwin\home\Nono\gtunnel\httptunnel-3.0.5_S60\_resolvedhttptunnels60.pkg...
    Created C:\cygwin\home\Nono\gtunnel\httptunnel-3.0.5_S60\httptunnels60.sis
    
    ...No key/cert defined. Generating dummy key/cert for self-signing (key-gen.key/cert-gen.cer)...
    No passphrase defined. Using: "DefaultPassword"
    
    ***Invoking makekeys....
    C:\Symbian\9.2\S60_3rd_FP1_2\epoc32\tools\makekeys.exe -cert -password DefaultPassword -len 2048 -dname "CN=JoeBloggs OR=Acme" key-gen.key cert-gen.cer 
    Using existing private key key-gen.key
    Created certificate cert-gen.cer
    
    ***Invoking signsis.exe....
    C:\Symbian\9.2\S60_3rd_FP1_2\epoc32\tools\signsis.exe -v  -s C:\cygwin\home\Nono\gtunnel\httptunnel-3.0.5_S60\httptunnels60.sis C:\cygwin\home\Nono\gtunnel\httptunnel-3.0.5_S60\httptunnels60.sisx C:\cygwin\home\Nono\gtunnel\httptunnel-3.0.5_S60\cert-gen.cer C:\cygwin\home\Nono\gtunnel\httptunnel-3.0.5_S60\key-gen.key DefaultPassword
    In a world without Walls nor Windows, who need Gates ?

  6. #6
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Smile Re: Distributing my own OSS app : which UID range ? Automatic certificate ?

    Quote Originally Posted by nono240 View Post
    ...the phone say : "Unable to install" ...
    Then probably you have messed up with UID changes. Anyways here is one blog from Antony: http://blogs.forum.nokia.com/index.p...7&articleId=93

    Search for "Unable to install" in entire blog, you would end up with good information, which eventually may help you.

    Kiran.
    Nokia Developer Wiki Moderation team

  7. #7
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    80

    Re: Distributing my own OSS app : which UID range ? Automatic certificate ?

    Thanks for this link !

    Acocrding to Antony, my problem is :

    This message may come up when your installation file (.sis/.sisx) copies files to other application's private folder, i.e. privateuid. Note that Symbian 9 introduces data caging concept, it means you don't have access to other application's private folder.
    My mistake were in .pkg file in backup_registration location : I forget to change UID..

    Code:
    ; Installation file for GNU Http tunnel application
    ;
    ; This is an auto-generated PKG file by Carbide.
    ; This file uses variables specific to Carbide builds that will not work
    ; on command-line builds. If you want to use this generated PKG file from the
    ; command-line tools you will need to modify the variables with the appropriate
    ; values: $(EPOCROOT), $(PLATFORM), $(TARGET)
    ;
    ;Language - standard language definitions
    &EN
    
    ; standard SIS file header
    #{"GNU HTTP Tunnel Client"},(0xA0007795),1,0,0
    
    ;Localised Vendor name
    %{"Vendor-EN"}
    
    ;Unique Vendor name
    :"Vendor"
    
    ; pips_s60_wp.sis is required
    (0x20009A80), 0, 0, 0, {"OpenCRuntime"}
    ; openc_glib.sis is required
    (0x10281F2C), 0, 0, 0, {"GlibRuntime"}
    
    ;Supports Series 60 v 3.0
    [0x101F7961], 0, 0, 0, {"Series60ProductID"}
    
    ;Files to install
    ;"C:\Symbian\9.2\S60_3rd_FP1_2\Epoc32\release\gcce\urel\htc60.exe" -"!:\sys\bin\htc60.exe"
    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\htc60.exe" -"!:\sys\bin\htc60.exe"
    
    ;text continue
    "notice.txt" -"",FT,TC
    
    ;required for application to be covered by backup/restore facility 
    "backup_registration.xml" -"!:\private\E12E55B4\backup_registration.xml"

    THANKS !
    Last edited by nono240; 2008-04-05 at 10:43. Reason: found the mistake :)
    In a world without Walls nor Windows, who need Gates ?

  8. #8
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Distributing my own OSS app : which UID range ? Automatic certificate ?

    Quote Originally Posted by nono240 View Post
    Thanks for this link !

    Code:
    ....
    TARGET          htc60.exe
    TARGETTYPE      exe
    UID             0xA0007795
    
    ...
    // End of File
    Code:
    ...
    ; standard SIS file header
    #{"GNU HTTP Tunnel Client"},(0xA0007795),1,0,0
    
    ...
    ;required for application to be covered by backup/restore facility 
    "backup_registration.xml" -"!:\private\E12E55B4\backup_registration.xml"
    Some UID problem is there with Backup registration file. Shouldn't it be A0007795 instead of E12E55B4?

    Kiran.
    Nokia Developer Wiki Moderation team

Similar Threads

  1. Overriding automatic camera app launch?
    By m-jn in forum Symbian
    Replies: 5
    Last Post: 2007-11-11, 14:17
  2. Replies: 1
    Last Post: 2006-05-18, 18:23
  3. How to get view UID of app
    By ykm in forum Symbian
    Replies: 2
    Last Post: 2004-05-22, 17:29
  4. Replies: 11
    Last Post: 2003-10-22, 16:41
  5. Changing app place / automatic List
    By btnokdev in forum Mobile Java General
    Replies: 1
    Last Post: 2003-09-08, 23:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×