10-01-2012 08:45 AM
Hello. I'm trying to sign m marmalade app but constantly I'm getting invalid value "..." for Archive-Asset-x-Digest.
I modified marmalade py files from few posts on marmalade support forum, bacause the default config was producing bar files with inclusion of empty directories. I solved that, checked the new bar file (verify is ok) but when I try to sign with blackberry-signer -storepass xxx MyBar.bar I only get invalid value "..." for Archive-Asset-x-Digest.
==
Somehow I solved that. Just providing author.p12 file to marmalade deploy tool produces sign-able bar file. But still problems exist. I can't deploy the signed bar. It give failure 500 'NoneType' object has no attribute 'kind'
Very bad from marmalade site. They say come and use our "semi working" sdk
Solved! Go to Solution.
10-02-2012 01:58 PM - edited 10-02-2012 02:02 PM
Lets be real here for a second. They didnt say "hey, come use this (sdk its flawless)". They offered you a free 32GB PlayBook + 1 year of SDK in exchange for building an application.
Your chances of meeting success for support on the BlackBerry support forums for a third-party SDK is very minimal. You will have to work for your PlayBook + SDK software - sorry - its not just a handout
.
Without knowing everything you changed, I can't give you advice on it.
Correction: This link will show you where you went wrong: http://stackoverflow.com/questions/414230/python-n
10-02-2012 04:40 PM - edited 10-03-2012 02:45 PM
First of all, I said that because I was dissapointed a lot. Recently I got a chance to work with various engines for qnx, I my final conclusion is - a lot of work remains to be done.
Everything is fast coded, just to release it on the market, support is really slow, server side is always at fixing stage.
What I've done so far:
1. Created simple puzzle game, following a tutorials on net
2. Built it and tested on pc simulator, works ok
3. test on playbook device with debug token, passes ok
4. Create signed bar file. First try fails (Invalid digest xxxx). OK, somehow fixed it(the main point was to add author.p12 and pass to deploy utility). Still bar file is not signed properly, just author signed.
5. Signed it completely - with blackberry-signer tool. Goes ok, but bar contains empty directories (zip utility that creates bar package adds empty dirs).
6. OK, fixed that (zip -d barfile.bar native/)
7. Trying to deploy that final, fully signed bar to device - I get failure 500 'NoneType' object has no attribute 'kind'
I assume that it's due to inclusion of .jpg splashscreen to the bar package. look here
And another thing, during build I get
SUCCESS (WITH WARNINGS): EVALUATION USE ONLY package written to 'D:\jDownloader\SimplePuzzlef_Marmalade.s3dxproj\build_simplepuzzlef_vc10\deployments\default\playbo ok\release' [took 17.29s]. This package is not licensed for commercial use
explain to me how to publish that package to App World ?
Clearly something is wrong. Whether on my side or theirs.
10-03-2012 09:12 AM
After step 5 (2nd signing), can you run verify on your .bar file:
blackberry-signer -verbose -verify yourapp.bar
10-03-2012 01:31 PM
I forgot to mention that I tried with verify verbose. I get this error because of inclusion of META-INF and native directories.
D:\jDownloader\SimplePuzzlef_Marmalade.s3dxproj\build_simplepuzzlef_vc10\deploym ents\default\playbook\release>c:\blackberry.tools. SDK\bin\blackberry-signer -ver ify -verbose SimplePuzzlef.bar 2062 Wed Oct 03 19:29:20 CEST 2012 META-INF/MANIFEST.MF 1150 Wed Oct 03 19:29:20 CEST 2012 META-INF/AUTHOR.SF 683 Wed Oct 03 19:29:20 CEST 2012 META-INF/AUTHOR.EC 1150 Wed Oct 03 19:29:20 CEST 2012 META-INF/RDK.SF 280 Wed Oct 03 19:29:20 CEST 2012 META-INF/RDK.EC 0 Tue Jan 01 00:00:00 CET 1980 META-INF/ 0 Tue Jan 01 00:00:00 CET 1980 native/ sm 701 Wed Oct 03 19:27:38 CEST 2012 native/blackberry-tablet.xml sm 6940 Wed Oct 03 19:27:38 CEST 2012 native/icon.png sm 27845 Wed Oct 03 19:27:36 CEST 2012 native/mwm-splash-240.jpg sm 488362 Wed Oct 03 19:27:38 CEST 2012 native/SimplePuzzlef sm 1309933 Wed Oct 03 19:27:36 CEST 2012 native/SimplePuzzlef.s3e sm 1543157 Wed Oct 03 19:27:22 CEST 2012 native/SimplePuzzlef.stk s = signature was verified m = entry is listed in manifest k = at least one certificate was found in keystore i = at least one certificate was found in identity scope Error: Some files are missing signatures
10-03-2012 01:53 PM
After you remove the directory entries and re-sign the bar, what does verify report on the final bar?
10-03-2012 02:35 PM
After zip.exe -d barfile native/ and meta-inf/
D:\jDownloader\SimplePuzzlef_Marmalade.s3dxproj\build_simplepuzzlef_vc10\deploym ents\default\playbook\release>c:\blackberry.tools. SDK\bin\blackberry-signer -ver ify -verbose SimplePuzzlef.bar 2062 Wed Oct 03 19:29:20 CEST 2012 META-INF/MANIFEST.MF 1150 Wed Oct 03 19:29:20 CEST 2012 META-INF/AUTHOR.SF 683 Wed Oct 03 19:29:20 CEST 2012 META-INF/AUTHOR.EC 1150 Wed Oct 03 19:29:20 CEST 2012 META-INF/RDK.SF 280 Wed Oct 03 19:29:20 CEST 2012 META-INF/RDK.EC sm 701 Wed Oct 03 19:27:38 CEST 2012 native/blackberry-tablet.xml sm 6940 Wed Oct 03 19:27:38 CEST 2012 native/icon.png sm 27845 Wed Oct 03 19:27:36 CEST 2012 native/mwm-splash-240.jpg sm 488362 Wed Oct 03 19:27:38 CEST 2012 native/SimplePuzzlef sm 1309933 Wed Oct 03 19:27:36 CEST 2012 native/SimplePuzzlef.s3e sm 1543157 Wed Oct 03 19:27:22 CEST 2012 native/SimplePuzzlef.stk s = signature was verified m = entry is listed in manifest k = at least one certificate was found in keystore i = at least one certificate was found in identity scope Info: Bar verified.
On first try deploy failed. Second one success. Something is really messing with me ![]()
10-03-2012 02:47 PM
10-05-2012 09:36 AM
This is a marmalade license issue and you may have better luck posting on their forums. Try refreshing your license using the Marmalade Configuration Tool and redeploying (you will need to increase the version to avoid duplicate signing issues).
10-05-2012 01:07 PM