[AG-TECH] Trouble with VenueClient on AG2.1.2 (was : Certificate)

Joseph joseph at cs.usyd.edu.au
Wed Jun 2 22:19:05 CDT 2004


Hi

I'm still looking for a solution to my segmentation fault problem after 
while requesting a new certificate.

I've looked at the code of VenueClient.py and I've realised that it comes 
 from the line :
xext = crypto.X509Extension(name, critical, value)
in the 
/usr/lib/python2.3/site-packages/AccessGrid/CertificateRepository.py file 
(around line 604, as I've modified the file I can't say exactly which 
line).

After this line comes the segmentation fault. I've found too, with a grep 
X509Extension, that the only matches are in the binary files 
./python2.3/site-packages/OpenSSL_AG/SSL.so and 
./python2.3/site-packages/OpenSSL_AG/crypto.so. BTW, I have installed 
pyOpenSSL_AG0.5.1 from the AccessGrid download page of AGtk2.1.2 .

Origin of the call of X509Extension :

The xext = crypto.X509Extension(...) line is in fact a part of :
def CreateCertificateRequest(self, nameEntries, passphraseCB, keyType = 
KEYTYPE_RSA, bits = 1024, messageDigest = "md5", extensions = None).

This methode is in turn called by :
self.parent.createIdentityCertCB(str(self.name), str(self.email), 
str(self.domain),str(self.password),pinfo[0],pinfo[1],pinfo[2])
This line is in the CertificateRequestTool.py file and is part of def 
Validate(Self), around line 1000.

Once again, this instruction is called from :
page.Validate()
of def ChangingPage(self, event), around line 164 of 
CertificateRequestTool.py.


I hope all this stuff might help you to resolve my trouble. If there is no 
hope on your side (I mean on AG development team) please let me know too !

BTW, the VenueClient.log is the same as in the precedent mail (see below).

Thanks
	Joseph


On Wed, 02 Jun 2004 16:11:53 +1000, Joseph <joseph at cs.usyd.edu.au> wrote:

