Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Adobe AIR Development

Reply
Developer
JRab
Posts: 2,387
Registered: 11-04-2010

Re: HOWTO: Sign your Applications from CMD

i dont think removing the files and putting them elsewhere on a seperate system is enough to migrate. you most likely have to do the whole registration over again ont he new system. from what i've seen from the java dev, you can only have one signing machine.

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Please use plain text.
Developer
peter9477
Posts: 3,831
Registered: 12-08-2010
My Carrier: none

Re: HOWTO: Sign your Applications from CMD

If this stuff is really not portable between machines (which I doubt), then it's doing something that RIM needs to document because it would involve tracking data about my machine that I would consider private.  RIM's pretty big on privacy concerns, so I doubt that's happening.

 

I'll try moving this to one of my Linux boxes tonight, unless someone else can confirm the portability and which files are crucial to the process.


Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru | Get more from your battery! Power, voltage, life.
Please use plain text.
Developer
tensioncore
Posts: 303
Registered: 12-13-2010
My Carrier: Rogers

Re: HOWTO: Sign your Applications from CMD

I think you'll just need to be very gentle where you move things....it seems that there are a good number of different files in different locations.
CEO/Lead Developer - Tensioncore Design Studios
http://tncr.ws/ - ShortenThis! for Blackberry Playbook
The Periodical Toe A highly informative Table of Elements
http://www.tensioncore.com/ - Tensioncore Web Hosting
Please use plain text.
Developer
JRab
Posts: 2,387
Registered: 11-04-2010

Re: HOWTO: Sign your Applications from CMD

if the way the java keys work is any indication of the way that the tablet keys work, i dont think you can just move them, or at least thats what i took from this:

 

http://supportforums.blackberry.com/t5/Testing-and-Deployment/I-want-to-change-my-computer-Code-sign...

 

 

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Please use plain text.
Developer
peter9477
Posts: 3,831
Registered: 12-08-2010
My Carrier: none

Re: HOWTO: Sign your Applications from CMD

I agree it's possible you can't move them, but if so it should be documented why... what information about my machine is it that they are storing on their server that is used to prevent me from migrating the keys to a different machine?

 

Or is it just about the data being squirreled away in obscure places?  Unlikely, given that it's Java and cross-platform, so they're obviously not putting it in the Windows registry.

 

By the way, the post immediately following the one JRab linked to above is from someone saying he had actually succeeded merely by moving the .csk and .db files to another machine.  I'll try tonight.


Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru | Get more from your battery! Power, voltage, life.
Please use plain text.
Developer
Harry_Dodgson
Posts: 132
Registered: 10-26-2010
My Carrier: Verizon

Re: HOWTO: Sign your Applications from CMD

Hi,

 

Does a signed app work any differently (if at all) in the simulator?

 

Harry

--------------
Accepted PlayBook Applications: Marmi-doos, BASIC, Run and Hide
Please use plain text.
Developer
tensioncore
Posts: 303
Registered: 12-13-2010
My Carrier: Rogers

Re: HOWTO: Sign your Applications from CMD

[ Edited ]

Harry_Dodgson wrote:

Hi,

 

Does a signed app work any differently (if at all) in the simulator?

 

Harry


No its simply for proving who you are.
Think of it as being in the AppStore on an Apple device as opposed to being only available to people with jailbroken phones through cydia.
Its to show that you are reputable.
CEO/Lead Developer - Tensioncore Design Studios
http://tncr.ws/ - ShortenThis! for Blackberry Playbook
The Periodical Toe A highly informative Table of Elements
http://www.tensioncore.com/ - Tensioncore Web Hosting
Please use plain text.
Developer
peter9477
Posts: 3,831
Registered: 12-08-2010
My Carrier: none

Re: HOWTO: Sign your Applications from CMD

The only "visible" signs of any differences that I can see are that the signed app will have a different Package ID, so you'll get a separate icon for it, and if you look at /var/log/launcher/current you can tell.  

 

With the unsigned apps, there will be messages about failed verification, but none with the signed app.

 

Here are unsigned followed by signed attempts.

 

ca.engenuity.Foo.dWl0eS5XaGl0ZU5vaXNlICAgICA: couldn't read app/META-INF/RDK.SF (No such file or directory)
ca.engenuity.Foo.dWl0eS5XaGl0ZU5vaXNlICAgICA: Manifest failed verification.
ca.engenuity.Foo.dWl0eS5XaGl0ZU5vaXNlICAgICA: Application verification took 15 milliseconds (290274 bytes)
ca.engenuity.Foo.dWl0eS5XaGl0ZU5vaXNlICAgICA: Application verification failed.
Start ca.engenuity.Foo.dWl0eS5XaGl0ZU5vaXNlICAgICA produces 1667115
Active ca.engenuity.Foo.dWl0eS5XaGl0ZU5vaXNlICAgICA 1667115
Child ca.engenuity.Foo.dWl0eS5XaGl0ZU5vaXNlICAgICA 1667115 exited

ca.engenuity.Foo.gYABgGOrLei047cf533XdF9phns: Application verification took 28 milliseconds (290274 bytes)
Start ca.engenuity.Foo.gYABgGOrLei047cf533XdF9phns produces 1671211
Active ca.engenuity.Foo.gYABgGOrLei047cf533XdF9phns 1671211
Child ca.engenuity.Foo.gYABgGOrLei047cf533XdF9phns 1671211 exited

 

 

 


Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru | Get more from your battery! Power, voltage, life.
Please use plain text.
Developer
jtegen
Posts: 4,247
Registered: 10-27-2010
My Carrier: Verizon

Re: HOWTO: Sign your Applications from CMD

Do you have to sign/resign an app everytime the BAR file gets re-generated?

I am getting:

 

...
71 48 6d 2f 6e 41 3d 3d
Connecting to url http://www.rim.net/Websigner/servlet/RDK-Waterloo
Sending properties to server...
Properties of response := [
Version = 1
Response = Signature Response
Confirm = null
Error = Code signing request failed because this file has been previously signed.
]
barsigner error: server error: Code signing request failed because this file has been previously signed.

 

Please use plain text.
Developer
JRab
Posts: 2,387
Registered: 11-04-2010

Re: HOWTO: Sign your Applications from CMD

did you make any changes to any of the files that are packaged up and put into the bar file?

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Please use plain text.