[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Info needed regarding issue 2512

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2006-04-26 19:37:48 CEST

issue #2512, Explicit prompting about storing passwords.

Solution 1:
a) put a prompt in the
   subversion/libsvn_subr/simple_providers.c:simple_save_creds_helper()
   just before caching the password.
b) introduce the switch --auth-cache (Opposite of current --no-auth-cache
switch) so that automated programs can avoid this prompt.

Solution 2:
a) put a prompt in the
   subversion/libsvn_subr/prompt.c:svn_cmdline_auth_simple_prompt()
The problem with the solution 2 it ignores the case of --password(it gets
cached always).

Which solution you would recommend?
I prefer Solution 1 as it is cleaner though I might have to fix across the
testsuite to pass --auth-cache switch.

Want to know your thoughts on the same.

With regards
Kamesh Jayachandran

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 26 19:37:47 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.