×

Discussion Board

Results 1 to 8 of 8

Thread: Qt app signing

  1. #1
    Nokia Developer Champion
    Join Date
    Dec 2008
    Posts
    2,355

    Qt app signing

    Hi,
    This is for the first time I am signing a Qt app , so need some suggestion.
    I have followed some steps based on my symbian C++ signing concept but getting either
    "Cannot install a protected application from untrusted supplier" or "Unable to install. Constrained by the certificate." error message.

    i got few links but bit confuse which to follow
    http://www.developer.nokia.com/Commu..._the_Ovi_Store
    http://www.developer.nokia.com/Commu...bian_Signed%29
    http://www.developer.nokia.com/Commu...er_for_Symbian


    1. What I want is how do I sign my app for certain IMEI with the Dev Cer as I used to do in Symbian C++ app
    2. How can I Express sign the app from symbian signed web site, can I express sign the app without the Smart Install?
    3. Do I need to add the smart Installer while submitting to the Ovi



    Please suggest me

  2. #2
    Nokia Developer Champion
    Join Date
    Dec 2008
    Posts
    2,355

    Re: Qt app signing

    when I change the UID with the protected UID form symbian signed then I am getting the above error.


    For Dev Signing I have followed the process, please let me know if that is a correct one
    1. Added the IMEI of the device to symbian signed
    2. Added the Key pair in Custom Certificate of Project icon.
    3. Leave the default UID of the app, ( UID is not changed)
    4. Build and Run -> sis file is generated



    For Express signing without smart Installer
    1. Replace the UID with the Protected UID form Symbian signed
    2. Generated sis file using Qt creator with Not signed option selected from project icon
    3. sign the sis file with signsis command and Publisher key pair
    4. Upload the sis file for Express signing to Symbian signed



    Please let me know if these process are correct

  3. #3
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Qt app signing

    basically you would sign sis files always the same way, and the errors are same. "Cannot install a protected application from untrusted supplier" means that you are trying to install applciation that would need to be symbian signed with only signed with self-signing certificate. "Cannot install a protected application from untrusted supplier" means that you are trying to install a sis file that is developer certificate signed to a device which is not included in the certificate, or the UID used in the sis is not included in the certificate.

    With Qt, you would actually need to sign the application sis file first, then wrap that sis file with teh Smart installer, and then sign that sis file again.

  4. #4
    Nokia Developer Champion
    Join Date
    Dec 2008
    Posts
    2,355

    Re: Qt app signing

    Quote Originally Posted by symbianyucca View Post
    basically you would sign sis files always the same way, and the errors are same. "Cannot install a protected application from untrusted supplier" means that you are trying to install applciation that would need to be symbian signed with only signed with self-signing certificate. "Cannot install a protected application from untrusted supplier" means that you are trying to install a sis file that is developer certificate signed to a device which is not included in the certificate, or the UID used in the sis is not included in the certificate.

    With Qt, you would actually need to sign the application sis file first, then wrap that sis file with teh Smart installer, and then sign that sis file again.
    so if I want to Express sing, then do I need to sign twice, once for app and then with the smart installer?
    If I dont add the samrt Installer then do I need to follow step 2 in post #2

  5. #5
    Nokia Developer Champion
    Join Date
    Dec 2008
    Posts
    2,355

    Re: Qt app signing

    does it mean that if I add protected UID then I can't sign it with the Dev Cer or Self-signed.

    Do I need to make any changes in the pkg file manually, cause as far i know even if I make any changes in the pkg file it will not get reflected, what ever we need to change in the pro file.

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Qt app signing

    basically same signing rules apply, thus if you use protected range UID, you can not do self-signing. Note that since june 2011, the certificate also checks that the UID is from the signing account. Thus do check that you do use only UIDs that are currently alloced under your symbian aigned account, and that account is the same one you are planning to use for the final signing.

    Each sis file needs to be signed, thus you do need to sign first the application sis file that would then get installed by the smart installer, and you do also need to sign the final sis file which is warpping your application sis file with smart installer, since that sis file could not be installed without it being signed.

  7. #7
    Nokia Developer Champion
    Join Date
    Dec 2008
    Posts
    2,355

    Re: Qt app signing

    I have observed one more thing.
    I got a new protected UID from Symbian Signed and then downloaded the Developer Certificate key pair.
    Added the Cer key pair in Qt Creator Custom Certificate and then hit the Run button.
    This generates the sis file and also the sis file gets installed on the device ( tested on two devices)
    But the app is not starting getting and error message
    Could not start application: General OS-related error

    But the same process works if I don't change the default UID of the project.

  8. #8
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Qt app signing

    chekc the actul panoc for the crash: http://www.developer.nokia.com/Commu...ded_panic_code

Similar Threads

  1. Signing midlet with Thawte code signing certificate, S40, using Netbeans
    By jarkkokahk83 in forum Mobile Java Networking & Messaging & Security
    Replies: 7
    Last Post: 2013-08-23, 06:18
  2. Certified signing or express signing for complicated application?
    By manubemanu in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 10
    Last Post: 2011-05-13, 12:48
  3. [Moved] Express Signing and Certified Signing
    By prashant.sharma in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 7
    Last Post: 2010-02-20, 12:54
  4. Express Signing and Certified Signing
    By prashant.sharma in forum General Development Questions
    Replies: 3
    Last Post: 2010-02-19, 08:03
  5. Is PIPS & SSL required signing separately for signing an application?
    By jupitar in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 6
    Last Post: 2008-11-19, 10:18

Posting Permissions

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