Re: [PATCH][v2] http authentication via prompts (with correct line lengths)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mike Gaffney
Date: Monday, March 9, 2009 - 8:25 pm

I guess it makes sense to split the config out into two patches. I wanted both to help with automated builds, and as it's a read only account I wasn't worried about someone reading the password. I'm not very impressed with the permissions on the .netrc file actually providing security so I can see not allowing the password in the config either. In my system at work, we have shared machines but all developers have root access, so file permissions don't really secure anything for us. It's also why we can't really use keys (there is no way to enforce that a key is secured afaik).

I wanted to do a remote specific config as well but a global works well in many environments where your push repo is under http as you don't keep having to configure it. I also couldn't see a good way to do a remote specific config without changing the remote struct (which seemd like putting specific in a general). I would love some advice on this and where to put it.

I can see your security points but I would argue that if that's what we are worried about then we should not allow the netrc file at all. I added notes in the config documentation about this. I'm open to discussion on this point.

Johannes Schindelin wrote:

-- 
-Mike Gaffney (http://rdocul.us)
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH][v2] http authentication via prompts (with corr ..., Johannes Schindelin, (Mon Mar 9, 5:45 pm)
Re: [PATCH][v2] http authentication via prompts (with corr ..., Mike Gaffney, (Mon Mar 9, 8:25 pm)
Re: [PATCH][v2] http authentication via prompts (with corr ..., Johannes Schindelin, (Tue Mar 10, 3:43 am)