Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure GSI proxy delegation options #749

Merged
merged 7 commits into from
Jun 19, 2018
Merged

Conversation

gganis
Copy link
Member

@gganis gganis commented Jun 19, 2018

This patch re-organizes how proxy delegation is handled and controlled in GSI, and it adds the possibility to save the proxy in Entity.creds .

On the server side, the two switches controlling delegation have been 'cleaned': the first switch enables or disables delegation, the second determines where the delegated proxy will be saved. The new meanings are:
-dlgpxy:0 no delegated proxy [default]
1 ask the client to sign a delegated proxy request

          -exppxy:none       delegated proxy available in memory (via a server calle to getCredentials)
                       :=creds    delegated proxy available in Entity.creds
                       :<file_template>  delegated proxy available in the indicated file which can include the
                                       following customization tags: <host>, <vo>, <group>, <user>, <rtag>; e.g.
                                       /tmp/x509up_u<user>_<rtag> .

(rtag is a 6 hex chars random string).

On the client, the env XrdSecGSISIGNPROXY is used to enable or deny proxy signature; default is 1, that is enabled. The env XrdSecGSIDELEGPROXY is used to determine the time of delegated proxy: 1 means standard delegated proxy, i.e. a proxy signed by the initial proxy (proxy request created by teh server); 2 means forwarding of the initial proxy.

@bbockelm
Copy link
Contributor

Can we disable delegation by default?

I'm somewhat uncomfortable with the client handing over my proxy to an external server (especially as there are some interesting scenarios to think through about malicious servers joining a federation...). I'd rather start slow and work through some of these cases.

Remove XrdSecGSISIGNPROXY, everything is controlled by XrdSecGSIDELEGPROXY
(0 = off, 1 = sign, 2 = forward). Default 0.
@gganis
Copy link
Member Author

gganis commented Jun 19, 2018

@bbockelm, @abh3 The last patch removes one env client side and disables delegation by default.

@abh3 abh3 merged commit 02c9a0d into xrootd:master Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants