Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
barlowdot1
Posts: 36
Registered: ‎02-06-2011
My Device: bold 9900

Failing to Link your current barsigner.csk to the bbidtoken.csk

this is the guide I am using but am failing to link the files. Does anyone have an example of a completed script?

 

blackberry-signer -linkcsk –cskpass <Legacy CSK password or BBID Token CSK password>

 

My script look like this

blackberry-signer -linkcsk barsigner.csk –cskpass password

 

I get the folowing error: cskpass must be specified.

 

both my barsigner.csk and bbidtoken.csk are in the same directory. What am I doing wrong?

Retired
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Failing to Link your current barsigner.csk to the bbidtoken.csk

Check out the Code Signing Support help page:

https://developer.blackberry.com/CodeSigningHelp/codesignhelp.html

 

It suggests using the following command instead (note 'oldcskpass' instead of 'cskpass'), which works if the code signing password of your old keys and the new token are the same:

 

blackberry-signer -linkcsk –bbidtoken  -oldcskpass  –bbidcskpass

 

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Developer
barlowdot1
Posts: 36
Registered: ‎02-06-2011
My Device: bold 9900

Re: Failing to Link your current barsigner.csk to the bbidtoken.csk

[ Edited ]

Do I just run the script as is or should I replace some of the parameters with file names and passwords? should all the files be in the same directory?

 

this is what im doing. Is is clearly not correct as I am still getting error " -cskpass must be specified"

blackberry-signer -linkcsk barsigner.csk –bbidtoken bbidtoken.csk -oldcskpass oldpassword –bbidcskpass password

BlackBerry Development Advisor
MSohm
Posts: 14,859
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Failing to Link your current barsigner.csk to the bbidtoken.csk

You should save your BlackBerry ID Token (bbidtoken.csk) in the default directory where your legacy keys are stored.  The directories are:

 

  • Windows® XP:  %HOMEPATH%\Local Settings\Application Data\Research In Motion
  • Windows Vista®, Windows 7® and Windows 8®:  %HOMEPATH%\AppData\Local\Research In Motion
  • Mac OS:  ~/Library/Research In Motion
  • Unix / Linux:  ~/.rim

Then just run this command, replacing the paramenters in <>

 

blackberry-signer -linkcsk –bbidtoken <BBID Token CSK filename>
-oldcskpass <Legacy CSK password> –bbidcskpass <BBID Token CSK password>

 

If you still get that error, you are likely using an earlier version that doesn't support BlackBerry ID Tokens.  To check that run "blackberry-signer" without any parameters and note the version on the first line.  Version 3.0.9 or higher supports BlackBerry ID Tokens.

 

 

 

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
barlowdot1
Posts: 36
Registered: ‎02-06-2011
My Device: bold 9900

Re: Failing to Link your current barsigner.csk to the bbidtoken.csk

Everything is as per your recommendation. still no luck.

 

I would register all new signing keys but I have a number of apps that must be updated.

 

Any other recommendations will be appreciated

BlackBerry Development Advisor
MSohm
Posts: 14,859
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Failing to Link your current barsigner.csk to the bbidtoken.csk

What version for blackberry-signer do you have?  Can you post the command line you are using (mask passwords) and result you see?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker