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

Re: tiny authn caching buglet?

From: Senthil Kumaran S <senthil_at_collab.net>
Date: Wed, 27 Aug 2008 12:08:44 +0530

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Sussman,

Ben Collins-Sussman wrote:
> I noticed this week that when doing 'svn proplist --revprop', I am
> repeatedly asked to authenticate, but am never asked whether I want my
> password cached on disk.
>
> With other prop commands ('svn propedit --revprop', 'svn
> propget/propset --revprop'), I'm only prompted once, and then offered
> an opportunity to cache it on disk.
>
> Should I file an issue on this?

I checked this with the latest trunk, and see no issues. Following is my sample
run for your reference:

<snip>
$ svn --version
svn, version 1.6.0 (dev build)
   compiled Aug 27 2008, 11:47:45

Copyright (C) 2000-2008 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

$ svn proplist --revprop -r HEAD
Authentication realm: <http://localhost:80> TEST SVN repository
Password for 'stylesen':
- -----------------------------------------------------------------------
ATTENTION! Your password for authentication realm:

   <http://localhost:80> TEST SVN repository

can only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.

You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
'/home/stylesen/.subversion/servers'.
- -----------------------------------------------------------------------
Store password unencrypted (yes/no)? yes
Unversioned properties on revision 2:
  svn:log
  svn:date
$ svn proplist --revprop -r HEAD
Unversioned properties on revision 2:
  svn:log
  svn:date
$ rm /home/stylesen/.subversion -rf
$ svn propedit --revprop svn:log -r HEAD .
Authentication realm: <http://localhost:80> TEST SVN repository
Password for 'stylesen':
- -----------------------------------------------------------------------
ATTENTION! Your password for authentication realm:

   <http://localhost:80> TEST SVN repository

can only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.

You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
'/home/stylesen/.subversion/servers'.
- -----------------------------------------------------------------------
Store password unencrypted (yes/no)? yes
Set new value for property 'svn:log' on revision 2
$ svn propedit --revprop svn:log -r HEAD .
Set new value for property 'svn:log' on revision 2
$ rm /home/stylesen/.subversion -rf
$ svn propset "sampleprop" --revprop -r HEAD "This is a sample property"
Authentication realm: <http://localhost:80> TEST SVN repository
Password for 'stylesen':
- -----------------------------------------------------------------------
ATTENTION! Your password for authentication realm:

   <http://localhost:80> TEST SVN repository

can only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.

You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
'/home/stylesen/.subversion/servers'.
- -----------------------------------------------------------------------
Store password unencrypted (yes/no)? yes
property 'sampleprop' set on repository revision 2
$ svn propset "sampleprop" --revprop -r HEAD "This is a sample property modified"
property 'sampleprop' set on repository revision 2
$ svn proplist --revprop -r HEAD
Unversioned properties on revision 2:
  svn:log
  sampleprop
  svn:date
$ rm /home/stylesen/.subversion -rf
$ svn propget "sampleprop" --revprop -r HEAD .
Authentication realm: <http://localhost:80> TEST SVN repository
Password for 'stylesen':
- -----------------------------------------------------------------------
ATTENTION! Your password for authentication realm:

   <http://localhost:80> TEST SVN repository

can only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.

You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
'/home/stylesen/.subversion/servers'.
- -----------------------------------------------------------------------
Store password unencrypted (yes/no)? yesw
Please type 'yes' or 'no': yes
This is a sample property modified
$ svn propget "sampleprop" --revprop -r HEAD .
This is a sample property modified
</snip>

If the above is not what you intended to bring up, please let me know.

Thank You.
- --
Senthil Kumaran S
http://www.stylesen.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFItPZz9o1G+2zNQDgRAkVwAKCp3v49r5Bw33YHZdSjuRSz9BZWWwCfaDNi
UotM6nnttUeM5v84Yvfaj7M=
=SBID
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-27 08:39:15 CEST

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.