[Dune-devel] Authenticated Git access is now restricted to SSL connections

Steffen Müthing steffen.muething at iwr.uni-heidelberg.de
Fri Sep 27 11:55:48 CEST 2013


Hi everyone,

as decided on the developer meeting in Aachen, all authenticated access to the Git repositories is
now restricted to SSL. As all core modules allow public read access, this mostly concerns pushing
to the repositories. At the same time, *all* accesses over SSL *require* authentication, thus after
updating the server URLs, read accesses will also require your username and password (but see
option 1b) further down for a way around that).

If you have existing cloned repositories and are still using the non-SSL URLs, you have to update your
remote URLs before you can push those repos to the server again. There are two ways to do that:


1a) Through git:

git remote set-url origin https://git.dune-project.org/repositories/...

1b) If you only want to update the push-URL (that way, you don't need your username / password when
pulling updates from the server, you can do

git remote set-url --push origin https://git.dune-project.org/repositories/...

Alternatively, you can set up a credentials cache, BTW (there are a number of those doing either
in-memory caching or integrating with OS keychains).


2) If you trust my bash- and Perl-Foo and want to save some time, you can do it in bulk for all
repositories under a root directory:

for i in $(find . -name ".git") ; do perl -pi -e 's/(url\s=\s)http(:\/\/git.dune-project.org)/$1https$2/g' "$i/config" ; end


Best,
Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20130927/21c968f0/attachment.sig>


More information about the Dune-devel mailing list