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

Testing and Deployment

Reply
New Developer
Posts: 26
Registered: ‎06-07-2012
My Device: Playbook 32gb, Dev Alpha C
My Carrier: Wifi
Accepted Solution

Native SDK to Marmalade Quick csk

While using Marmalade sdk, I registered the csk through the native sdk since i was unable to register them using command line. Then i gave the author.p12 path in the Marmalade Quick Launchpad and did what all was required.

But while uploading that .bar file on the vendor portal, i get this message-

 

Bar is not RDK signed Bar is not AUTHOR signed This bar contains unregistered entries which have not been integrity-checked.

 

Can someone help me out?

BlackBerry Development Advisor
Posts: 15,807
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Native SDK to Marmalade Quick csk

That error indicates the bar file isn't properly signed.

 

This command will show you the signature status for each file in your bar file.

 

blackberry-signer -verify -verbose yourFile.bar

 

Paste the results here if you need help interpreting it.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
New Developer
Posts: 26
Registered: ‎06-07-2012
My Device: Playbook 32gb, Dev Alpha C
My Carrier: Wifi

Re: Native SDK to Marmalade Quick csk

marmalade.png

BlackBerry Development Advisor
Posts: 15,807
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Native SDK to Marmalade Quick csk

That bar file hasn't been signed at all.  Assuming this isn't a debug bar file, you can sign it using the following command:

 

blackberry-signer -storepass <your p12/CSK password> <BAR_file.bar>

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
New Developer
Posts: 26
Registered: ‎06-07-2012
My Device: Playbook 32gb, Dev Alpha C
My Carrier: Wifi

Re: Native SDK to Marmalade Quick csk

[ Edited ]

"Enter Passphrase for Keystore:"

 

this is what i get everytime on registering csk from command line.

And what ever i enter there neither it is visible nor it accepts anything.

 

That is why i used Native sdk to register them and then gave the "author.p12" path in the Marmalade Quick Launchpad

BlackBerry Development Advisor
Posts: 15,807
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Native SDK to Marmalade Quick csk

You only need to register once.  Are you having problems registering or signing?

 

What happens when you try to sign from a command line?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
New Developer
Posts: 26
Registered: ‎06-07-2012
My Device: Playbook 32gb, Dev Alpha C
My Carrier: Wifi

Re: Native SDK to Marmalade Quick csk

[ Edited ]

If i am developing on Marmalade, then is it neccesary that the keys should be registered using Marmalade SDK only ie the blackberry-signer available in the marmalade sdk folder.

Or can i use any blackberry sdk in order to register the keys?

 

 

"Enter Passphrase for Keystore:"

 

this is what i get everytime on registering csk from command line.

And what ever i enter there neither it is visible nor it accepts anything.

and the error is displayed-

Error: Certificae chain not found for :<myfile.bar>

 

 

 

BlackBerry Development Advisor
Posts: 15,807
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Native SDK to Marmalade Quick csk

The same key files are used for all BlackBerry 10 development tools.  You may need to select the author.p12 for some, but the BlackBerry code signing keys are stored and read from a standard, shared location.

 

THe passphrase for the keystore would be the password for your author.p12 file.

 

Have you ever signed a bar file before?  If not it might be better to start fresh with a new set of keys and new author.p12 file, allowing you to choose a new password.  I can help with this if you want to go this route.  Note if you have signed applications before changing keys will prevent you from creating updates for existing applications.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
New Developer
Posts: 26
Registered: ‎06-07-2012
My Device: Playbook 32gb, Dev Alpha C
My Carrier: Wifi

Re: Native SDK to Marmalade Quick csk

I had actualy succesfully signed two keys before and have published those apps.

 

For Marmalade Quick, i created a new author.p12 file from the Native SDK (deleting the previous one) and have the keys registered on my computer and also created a debug token for my device.

 

But signing from command line is not accepting the password for author.p12 file.

BlackBerry Development Advisor
Posts: 15,807
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Native SDK to Marmalade Quick csk

Did you overwrite the existing author.p12 file?  Unless specified, the command line approach will use the author.p12 located in the default directory as described here.

 

Backup and Restore BlackBerry Code Signing Keys

 

Was the same password used when creating the new author.p12 file?  Note that both the author.p12 and BlackBerry code signing keys (barsigner files) have a password.  The setup wizard in the BlackBerry Native SDK sets the same password for both.  If you changed the password for the new author.p12 it could be breaking things since they are not in sync.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.