git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Authentication support for pserver

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Dec 18, 2007, 21:10 UTC
Message-ID
<51dd1af80712181310q38255593t989be64799be2e0e@mail.gmail.com>
In-Reply-To
<46a038f90712181238p7529a02bmde21c89956a3f641@mail.gmail.com>
On Dec 18, 2007 8:38 PM, Martin Langhoff <martin.langhoff@gmail.com> wrote:
Show 9 quoted lines
> On Dec 18, 2007 10:41 PM, Martin Langhoff <martin.langhoff@gmail.com> wrote:
> >  - git/config is very likely to be readable if the site is served via
> > other means, like dumb http protocol, or git+ssh. So even if the
> > password scrambling is mickey-mouse. it might make sense to force the
> > password data to live elsewhere.
>
> On this aspect, I see no reason why we wouldn't have the passwords
> crypt()ed or SHA1'd. Perl includes crypt() in the default
> distribution, so it wouldn't add any dependency.
It also includes Digest::SHA in the default distribution as of today:)

I could add another option for allowing users to choose their password storage, e.g.:

[gitcvs]
    password_storage = plaintext # or sha1, crypt, ...
Previous: Ævar Arnfjörð BjarmasonNext: Junio C Hamano
Message 24 of 25 in “Authentication support for pserver”
  1. Authentication support for pserverÆvar Arnfjörð Bjarmason, Dec 14, 2007
  2. Junio C HamanoDec 14, 2007
  3. Shawn O. PearceDec 14, 2007
  4. Ævar Arnfjörð BjarmasonDec 14, 2007
  5. Junio C HamanoDec 14, 2007
  6. Ævar Arnfjörð BjarmasonDec 14, 2007
  7. Martin LanghoffDec 18, 2007
  8. Martin LanghoffDec 18, 2007
  9. Ævar Arnfjörð BjarmasonMar 7, 2008
  10. Ævar Arnfjörð BjarmasonMar 7, 2008
  11. Ævar Arnfjörð BjarmasonJun 19, 2008
  12. Martin LanghoffJun 19, 2008
  13. Junio C HamanoJun 19, 2008
  14. Junio C HamanoJun 19, 2008
  15. 0/6 git-cvsserver: password support for pserverÆvar Arnfjörð Bjarmason, May 15, 2010
  16. 1/6 git-cvsserver: authentication support for pserverÆvar Arnfjörð Bjarmason, May 15, 2010
  17. 1/6 git-cvsserver: authentication support for pserverÆvar Arnfjörð Bjarmason, May 15, 2010
  18. 2/6 git-cvsserver: use a password file cvsserver pserverÆvar Arnfjörð Bjarmason, May 15, 2010
  19. 2/6 git-cvsserver: use a password file cvsserver pserverÆvar Arnfjörð Bjarmason, May 15, 2010
  20. 3/6 git-cvsserver: indent & clean up authdb codeÆvar Arnfjörð Bjarmason, May 15, 2010
  21. 4/6 git-cvsserver: Improved error handling for pserverÆvar Arnfjörð Bjarmason, May 15, 2010
  22. 5/6 git-cvsserver: document making a password without htpasswdÆvar Arnfjörð Bjarmason, May 15, 2010
  23. 6/6 git-cvsserver: test for pserver authentication supportÆvar Arnfjörð Bjarmason, May 15, 2010
  24. Ævar Arnfjörð BjarmasonDec 18, 2007
  25. Junio C HamanoDec 18, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.