Bug 6363 - grid-proxy-init misreports identity in console output
: grid-proxy-init misreports identity in console output
Status: RESOLVED FIXED
: GSI C
Credentials and Proxies
: 4.2.0
: PC All
: P3 minor
: 4.2.1
Assigned To:
:
: 4.0.x
:
:
  Show dependency treegraph
 
Reported: 2008-09-09 04:30 by
Modified: 2008-09-09 08:55 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-09-09 04:30:56
grid-proxy-init appears to list the issuer in the "your identity:" line, rather
than the identity of the credential. In the below sequence of commands, I would
expect "your identity" to be
/O=Grid/OU=GlobusTest/OU=simpleCA-gks-1-127.fzk.de/OU=fzk.de/CN=gks142 in both
of the grid-proxy-init commands; in the second command, that is not the case. 

gks142@gks-1-127:~$ myproxy-logon -s localhost
Enter MyProxy pass phrase:
A credential has been received for user gks142 in /tmp/x509up_u100142.

gks142@gks-1-127:~$ grid-proxy-info 
subject  :
/O=Grid/OU=GlobusTest/OU=simpleCA-gks-1-127.fzk.de/OU=fzk.de/CN=gks142
issuer   : /O=Grid/OU=GlobusTest/OU=simpleCA-gks-1-127.fzk.de/CN=Globus Simple
CA
identity :
/O=Grid/OU=GlobusTest/OU=simpleCA-gks-1-127.fzk.de/OU=fzk.de/CN=gks142
type     : end entity credential
strength : 1024 bits
path     : /tmp/x509up_u100142
timeleft : 11:59:56

gks142@gks-1-127:~$ grid-proxy-init -key /tmp/x509up_u100142 -cert
/tmp/x509up_u100142 -out foo1
Your identity:
/O=Grid/OU=GlobusTest/OU=simpleCA-gks-1-127.fzk.de/OU=fzk.de/CN=gks142
Creating proxy ................................. Done

Warning: your certificate and proxy will expire Tue Sep  9 17:26:26 2008
 which is within the requested lifetime of the proxy

gks142@gks-1-127:~$ grid-proxy-init -key foo1 -cert foo1 -out foo2
Your identity:
/O=Grid/OU=GlobusTest/OU=simpleCA-gks-1-127.fzk.de/OU=fzk.de/CN=gks142/CN=1892329160
Creating proxy ........................................................... Done

Warning: your certificate and proxy will expire Tue Sep  9 17:26:26 2008
 which is within the requested lifetime of the proxy
------- Comment #1 From 2008-09-09 08:55:34 -------
Fix committed.