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

Re: [PATCH] Do not scramble password read from .cvspass

From
DHDirk Hörner <dirker@gmail.com>
Date
Sep 7, 2009, 10:39 UTC
Message-ID
<4da546dc0909070339x5d78164flc4171882e8b028db@mail.gmail.com>
In-Reply-To
<7vvdjyn0j3.fsf@alter.siamese.dyndns.org>
Hi Junio,
On Fri, Sep 4, 2009 at 6:21 PM, Junio C Hamano<gitster@pobox.com> wrote:
> Dirk, does the patch look Ok to you?
The patch looks fine :-)

Ciao, Dirk

Show 33 quoted lines
>
>>  git-cvsimport.perl |    7 ++++---
>>  1 files changed, 4 insertions(+), 3 deletions(-)
>>
>> diff --git a/git-cvsimport.perl b/git-cvsimport.perl
>> index 593832d..c5cdcae 100755
>> --- a/git-cvsimport.perl
>> +++ b/git-cvsimport.perl
>> @@ -238,7 +238,10 @@ sub conn {
>>                 }
>>                 my $rr = ":pserver:$user\@$serv:$port$repo";
>>
>> -               unless ($pass) {
>> +               if ($pass) {
>> +                   $pass = $self->_scramble($pass);
>> +               } else
>> +               {
>>                         open(H,$ENV{'HOME'}."/.cvspass") and do {
>>                                 #
>> :pserver:cvs@mea.tmt.tele.fi:/cvsroot/zmailer Ah<Z
>>                                 while (<H>) {
>> @@ -253,8 +256,6 @@ sub conn {
>>                         };
>>                 }
>>
>> -               $pass = $self->_scramble($pass);
>> -
>>                 my ($s, $rep);
>>                 if ($proxyhost) {
>>
>> --
>> 1.6.4.2.253.g0b1fac
>
Previous: Junio C Hamano
Message 3 of 3 in “Do not scramble password read from .cvspass”
  1. Do not scramble password read from .cvspassPascal Obry, Sep 4, 2009
  2. Junio C HamanoSep 4, 2009
  3. Dirk HörnerSep 7, 2009

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.