| Reply | « Previous Thread | Next Thread » |
|
Hello everybody ;
Here's a new version of envy module with a GREAT addition feature : You can now testing if your scriptshell is unsigned with dev cert (13) or selfsigned (5 caps) or amazing with any capabilities ![]() Syntax used is very versatile. Code:
from envy import *
# testing selfsigned
print has_capabilities(SELFSIGNED) # return 1 if True / 0 if false
print has_capabilities('selfsigned')
print has_capabilities('ALL-ReadDeviceData-WriteDeviceData-TrustedUI-ProtServ-SwEvent-Location-SurroundingsDD-PowerMgmt-NetworkControl-CommDD-MultimediaDD-DiskAdmin-DRM-TCB-AllFiles') print has_capabilities((ECapabilityReadUserData,ECapabilityWriteUserData,ECapabilityUserEnvironment,ECapabilityNetworkServices,ECapabilityLocalServices)) print has_capabilities('ReadUserData+WriteUserData+UserEnvironment+NetworkServices+LocalServices')
# testing unsigned
print has_capabilities('unsigned')
# testing your against any capabilities set
print has_capabilities('ALL-TCB-AllFiles')
# Display capacity in Python Script shell or your standalone app if running from this location !
print app_capabilities()
links : envy 3rd 1.0.2 selfsigned envy 3rd 1.0.2 unsigned pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 ! pys60 extension modules on http://cyke64.googlepages.com/ |
|
Hi Cyke64,
Finally Tested Your new release of Envy module on my device (Signed envy)Talking about the example you provided here , it returned the following error Quote:
Code:
print has_capabilities(SELFSIGNED) # return 1 if True / 0 if false
print has_capabilities('selfsigned')
print has_capabilities('ALL-ReadDeviceData-WriteDeviceData-TrustedUI-ProtServ-SwEvent-Location-SurroundingsDD-PowerMgmt-NetworkControl-CommDD-MultimediaDD-DiskAdmin-DRM-TCB-AllFiles')
print has_capabilities((ECapabilityReadUserData,ECapabilityWriteUserData,ECapabilityUserEnvironment,ECapabilityNetworkServices,ECapabilityLocalServices))
print has_capabilities('ReadUserData+WriteUserData+UserEnvironment+NetworkServices+LocalServices')
(I guess you forgot to press enter)Then I get five 1s and two 0s. 5 ones are for LocalServices,Network Services,ReadUserData,UserEnvi and WriteUserData...So these are the capabilities... Now I am going to sign my script shell after posting this.. Also tested the code for envy that You had mailed me for Betatesting It again returns 5 capabilities (Just as indicated by 1s) and that the application is selfsigned at present... Also it returns a YES at the end... Quote:
Best Regards croozeus |
|
Hello ,
I think that envy 1.0.2 with the new feature : has_capabilities() is really useful !!! Today I try my new module cenrep 1.3.0 and I have errors with setting functions ![]() I only discover why when I launch this statement : envy.has_capabilities('unsigned') I return 0 (false) So I have installed a selfsigned Python Shell !!! So it's very usefulThank envy ![]() Cyke64 pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 ! pys60 extension modules on http://cyke64.googlepages.com/ |
|
Hi,
Well thats an application of envy.... Moreover also i have to use it in all my apps to avoid exiting on red key ![]() Its really useful! Thanks Cyke Best Regards croozeus |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| [announce] sysagent module | cyke64 | Python | 7 | 2009-01-28 13:52 |
| [announce] envy module for 3rd : prevent red key from aborting Python ! | cyke64 | Python | 4 | 2008-04-14 04:23 |
| Carbide.j 1.5 and Netbeans 5.5 beta 2 | ovjo12 | Mobile Java Tools & SDKs | 5 | 2007-06-11 06:43 |
| S60 2nd to 3rd/ PlatformSecurity / Capabilities | jarkoos | Installation, Certification and Security | 4 | 2007-04-14 15:08 |
| [announce] Enhanced Graphics module | GameDude | Python | 10 | 2007-03-18 19:44 |