×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    17

    Thumbs up [solved]signing sis error (account verification)

    Hi there,
    please take a look:

    DIR
    Katalog: C:\Users\Właściciel\Downloads\symbian\SymbianSigned

    28-06-2011 09:47 <DIR> .
    28-06-2011 09:47 <DIR> ..
    28-06-2011 09:46 2 760 developercertificate.cer
    28-06-2011 09:46 1 675 developercertificate.key
    28-06-2011 09:35 280 symbian_signed_account_verification_sis.sis


    >signsis -s symbian_signed_account_verification_sis.sis developercertificate.cer
    developercertificate.key
    encryption error, Cannot read developercertificate.key.

    WHY?
    Last edited by akrynski; 2011-06-29 at 14:12.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,752

    Re: signing sis error (account verification)

    I guess the problem is the Polish (?) letters in your user name (and thus in the path).
    Consider doing everything regarding Symbian development in folders containing no special characters in their names.

    Generally there is an other problem with the thing you are trying to do: account verification is about signing that .sis file with your Publisher ID (if you have one), which would prove your identity.
    What you are doing now is: getting a developer certificate from Symbian Signed (anyone can do that), signing something with it, and sending back to Symbian Signed. It does not prove much about identity.

  3. #3
    Registered User
    Join Date
    Nov 2010
    Posts
    17

    Re: signing sis error (account verification)

    I thought so... But... OK, I understand - PublisherId is not the same as UID. Stupid mistake. So if i'm an individual i don't have to verify accountto t, right?
    By the way. I have UID for restricted area. When trying to sign my app that uses Location I get an error saying: unvalid certificate. And after signing my app online it works but seems to not read any data from Location. So how to test my apps on device? ( With simulator all works fine).

  4. #4
    Registered User
    Join Date
    Nov 2010
    Posts
    17

    Re: signing sis error (account verification)

    OK, thanks, I understand now. I am an individual so I don't have to verify account. And UID is not the same as PublisherID
    By the way. How to sign my own apps that uses restricted area as Location? I have registered UID for it but when trying to sign file offline (QTCreator2.2) I get an error saying cert file is not valid. I don't understand that. So how can I test my own apps on my own device?
    Another thing: I tried it on simulator and all works fine so danger that something goes wrong on phone is minimal. And it is my decision and responsibility so what for any restrictions?
    Another notice: I signed online an application that uses Location, works great on simulator, but signed doesn't work. That means any data from Location area is not displayed.
    Last edited by akrynski; 2011-06-28 at 12:45. Reason: an additional idea ;)

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,752

    Re: signing sis error (account verification)

    Location capability is user-grantable on S60 3rd FP2 and later devices.
    But generally those developercertificate.cer/key files are supposed to be used to sign the installer files (with your UIDs) for your devices.
    I just tried it with a Symbian SDK, and it was working fine. If Qt Creator does not eat it, you could look around in the Qt boards for support (I do not know Qt tools well).
    Although certification is not entirely about danger/not danger, the developer certificate is exactly about allowing to run non-certified code on your own devices.
    Actually Location capability is user grantable for S60 3rd FP2 devices and later. So you can try using self-signing for now (assuming that you are not working with an S60 3rd FP1 device of course).

  6. #6
    Registered User
    Join Date
    Nov 2010
    Posts
    17

    Arrow Re: signing sis error (account verification)

    I aim my code on Nokia N8-00 and other ( ^3 ) ,so it should work, but is does not. As I know self-signing is not allowed when using capability from restricted area. So I have to look for support somewhere else.
    Thank you for replies. It was very helpfully.

  7. #7
    Registered User
    Join Date
    Jun 2011
    Posts
    3

    Re: signing sis error (account verification)

    Quote Originally Posted by akrynski View Post
    I aim my code on Nokia N8-00 and other ( ^3 ) ,so it should work, but is does not. As I know self-signing is not allowed when using capability from restricted area. So I have to look for support somewhere else.
    Thank you for replies. It was very helpfully.
    The Location capability is not restricted and it should be included within your certificate. Your certificate is UID locked, so you should check that all the UIDs (0x2xxxxxxx) used within your project are allocated to you.

  8. #8
    Registered User
    Join Date
    Nov 2010
    Posts
    17

    Re: signing sis error (account verification)

    I use my uid: 0x20045318 registered for restricted area
    Code:
    symbian {
          TARGET.UID3 = 0x20045318
          DEPLOYMENT.installer_header=0x2002CCCF
          VERSION = 0.2
    
          vendorinfo = \
          "%{\"Andrzej Krynski\"}" \
          ":\"Andrzej Krynski\""
    
          qtmobilitydeployment.pkg_prerules += vendorinfo
            DEPLOYMENT.pkg_prerules += vendorinfo
      }
    And get an error like this (self translated from Polish but i hope readable):
    Warning:Self-signed binary packet "C:/PROGRAMOWANIE/projekty/Qt/moje/QtQuick2" has been modified to be able for installation.
    UID 0x20045318 is not compatible with self-signing!
    Package UID changed to: 0xE0045318.
    Use developer certificate or other signing option to avoid modifications.
    ...
    Executable with SID in the protected range (0x20045318) detected: "KApusta_patched_caps.exe". A self-signed sis with protected executables is not supported.
    ...
    What I am doing wrong?

    When i build executable without SmartInstaller option and using uid from unprotected range installation goes ok and my application works except that all data I need from Location are not available, for example positionSource.positioningMethod results "Not available"
    Last edited by akrynski; 2011-06-29 at 10:37.

  9. #9
    Registered User
    Join Date
    Nov 2010
    Posts
    17

    Re: signing sis error (account verification)

    Quote Originally Posted by tvenhola View Post
    The Location capability is not restricted .
    Since when? I don't think so.

  10. #10
    Registered User
    Join Date
    Jun 2011
    Posts
    3

    Re: signing sis error (account verification)

    Quote Originally Posted by akrynski View Post
    Since when? I don't think so.
    Since S60 3rd FP2. See http://www.developer.nokia.com/Commu...i/Capabilities

  11. #11
    Registered User
    Join Date
    Nov 2010
    Posts
    17

    Thumbs up Re: signing sis error (account verification)

    Indeed Thanks for your notice

    Wow! And thanks to you I have found my mistake in program code
    Silly I have commented ReadUserData in symbian:TARGET.CAPABILITY section.
    THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    BUT LOCATION DOES NOT WORK:

    "Location" capability detected for binary: "KApusta_patched_caps.exe". This capability is not self-signable for S60 3rd edition feature pack 1 devices, so installing this package on those devices will most likely not work.
    I have newest soft on my N8 so does it mean this phone has FP1?
    Last edited by akrynski; 2011-06-29 at 19:23.

Similar Threads

  1. Error signing sis file using signsis
    By smilesnigam in forum Symbian
    Replies: 6
    Last Post: 2008-04-03, 11:38
  2. Error signing sis file using signsis
    By smilesnigam in forum Symbian
    Replies: 0
    Last Post: 2008-03-31, 16:07
  3. Error in Signing .sis File
    By Psyve in forum Symbian
    Replies: 4
    Last Post: 2007-09-14, 08:52
  4. Carbide Theme Edition 3.1.1 Error creating SIS, when Package Signing
    By sirdronic in forum Tools and SDK Feedback (Closed)
    Replies: 0
    Last Post: 2007-05-11, 15:09
  5. Error while signing sis file
    By ashish_apj in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 1
    Last Post: 2006-12-08, 08:12

Posting Permissions

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