10-08-2013 09:05 AM
For signing app in bb10 from command line
In bb 10.1.0.4828 it is throwing this error
Error: Keystore load: Unexpected tag found: [Private 30] != Sequence [Decoding class:
com.trustpoint.pkcs.pkcs12.PFX] Exception in thread "main" java.lang.RuntimeException: Keystore load: Unexpected tag found: [Private 30] != Sequence [Decoding class: com.trustpoint .pkcs.pkcs12.PFX] at net.rim.device.codesigning.barsigner.BarSigner.for
(Unknown Source) at net.rim.device.codesigning.barsigner.BarSigner.if( Unknown Source) at net.rim.device.codesigning.barsigner.BarSigner.mai n(Unknown Source)
In Blackberry 10.2.0.1155
Error: Keystore load: Unexpected tag found: [Private 30] != Sequence [Decoding class: com.trustpoint.pkcs.pkcs12.PFX]
I am executing this command
blackberry-signer -storepass <storepassword> <path of csk file>
What is the issue, am i doing it wrong??
10-10-2013 09:56 AM
You specify the BAR file, not your CSK file. If the code signing files are in their default location they'll be found by blackberry-signer. The command should be:
blackberry-signer -storepass <storepassword> <path of BAR file>
10-11-2013 04:47 AM - edited 10-11-2013 04:52 AM
I dont have barsigner.csk or barsigner.db files in the default location. i need to create it.
For that i downloaded the bbitoken.csk and then run this command.
Is there any other way to do it.
I am using this version Blackberry 10 Native SDK 10.1.0.4828
10-15-2013 10:07 AM
bbidtoken.csk cannot be used to create barsigner.csk or barsigner.db. The first is a new way of signing using your BlackBerry ID account that requires a 10.2+ Gold SDK. To sign in 10.1, use the previous method, which would be the second option in the order form.