> Hi all
>
> I have a trouble with VenueClient.py on AG2.1.2. I have installed it on 
> a Debian, using a Debian package for wxPython and the src.rpm on 
> AccessGrid website. After a few fix everything seemed to be properly 
> installed.
>
> As I don't have any certificate for the time, when I launch 
> VenueClient.py (as a normal user), a window appears to help me asking 
> for a new certificate. I do everything as ask then I click on "Ok". Then 
> the program closes and I see in my terminal "Segmentation fault".
>
> Chris Willing has told me to check in 
> /home/joseph/.AccessGrid/certRepo/requests/ if something appears, but 
> it's not the case.
>
> I have also seen (thanks to the mailing list) that there is a 
> VenueClient.log (fully paste at the end of this mail). Only one line is, 
> I find, particularly interesting :
>
> 06/01/04 21:23:28 16384 AG.CertificateRequestTool 
> CertificateRequestTool.py:159 DEBUG ChangingPage: From 
> AccessGrid.CertificateRequestTool.SubmitReqWindow to <type 'NoneType'>
>
> I don't know if it's normal.
>
> Otherwise, the log finishs on :
> 06/01/04 21:23:28 16384 AG.CertificateManagerWXGUI 
> CertificateManagerWXGUI.py:444 DEBUG Proxy enabled: 1 value: 
> www-cache.usyd.edu.au:8080
> so there is no obvious trouble during the process.
>
> BTW, apart from this problem, if I start the VenueClient without the 
> personnal node services, all the menus and actions work...
>
> So, if you have any clue on how to make it work, please let me know.
>
> Cheers,
>        Joseph
>
>
> ps: VenueClient.log (the clock isn't on the right time) :
> 06/01/04 21:22:55 16384 AG.DataStore DataStore.py:1615 DEBUG Creating 
> thread 0
> 06/01/04 21:22:55 16384 AG.DataStore DataStore.py:1620 DEBUG Starting 
> thread 0
> 06/01/04 21:22:55 16384 AG.DataStore DataStore.py:1622 DEBUG Waiting 
> thread 0
> 06/01/04 21:22:55 65541 AG.DataStore DataStore.py:1628 DEBUG Worker 0 
> starting
> 06/01/04 21:22:55 16384 AG.DataStore DataStore.py:1625 DEBUG Done 
> creating workers
> 06/01/04 21:22:55 16384 AG.DataStore DataStore.py:415 DEBUG Reading 
> persisted data from: 
> /home/joseph/.AccessGrid/personalDataStore/DataStore.dat
> 06/01/04 21:22:55 16384 AG.toolkit Toolkit.py:54 DEBUG userConfigDir: 
> /home/joseph/.AccessGrid
> 06/01/04 21:22:55 16384 AG.CertificateManager CertificateManager.py:247 
> DEBUG Opened repository /home/joseph/.AccessGrid/certRepo
> 06/01/04 21:22:55 16384 AG.CertificateManager CertificateManager.py:963 
> ERROR No identity certs found
> 06/01/04 21:22:55 16384 AG.CertificateManager CertificateManager.py:659 
> DEBUG Unlink /home/joseph/.AccessGrid/trustedCACerts/42864e48.0
> 06/01/04 21:22:55 16384 AG.CertificateManager CertificateManager.py:659 
> DEBUG Unlink 
> /home/joseph/.AccessGrid/trustedCACerts/42864e48.signing_policy
> 06/01/04 21:22:55 16384 AG.CertificateManager CertificateManager.py:659 
> DEBUG Unlink /home/joseph/.AccessGrid/trustedCACerts/45cc9e80.0
> 06/01/04 21:22:55 16384 AG.CertificateManager CertificateManager.py:659 
> DEBUG Unlink 
> /home/joseph/.AccessGrid/trustedCACerts/45cc9e80.signing_policy
> 06/01/04 21:22:55 16384 AG.CertificateRequestTool 
> CertificateRequestTool.py:62 DEBUG __init__:Start Certificate Request 
> Wizard
> 06/01/04 21:22:55 16384 AG.CertificateRequestTool 
> CertificateRequestTool.py:76 DEBUG __init__:Set the initial order of the 
> pages
> 06/01/04 21:22:55 16384 AG.CertificateRequestTool 
> CertificateRequestTool.py:90 DEBUG __init__:Handle arguments for 
> certificate type
> 06/01/04 21:22:55 16384 AG.CertificateRequestTool 
> CertificateRequestTool.py:115 DEBUG __init__:Create the pages
> 06/01/04 21:22:55 16384 AG.CertificateRequestTool 
> CertificateRequestTool.py:120 DEBUG __init__:Run the wizard
> 06/01/04 21:22:57 16384 AG.CertificateRequestTool 
> CertificateRequestTool.py:159 DEBUG ChangingPage: From 
> AccessGrid.CertificateRequestTool.IntroWindow to 
> AccessGrid.CertificateRequestTool.IdentityCertWindow
> 06/01/04 21:22:57 16384 AG.CertificateRequestTool 
> CertificateRequestTool.py:166 DEBUG ChangingPage:Values are correct
> 06/01/04 21:23:16 16384 AG.CertificateRequestTool 
> CertificateRequestTool.py:159 DEBUG ChangingPage: From 
> AccessGrid.CertificateRequestTool.IdentityCertWindow to 
> AccessGrid.CertificateRequestTool.SubmitReqWindow
> 06/01/04 21:23:16 16384 AG.CertificateRequestTool 
> CertificateRequestTool.py:166 DEBUG ChangingPage:Values are correct
> 06/01/04 21:23:28 16384 AG.CertificateRequestTool 
> CertificateRequestTool.py:159 DEBUG ChangingPage: From 
> AccessGrid.CertificateRequestTool.SubmitReqWindow to <type 'NoneType'>
> 06/01/04 21:23:28 16384 AG.CertificateManagerWXGUI 
> CertificateManagerWXGUI.py:443 DEBUG CreateCertificateRequestCB:Create a 
> certificate request
> 06/01/04 21:23:28 16384 AG.CertificateManagerWXGUI 
> CertificateManagerWXGUI.py:444 DEBUG Proxy enabled: 1 value: 
> www-cache.usyd.edu.au:8080





More information about the ag-tech mailing list