blackberry / webworks-gui

GUI Tool for WebWorks 2.0
https://developer.blackberry.com/html5/
Apache License 2.0
3 stars 5 forks source link

GUI does not use network signing keys does use when there is no local signing keys on machine #215

Open jengee opened 10 years ago

jengee commented 10 years ago

Found on win7 using IE9 removed all signing keys on local machine including debug token. (I used the full file path of the following \fsg11yyz\Proj\jgee\author.p12 \fsg11yyz\Proj\jgee\bbidtoken.csk so it would show up as this in the .json file \fsg11yyz\Proj\jgee\author.p12 \fsg11yyz\Proj\jgee\bbidtoken.csk)

Just wondering would this format would break if I had mapped the location like the following: M:\jgee\autho.p12 M:\jgee\bbidtoken.csk

Set the network signing keys in the global configuration. Confirmed that the signing keys have been set in the blackberry10.json file Build and Install to device in debug mode

GUI then reports that it is unable to find the signing keys nor can it find the debug token. (but I've provided the location of the signing keys so why is it asking?)

Output from cmd prompt stdout: [INFO] Target Q10-25a2811f selected [INFO] Generating debug token [INFO] Error: Keystore load: C:\Users\jgee\AppData\Local\Research In Motion\a uthor.p12 (The system cannot find the file specified) [WARN] Cannot sign applications. Author.p12 file cannot be found at default l ocation: C:\Users\jgee\Local Settings\Application Data\Research In Motion\author .p12 [WARN] Cannot sign applications. bbidtoken.csk file cannot be found at defaul t location: C:\Users\jgee\Local Settings\Application Data\Research In Motion\bbi dtoken.csk [INFO] Populating application source [INFO] Parsing config.xml [INFO] Generating output files [WARN] Failed to find debug token. If you have an existing debug token, pleas e copy it to C:\Users\jgee/.cordova/blackberry10debugtoken.bar. To generate a ne w debug token, execute the 'run' command. [INFO] Package created: C:\Users\jgee\WebWorks Projects\Project2\platforms\bl ackberry10\build\simulator\bb10app.bar [WARN] Failed to find debug token. If you have an existing debug token, pleas e copy it to C:\Users\jgee/.cordova/blackberry10debugtoken.bar. To generate a ne w debug token, execute the 'run' command. [INFO] Package created: C:\Users\jgee\WebWorks Projects\Project2\platforms\bl ackberry10\build\device\bb10app.bar [INFO] BAR packaging complete [INFO] Sending request: INSTALL_AND_LAUNCH [INFO] Action: Install and Launch [INFO] File size: 69464 [INFO] Installing Project2.testDev_Project2___c8537c59... [INFO] Processing 69464 bytes [INFO] actual_dname::actual_id:: [INFO] actual_version::result::failure 881 application author does not match debug token author

stderr:

Build and Install works in debug mode if I copied the signing keys locally.

If I Build and Install in release mode. I don't get any errors and the app is deployed just fine.