Can Gitosis enforce correct user name/email?

Posted by koumes21 on Stack Overflow See other posts from Stack Overflow or by koumes21
Published on 2010-04-17T16:16:26Z Indexed on 2010/04/17 16:23 UTC
Read the original article Hit count: 232

Filed under:
|

Gitosis is able to authenticate users based on public/private key pair. It is able to find out which user is currently committing. However, the user name and email is taken from the client's Git configuration ('git config user.name' etc.), which can be set to arbitrary values. Is there any way to associate user names and emails with their public keys and then make Gitosis uses these names and emails as the name and email of the committer?

I do not care if I will use Gitosis or WebDAV or some other alternative to share the repository. It just seems to me that none of the available methods supports this enforcement of using some kind of "correct" user name and email. If there exists some alternative, please tell me about it.

© Stack Overflow or respective owner

Can Gitosis enforce correct user name/email?

Posted by koumes21 on Server Fault See other posts from Server Fault or by koumes21
Published on 2010-04-17T14:20:57Z Indexed on 2010/04/17 14:23 UTC
Read the original article Hit count: 232

Filed under:
|

Gitosis is able to authenticate users based on public/private key pair. It is able to find out which user is currently committing. However, the user name and email is taken from the client's Git configuration ('git config user.name' etc.), which can be set to arbitrary values. Is there any way to associate user names and emails with their public keys and then make Gitosis uses these names and emails as the name and email of the committer?

© Server Fault or respective owner

Related posts about git

Related posts about gitosis