04-14-2013 01:34 PM
I'm trying to create a debug token to deploy an app to a Dev Alpha C but Momentics is prompting me for my author.p12 password. I enter this and it then prompts me yet again.
I've previously signed & deployed to a Dev Alpha and a Playbook via Momentics and the command line respectively (so I know it should work).
To fix my current problem I've tried:
i) using backups of my author.p12, barsigner.csk and barsigner.db files, but that doesn't work.
ii) deleting author.p12 and recreating the 'Developer Certificate' in Momentics. The strange thing is it then immediately prompts me to enter the password and it does not accept the new password!?
Any ideas please? This convoluted process is a massive time waster - I hope BB can sort something better out!
04-15-2013 08:11 AM
04-16-2013 03:14 PM
Thanks - that didn't work for me this time. I could do with an error message to pinpoint the problem - Momentics just keeps reprompting.
I'm going to try recreating the author.p12 file from the command line. (I used the BB PB21 NDK binaries to do this for the Playbook as it seemed to be an issue - maybe BB10 NDK binaries are different.)
Another evening wasted trying to hack something that should just work! [Sigh]
04-21-2013 03:15 AM - edited 04-21-2013 03:16 AM
This is frustrating. I'm sure there's a problem with Momentics, otherwise how can I do the following via the command line?...
So I recreated my author.p12 file (passwords are identical for CSK and storepass and have not changed since registration):
blackberry-keytool -genkeypair -keystore (output file name) -storepass (another password) -dname "cn=(your company name)" -alias author
and created a debug token for my device:
blackberry-debugtokenrequest -cskpass (your password) -keystore (your keystore file) -storepass (another password) -deviceId 0x(your device PIN) (output file name)
I then switched to development mode on the device and deployed the debug token:
blackberry-deploy -installDebugToken (your debug token) -device (IP address) -password (device password)
and this deployed successfully. If I had simply forgot my CSK or author.p12 password why does this work?
I've tried reinstalling Momentics, deleting and restoring the siging keys (via the Momentics interface). So the interface behaves as follows:
Open Momentics, click 'Windows'-'Preferences' menu options then 'Blackberry'-'Signing'. I'm prompted for my author.p12 password which I enter:
It then immediately responds with the same Window. I repeat process, but it keeps coming back. Eventually I give up and press cancel and the dialog window looks like this (username blanked out, but the 'Author:' field is as it appears in Momentics)
Any ideas what's wrong please? I got a less than helpful tweet back from @blackberrydev and despite not liking Momentics (more of a Qt-Creator fan), I've just about got used to it.
04-22-2013 10:32 AM
It sounds like it may be a bug of some sort. Can you reproduce the problem and then submit it (from the NDK, Help->Report BlackBerry Native SDK Bug)
Does it work with the 10.0 SDK?