Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry® OS Smartphones

Reply
Highlighted
New Contributor
Posts: 4
Registered: ‎03-15-2012
My Device: Playbook
My Carrier: N/A
Accepted Solution

Adding release: Some files are missing signatures

[ Edited ]

I am currently creating a new product for the Playbook. I have properly signed my bar, verified it by unzipping and by trying it on two different playbooks. But when I try to add a release I get this error: "Some files are missing signatures" in the "Add Files" dialog window.

 

What is going on? How do I solve this problem?

 

 

EDIT:

Here is a screenshot of the error.

Screenshot of error. 

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Adding release: Some files are missing signatures

I took a look at profil's MANIFEST.MF and a dump of his .bar file (showing files/folders) and confirmed there's no apparent problem with signing. Also others in IRC tested it on their PlayBooks, so clearly it IS signed correctly.

Is this something new that the vendor portal is (finally) trying to check, and it's just not working properly yet?

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
BlackBerry Development Advisor
Posts: 15,727
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Adding release: Some files are missing signatures

Just to verify, can you check for the files described here?  How to verify your BAR file is fully signed

 

Was the BAR file modified after it was built by an SDK?  What type of application is this (AIR, WebWorks, Android or Native)?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Adding release: Some files are missing signatures

Mark, note my post above: the required files are there and others have run it on actual hardware so it must be signed properly.

 

Here's a dump of his .bar with the name changed:

Archive:  ObscuredApp_v5_properly-signed.bar
  Length      Date    Time    Name
---------  ---------- -----   ----
     1297  2012-03-07 03:01   META-INF/MANIFEST.MF
      607  2012-03-07 03:01   META-INF/AUTHOR.SF
      602  2012-03-07 03:01   META-INF/AUTHOR.EC
      607  2012-03-07 03:01   META-INF/RDK.SF
      280  2012-03-07 03:01   META-INF/RDK.EC
        0  2012-03-07 02:58   META-INF/
        0  2012-03-07 02:58   android/
        0  2012-03-07 02:58   android/res/
        0  2012-03-07 02:58   android/res/drawable-hdpi/
     1359  2012-03-07 02:58   android/res/drawable-hdpi/icon.png
    12329  2012-03-07 02:57   android/ObscuredApp.apk
---------                     -------
    17081                     11 files

That also shows it's an Android conversion.


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
BlackBerry Development Advisor
Posts: 15,727
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Adding release: Some files are missing signatures

How was the BAR file created, using the online packager, Eclipse plug-in or command line tools?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Contributor
Posts: 4
Registered: ‎03-15-2012
My Device: Playbook
My Carrier: N/A

Re: Adding release: Some files are missing signatures

Using the command line tools. I see now that if I do the "-verify" flag I get the same error. Very confusing..

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Adding release: Some files are missing signatures

It appears to me it might be the CN= field.  He exported the cert for me and it is set to just "NA", since he had registered as an individual and thought he didn't need a company name there.

 

We're generating a new .p12 now with a CN field matching his vendor name from the vendor portal and will compare...

 

Clearly, if this is right, the error messages could stand to be improved on this one.

 


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
New Contributor
Posts: 4
Registered: ‎03-15-2012
My Device: Playbook
My Carrier: N/A

Re: Adding release: Some files are missing signatures

I got a verified signed app now.

It was either my "CN" fields fault or the way I repackaged the bar file. Compare my current app:

 

 

Archive: ObscuredApp.bar
Length Date Time Name
--------- ---------- ----- ----
1304 2012-03-15 23:16 META-INF/MANIFEST.MF
599 2012-03-15 23:16 META-INF/AUTHOR.SF
648 2012-03-15 23:16 META-INF/AUTHOR.EC
599 2012-03-15 23:16 META-INF/RDK.SF
280 2012-03-15 23:16 META-INF/RDK.EC
 12329 2012-03-15 22:35 android/ObscuredApp.apk
1359 2012-03-15 23:08 android/res/drawable-hdpi/icon.png
--------- -------
17118 7 files

 

With the one I had before:

 

 Archive: ObscuredApp_v5_properly-signed.bar
Length Date Time Name
--------- ---------- ----- ----
1297 2012-03-07 03:01 META-INF/MANIFEST.MF
607 2012-03-07 03:01 META-INF/AUTHOR.SF
602 2012-03-07 03:01 META-INF/AUTHOR.EC
607 2012-03-07 03:01 META-INF/RDK.SF
280 2012-03-07 03:01 META-INF/RDK.EC
0 2012-03-07 02:58 META-INF/
0 2012-03-07 02:58 android/
0 2012-03-07 02:58 android/res/
0 2012-03-07 02:58 android/res/drawable-hdpi/
1359 2012-03-07 02:58 android/res/drawable-hdpi/icon.png
12329 2012-03-07 02:57 android/ObscuredApp.apk
--------- -------
17081 11 files

 

Anyway, this problem is solved, with that I got new problems, but that doesn't  belong here.

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Adding release: Some files are missing signatures

profil, given the error message, it sounds reasonable to assume it came from those folder entries in the .bar file.

For the record, what zip tool did you use to create it, or how did those entries come to be there? I notice now that other .bars don't have directory entries separately like that.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
BlackBerry Development Advisor
Posts: 15,727
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Adding release: Some files are missing signatures

Thanks for following up.  I'm going to look into this further with the App World team.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker