You Are Here:

Community: Developer Discussion Boards

#1 Old Ensymble --execaps & --dllcaps bug - 2007-05-21, 04:49

Join Date: Jan 2007
Posts: 6
notpeter
Offline
Registered User
I'm attempting to use Ensymble to sign the unsigned Python packages with my free DevCert and running into some problems.

Here is the command line I'm using (multi-line here for readability):
Code:
~/bin/ensymble.py signsis --cert=outgoing.cer
--privkey=privatekey
--passphrase=mypass PythonScriptShell_1_3_21_3rdEd_unsigned_freedevcert.SIS PythonShell1_3_21_3rd_SignedPete.sis
-v
--execaps=Powermgmt+ProtServ+SwEvent+NetworkServices+LocalServices+ReadUserData+WriteUserData+Location+SurroundingsDD+UserEnvironment
Output:
Code:
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/termios.py:7: DeprecationWarning: the TERMIOS module is deprecated; please use termios
  DeprecationWarning)
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/fcntl.py:7: DeprecationWarning: the FCNTL module is deprecated; please use fcntl
  DeprecationWarning)

Input SIS file    PythonScriptShell_1_3_21_3rdEd_unsigned_freedevcert.SIS
Output SIS file   PythonShell1_3_21_3rd_SignedPete.sis
Certificate       outgoing.cer
Private key       privatekey
EXE capabilities  0xff104 (ALL-TCB-CommDD-MultimediaDD-ReadDeviceData-WriteDeviceData-DRM-TrustedUI-DiskAdmin-NetworkControl-AllFiles)
DLL capabilities  <not set>

ensymble.py: 1 EXE-files will be modified, 0 DLL-files will be modified
But if I list one less capability (here I remove UserEnvironment, but it can be any of the capabilities) like so
Code:
~/bin/ensymble.py signsis --cert=outgoing.cer --privkey=privatekey --passphrase=mypass PythonScriptShell_1_3_21_3rdEd_unsigned_freedevcert.SIS PythonShell1_3_21_3rd_SignedPete.sis -v --execaps=Powermgmt+ProtServ+SwEvent+NetworkServices+LocalServices+ReadUserData+WriteUserData+Location+SurroundingsDD
I get proper output (all lines as above except EXE capabilities) which is now correctly:
Code:
EXE capabilities  0x7f104 (PowerMgmt+ProtServ+SwEvent+NetworkServices+LocalServices+ReadUserData+WriteUserData+Location+SurroundingsDD)
What is the deal here? execaps can handle nine listed capabilities, but with 10 it decides you instead want 'ALL'? (special 3 [rw device; trustedUI] & the big 7?)

I see the same behavior with --dllcaps, but omitted those lines for conciseness (yep, I could've been more verbose!)

The packages that get created install properly, but won't run (I imagine because of a certificate/rights mismatch or similar).

Anyone got any ideas?


Environment info:
Ensymble 0.22
Python 2.3.5 under OS X with ensymble_python2.3-0.22.py (deprecated stuff outputted due to old version of python)
Python 2.5.1 under WinXP with ensymble_python2.5-0.22.py (no deprecation warnings in output)
Reply With Quote

#2 Old Re: Ensymble --execaps & --dllcaps bug - 2007-05-21, 16:49

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
Quote:
Originally Posted by notpeter
Code:
EXE capabilities  0xff104 (ALL-TCB-CommDD-MultimediaDD-ReadDeviceData-WriteDeviceData-DRM-TrustedUI-DiskAdmin-NetworkControl-AllFiles)
Code:
EXE capabilities  0x7f104 (PowerMgmt+ProtServ+SwEvent+NetworkServices+LocalServices+ReadUserData+WriteUserData+Location+SurroundingsDD)
Ensymble tries to be clerer and shows the names of capabilities in the shortest form possible. ALL-CAP1-CAP2-... is shorter than CAP1+CAP2+... after the list of capabilities grows sufficiently long. Notice the "+" and "-" between capabilities. This is a cosmetic thing only.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
RecordStore bug on Series 60 ncerezo2 Mobile Java General 20 2008-11-13 05:31
Serious BUG in Nokia phones!!! bartekn Mobile Java Media (Graphics & Sounds) 10 2004-03-28 23:09
A bug: setColor with offscreen graphics - PLEASE, REPLY THIS TIME palmcrust Mobile Java General 11 2003-12-04 13:43
Firmware bug or code bug displaying list on 3650 blackjack75 Mobile Java General 2 2003-09-24 20:52
** Important ** Event bug in phone and emulator. fnagaton General Symbian C++ 8 2003-07-11 13:56

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d81449X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZpythonQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxpythonX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