grid_proxy_init on windows (!)

Robert Olson olson at mcs.anl.gov
Thu Mar 13 16:53:13 CST 2003


So this is apparently a workable solution NOW for getting rid of wgpi.

I compiled grid_proxy_init.c against the 2.0 globus project we've built, 
and it actually works.

And it works using a pipe:

C:\temp\newwing\WinGlobus2.0_Alpha3\WinProjects\SourceSolution\grid_proxy_init\D
ebug>python
Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
 >>> import popen2
 >>> x = popen2.popen2("grid_proxy_init.exe -pwstdin")
 >>> x[1].write("Password\n")
 >>> x[0].readline()
'bresnaha: here 1.4\n'
 >>> x[0].readline()
'bresnaha: here 1.6\n'
 >>> x[0].readline()
'Your identity: /O=Grid/O=Globus/OU=mcs.anl.gov/CN=Bob Olson\n'
 >>> x[0].readline()
'Creating proxy bresnaha: here 1.9\n'
 >>> x[0].readline()
'bresnaha: here 2\n'
 >>> x[0].readline()
' Done\n'
 >>> x[0].readline()
'Your proxy is valid until Fri Mar 14 10:50:56 2003\n'
 >>> x[0].readline()
''
 >>> ^Z


C:\temp\newwing\WinGlobus2.0_Alpha3\WinProjects\SourceSolution\grid_proxy_init\D
ebug>dir \temp\proxy
  Volume in drive C is Lorax2
  Volume Serial Number is 4C51-EB9E

  Directory of C:\temp

03/13/2003  04:50 PM             1,987 proxy
                1 File(s)          1,987 bytes
                0 Dir(s)   2,025,394,176 bytes free

C:\temp\newwing\WinGlobus2.0_Alpha3\WinProjects\SourceSolution\grid_proxy_init\D
ebug>openssl x509 -text -noout -in \temp\proxy
Certificate:
     Data:
         Version: 3 (0x2)
         Serial Number: 13230 (0x33ae)
         Signature Algorithm: md5WithRSAEncryption
         Issuer: O=Grid, O=Globus, OU=mcs.anl.gov, CN=Bob Olson
         Validity
             Not Before: Mar 13 22:45:56 2003 GMT
             Not After : Mar 14 10:50:56 2003 GMT
         Subject: O=Grid, O=Globus, OU=mcs.anl.gov, CN=Bob Olson, CN=proxy
         Subject Public Key Info:
             Public Key Algorithm: rsaEncryption
             RSA Public Key: (512 bit)
                 Modulus (512 bit):
                     00:dc:f2:e3:1f:b1:b9:65:85:aa:1d:ef:ad:c5:cb:
                     41:38:cf:28:f5:ff:46:3a:e1:1b:61:0a:0d:87:0f:
                     3e:f8:db:ac:ff:33:b2:74:bd:a9:a1:fd:31:69:d1:
                     be:cb:02:2a:42:01:ff:b0:18:b7:f8:ef:00:69:ac:
                     6c:ac:06:f5:55
                 Exponent: 65537 (0x10001)
     Signature Algorithm: md5WithRSAEncryption
         d2:6c:c7:23:dd:06:8f:4d:4e:a0:81:ee:ad:38:5e:2c:c3:56:
         8b:54:cb:56:4e:0a:8f:b8:20:18:ff:38:c6:6f:ce:30:8d:5d:
         9c:be:e8:9f:63:7f:ac:c8:c0:6a:ce:1c:90:8d:21:be:c0:06:
         87:9a:a8:df:4c:d0:ab:8d:87:f4:0d:15:4d:9e:0c:b8:48:36:
         19:e7:f2:27:42:d5:f2:50:f1:73:60:1a:6c:07:e2:71:82:0c:
         90:84:dc:cc:fd:6f:b6:7f:e8:77:0c:fc:2d:2c:7c:c8:06:a3:
         6c:ae:b2:03:69:a6:c7:32:29:6d:c4:ba:6f:6a:7b:e4:15:8b:
         ee:e7

C:\temp\newwing\WinGlobus2.0_Alpha3\WinProjects\SourceSolution\grid_proxy_init\D




More information about the ag-dev mailing list