All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marcin Wiśnicki" <mwisnicki@gmail.com>
To: git@vger.kernel.org
Subject: cvsimport does not work with passwords ?
Date: Thu, 28 Apr 2011 20:59:57 +0000 (UTC)	[thread overview]
Message-ID: <ipckgd$krd$2@dough.gmane.org> (raw)

I have to import part of public cvs repository that is protected by 
password (which is "anoncvs"):

> export CVSROOT=:pserver:anoncvs@anoncvs.fr.FreeBSD.org:/home/ncvs
> cvs login

And now I can use cvs and cvsps, when I try git however:

> git cvsimport -vk projects/pkgtools
AuthReply: I HATE YOU

It seems that it does not send the password. From captured network 
conversation:

-> BEGIN AUTH REQUEST
-> /home/ncvs
-> anoncvs
-> A
-> END AUTH REQUEST
<- I HATE YOU

But `cat ~/.cvspass`:
/1 :pserver:anoncvs@anoncvs.fr.freebsd.org:2401/home/ncvs Ay=0=h<Z


So why is git not sending the password ?

             reply	other threads:[~2011-04-28 21:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-28 20:59 Marcin Wiśnicki [this message]
2011-04-28 21:03 ` cvsimport does not work with passwords ? Marcin Wiśnicki
2011-04-28 21:35 ` Marcin Wiśnicki
2011-04-28 22:45   ` Jeff King
2011-04-28 22:50     ` Marcin Wiśnicki
2011-04-29 11:33 ` Andreas Schwab
2011-04-29 13:09   ` [PATCH] git-cvsimport: normalize hostname for password lookup Andreas Schwab
2011-04-29 16:33     ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ipckgd$krd$2@dough.gmane.org' \
    --to=mwisnicki@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.