You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Philipp Marek <ph...@marek.priv.at> on 2007/10/10 16:28:40 UTC

Re: Auth via http(s)?

(CC'ing dev)


On Wednesday 10 October 2007 Bjorn Oglefjorn wrote:
> That's unfortunate.  fsvs should not rely on the .subversion/auth files
> existing because subversion can be configured to _not_ store credentials.
You're right.

> This is how I have subversion configured, personally:
>
> [auth]
> store-passwords = no
> store-auth-creds = no
Very good ... I'm just too lazy for that, I think :-)

> So the svn client will prompt for authentication on each action which
> requires it.  Upon receiving a HTTP 401 response, I feel fsvs should also
> be able to prompt for a password and send the authentication information
> off to the server.  Perhaps this discussion should move to the devel list?
Well, if there's some developer for it ...

A short look shows that a 
	struct svn_ra_callbacks2_t
is passed to the RA layer on svn_ra_open2(), which has a auth_baton ...
this is filled by 
	svn_cmdline_setup_auth_baton(),
and part of this logic is already in FSVS in
	cb__init().


Now, somebody?
If someone would like to do it, I'd hope for a short overview for discussion 
on dev@.


Regards,

Phil


-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Auth via http(s)?

Posted by Philipp Marek <ph...@marek.priv.at>.
On Wednesday 10 October 2007 Bjorn Oglefjorn wrote:
> This may help:
Only compile-tested.


Regards,

Phil

-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

Re: Auth via http(s)?

Posted by Bjorn Oglefjorn <sy...@gmail.com>.
Thanks Phil.  I'm sure someone is up for the challenge. :)

On 10/10/07, Philipp Marek <ph...@marek.priv.at> wrote:
>
> (CC'ing dev)
>
>
> On Wednesday 10 October 2007 Bjorn Oglefjorn wrote:
> > That's unfortunate.  fsvs should not rely on the .subversion/auth files
> > existing because subversion can be configured to _not_ store
> credentials.
> You're right.
>
> > This is how I have subversion configured, personally:
> >
> > [auth]
> > store-passwords = no
> > store-auth-creds = no
> Very good ... I'm just too lazy for that, I think :-)
>
> > So the svn client will prompt for authentication on each action which
> > requires it.  Upon receiving a HTTP 401 response, I feel fsvs should
> also
> > be able to prompt for a password and send the authentication information
> > off to the server.  Perhaps this discussion should move to the devel
> list?
> Well, if there's some developer for it ...
>
> A short look shows that a
>        struct svn_ra_callbacks2_t
> is passed to the RA layer on svn_ra_open2(), which has a auth_baton ...
> this is filled by
>        svn_cmdline_setup_auth_baton(),
> and part of this logic is already in FSVS in
>        cb__init().
>
>
> Now, somebody?
> If someone would like to do it, I'd hope for a short overview for
> discussion
> on dev@.
>
>
> Regards,
>
> Phil
>
>
> --
> Versioning your /etc, /home or even your whole installation?
>             Try fsvs (fsvs.tigris.org)!
>

Re: Auth via http(s)?

Posted by Bjorn Oglefjorn <sy...@gmail.com>.
This may help:
http://svn.collab.net/svn-doxygen/svn__cmdline_8h.html#a13


On 10/10/07, Philipp Marek <ph...@marek.priv.at> wrote:
>
> (CC'ing dev)
>
>
> On Wednesday 10 October 2007 Bjorn Oglefjorn wrote:
> > That's unfortunate.  fsvs should not rely on the .subversion/auth files
> > existing because subversion can be configured to _not_ store
> credentials.
> You're right.
>
> > This is how I have subversion configured, personally:
> >
> > [auth]
> > store-passwords = no
> > store-auth-creds = no
> Very good ... I'm just too lazy for that, I think :-)
>
> > So the svn client will prompt for authentication on each action which
> > requires it.  Upon receiving a HTTP 401 response, I feel fsvs should
> also
> > be able to prompt for a password and send the authentication information
> > off to the server.  Perhaps this discussion should move to the devel
> list?
> Well, if there's some developer for it ...
>
> A short look shows that a
>        struct svn_ra_callbacks2_t
> is passed to the RA layer on svn_ra_open2(), which has a auth_baton ...
> this is filled by
>        svn_cmdline_setup_auth_baton(),
> and part of this logic is already in FSVS in
>        cb__init().
>
>
> Now, somebody?
> If someone would like to do it, I'd hope for a short overview for
> discussion
> on dev@.
>
>
> Regards,
>
> Phil
>
>
> --
> Versioning your /etc, /home or even your whole installation?
>             Try fsvs (fsvs.tigris.org)!
>