BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 01-13-2006, 01:34 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2006
Model: 7520
Posts: 22
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default RIM Runtime Code Signing Key

Please Login to Remove!

Now when i try to run my program, utilizing the third party API jar for the printer/cardreader, i receive an error stating:

Error starting MyProgram: Module 'MyProgram' must be signed with the RIM Runtime Code Signing Key (RRT).

So, how do i get one of those?
Offline  
Old 01-16-2006, 05:56 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

you can buy them from RIM. they are us$ 100 for each client.
without a key you can not access "signed" elements.

gs
simon
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 01-16-2006, 08:40 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2006
Model: 7520
Posts: 22
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, so i got the Signing Authority Tool. I run the File Signer on my .cod file. It sends the info to RIM and returns a signature, everything looks to be fine. I deploy the new .cod file to my BlackBerry, and receive the same message "...must be signed with the RIM Runtime Code Signing Key (RRT)."

So, are there different file signers? I don't see any other way to sign this file, and i seem to be successfully signing it with the tool, so why is it still telling me it needs to be signed? Do i need special signatures to use certain APIs?

Confusion abounds...
Offline  
Old 01-16-2006, 09:46 AM   #4 (permalink)
wss
Knows Where the Search Button Is
 
Join Date: Aug 2005
Model: 7100
Posts: 17
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

In my experience sometimes signed cod's still give this error. try deleting the cod's, rebuilding, resigning and reloading. can be frustrating. should work eventually.
Offline  
Old 01-16-2006, 09:50 AM   #5 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2006
Model: 7520
Posts: 22
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm seeing now through the JDE that it is signing 2 of 3 items, but the one says

"Status: Not Registered; Category: Required; SignerID: 3; Signer Name: RIMAPPSA2"

Seems like i need to register with this signer to get signatures for this item, but i don't really have any information to go on. SignerID: 3? What is that? And RIMAPPSA2 doesn't return anything useful on Google... help?
Offline  
Old 01-18-2006, 07:08 AM   #6 (permalink)
Thumbs Must Hurt
 
Join Date: Sep 2004
Model: 8700
Carrier: T-mo
Posts: 162
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Check
http://www.blackberry.com/developers.../jde/api.shtml
Offline  
Old 01-18-2006, 02:47 PM   #7 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2006
Location: San Francisco, CA
Model: 7290
Carrier: Cingular
Posts: 53
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I just went through the same thing as you. I requested from RIM the ability to sign my code and submitted to them $100. I got an email with 3 files attached. The developer's guide, volume 2, page 10, tells you to 'Double-click a .csi file' and follow the remaining steps. But, you still need to do the same thing for the remaining files you get from RIM. They were good enough to *not* tell you this. What I did was manually run the signature tool on the remaining two .csi files. I think you can double-click them, too. I can't recall but a dialog appeared warning me that by proceeding I will overwrite some data. I disregarded this and everything still worked out fine.

Hope this helps!

Rich
Offline  
Old 01-18-2006, 03:38 PM   #8 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2006
Model: 7520
Posts: 22
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, it seems to me that there is a difference in downloading the Signing Authority Tool and simply letting the one in the JDE do the work? I'm not sure, but i downloaded the tool first and i was faced with options that didn't seem to make sense, and i was signing applications with arbitrary keys (ie whatever i put in as a SignerID when i registered the product) but all of that seems wrong, because i want to sign my code to the RRT thing which is RIM specific. It seems like those .csi files are what i need, and they plug into the JDE to correctly sign code, and i don't need this standalone filesigner at all.

At any rate, i haven't tried this out yet because RIM only lets you register with the keys once, so, when i wiped out everything and reinstalled, they won't let me register again, so i'm waiting on new keys. (sigh)

Hope i'm on the right track, guess i'll know tomorrow. More help appreciated if you know any of my response here to be correct or incorrect!

Thanks,
Loren
Offline  
Old 01-18-2006, 03:57 PM   #9 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2006
Location: San Francisco, CA
Model: 7290
Carrier: Cingular
Posts: 53
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think the tool you download is meant for those with JDEs prior to version 4.0. The SignatureTool is included in later versions. Its jar file is located in the bin directory under the JDE install directory.

I'm using JDE 4.1.0 and I didn't have to down load anthing extra. How this tool is used from the command line is described in the dev guide, vol 2. The JDE can also be used to sign code (your .cod files) by selecting Build -> Request Signatures.... This process is also described in the dev guide.

Sorry you have to wait for keys again.

Rich
Offline  
Old 06-29-2007, 12:27 PM   #10 (permalink)
Thumbs Must Hurt
 
Join Date: Apr 2007
Location: Cincinnati, OH
Model: 8700c
PIN: N/A
Carrier: Cingular
Posts: 87
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

In response to lorennorman's post of 01-16-2006 10:50 AM:
-------------------------------------------------------------------------

I believe I was having a similar problem. I had the Signing Tool registered and had successfully distributed several applications to my Blackberry. But then, with one of my applications, when I double-clicked the .cod file to request a signature, I noticed that one the lines read:

Status: Not Registered
Category: Required
SignerID: 3
Signer Name: RIMAPPSA2

In the details it said:

"Please contact the signer and register with the Signing Authority".


Here was my problem:
--------------------------------
When trying to use the Persistable Interface, I was trying to:

import net.rim.vm.Persistable; // <--THIS SEEMS TO BE CAUSING THE PROBLEM.


Solution:
----------------
When I looked it up again in the Javadocs, I saw that I should have been using:

import net.rim.device.api.util.*; // <--USING THIS INSTEAD SEEMED TO FIX IT.


Anyway, now it seems to load and run on the Blackberry ok.

Hopefully this might help someone in the future

Last edited by bbCincinnati : 06-29-2007 at 02:23 PM. Reason: better formatting
Offline  
Old 09-27-2007, 11:02 AM   #11 (permalink)
New Member
 
Join Date: Aug 2007
Model: pearl
PIN: N/A
Carrier: voda
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default runtime signing

would any of you be interested in signing an small application for me. I could pay a small fee to recoupe your us$100

It just needs the RRT element signed.
Offline  
Old 09-28-2007, 03:31 AM   #12 (permalink)
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

no. it's not a monetary thing, the codesigning keys let rim trackback if any malicious software appears in the wild and narrow it down to which company created it - there's a lot of agreements you sign when you signup and i'm pretty sure there'll be a clause that doesn't allow it.
__________________
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
Offline  
Old 11-10-2008, 12:10 AM   #13 (permalink)
New Member
 
Join Date: Oct 2008
Model: 7100
PIN: N/A
Carrier: engineer
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Rigester the code signing .csi files

Hi All,

I got the .csi files from RIM. When i tried to register those files it shows the alert messages like,,,,,The private key could not be found,and The private key is contained in the sigtool.csk which was not found.
Expected location:c:/blackberryjde4.2\binsigtool.csk
.

when i press Yes. It doesnt shows nothing. what i will do. help me . please

Thanks,
suresh a
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.