From: Josef Wolf <jw@raven.inka.de>
To: git@vger.kernel.org
Subject: How to push to http(s) repository with authentication?
Date: Mon, 20 Oct 2008 20:25:02 +0200 [thread overview]
Message-ID: <20081020182502.GH9707@raven.wolf.lan> (raw)
Hello,
I have set up a repository as described in
http://www.kernel.org/pub/software/scm/git/docs/howto/setup-git-server-over-http.txt
over SSL with basic authentication. DAV access works fine with konqueror,
cadaver and and curl, using this .curlrc:
$ cat ~/.curlrc
--cacert /etc/cacerts/myca.pem
--user user
$ curl https://repo.host.org/git/test/HEAD
Enter host password for user 'user':
ref: refs/heads/master
$
But when called from git, this file seems to be ignored. I have checked
google, but the only hint I could find was to put credentials into
~/.netrc. IMHO, this is a bad workaround, since this implies to have
unencrypted passwords lying around on the disk.
Any hints?
PS: I have asked a similar question a couple of days ago. Here is a link
to my original mail with more information how I set up the server:
http://marc.info/?l=git&m=122426078301793&w=2
next reply other threads:[~2008-10-20 18:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-20 18:25 Josef Wolf [this message]
2008-10-23 17:53 ` How to push to http(s) repository with authentication? Josef Wolf
2008-10-23 19:05 ` Alex Riesen
2008-10-23 22:32 ` Josef Wolf
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=20081020182502.GH9707@raven.wolf.lan \
--to=jw@raven.inka.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).