Problem storing passwords when using subversion

194 views
Skip to first unread message

Mark Wood-Patrick via users

unread,
Sep 1, 2023, 8:04:53 AM9/1/23
to us...@subversion.apache.org, Mark Wood-Patrick
I'm using subversion 1.14.1 on CentOS release 6.8 and trying to get subversion to store my credentials.

Viewing ~/.subversion/servers it seems like passwords should be stored by default.

In 

~/.subversion/config

I have:

password-stores = gpg-agent,gnome-keyring,kwallet

However, when I try to do a checkout it continues to prompt me to enter my password, any idea what I'm doing wrong or how to determine why it's not working?

Where can I find the correct version of the docs for subversion 1.14.1


Daniel Sahlberg

unread,
Sep 1, 2023, 8:54:48 AM9/1/23
to Mark Wood-Patrick, us...@subversion.apache.org
Den fre 1 sep. 2023 kl 14:04 skrev Mark Wood-Patrick via users <us...@subversion.apache.org>:
I'm using subversion 1.14.1 on CentOS release 6.8 and trying to get subversion to store my credentials.

Please check the svn --version command, it should say something like this towards the end of the output:

[[[
The following authentication credential caches are available:

* Plaintext cache in /home/dsg/.subversion
* Gnome Keyring
* GPG-Agent
* KWallet (KDE)
]]]
 

Viewing ~/.subversion/servers it seems like passwords should be stored by default.

In 

~/.subversion/config

I have:

      password-stores = gpg-agent,gnome-keyring,kwallet

However, when I try to do a checkout it continues to prompt me to enter my password, any idea what I'm doing wrong or how to determine why it's not working?

Have you configured gnome keyring or kwallet?

Are you using Subversion within a graphical session or through SSH? I think gnome keyring/kwallet are only available in graphical sessions.
 

Where can I find the correct version of the docs for subversion 1.14.1

The default compile time configuration in Subversion 1.12 to 1.14 disables the plaintext cache (as you can see above, I have compiled my own version and enabled the plaintext cache).

The FAQ explain this in more details.

If you can accept the security implications of storing the password in plaintext there is a script available in the FAQ: https://subversion.apache.org/faq.html#plaintext-passwords

Kind regards,
Daniel Sahlberg

Mark Wood-Patrick via users

unread,
Sep 1, 2023, 8:59:41 AM9/1/23
to Daniel Sahlberg, us...@subversion.apache.org, Mark Wood-Patrick

Many thanks for the response much appreciated, after fixing an issue with gpg its working now

 

Regards

 

Mark

From: Daniel Sahlberg <daniel.l...@gmail.com>
Sent: Friday, September 1, 2023 5:54 AM
To: Mark Wood-Patrick <mwoodp...@nvidia.com>
Cc: us...@subversion.apache.org
Subject: Re: Problem storing passwords when using subversion
Importance: High

 

External email: Use caution opening links or attachments

Daniel Sahlberg

unread,
Sep 1, 2023, 9:00:24 AM9/1/23
to Mark Wood-Patrick, us...@subversion.apache.org
Den fre 1 sep. 2023 kl 14:57 skrev Mark Wood-Patrick <mwoodp...@nvidia.com>:

Where can I find the correct version of the docs for subversion 1.14.1


You get a long way with:
$ svn help

Otherwise the SVN book is still mostly accurate, there are only a few new features not yet described: https://svnbook.red-bean.com/nightly/en/index.html

Kind regards,
Daniel
 

 

Mark

From: Daniel Sahlberg <daniel.l...@gmail.com>
Sent: Friday, September 1, 2023 5:54 AM
To: Mark Wood-Patrick <mwoodp...@nvidia.com>
Cc: us...@subversion.apache.org
Subject: Re: Problem storing passwords when using subversion
Importance: High

 

External email: Use caution opening links or attachments

 

Den fre 1 sep. 2023 kl 14:04 skrev Mark Wood-Patrick via users <us...@subversion.apache.org>:

Mark Wood-Patrick via users

unread,
Sep 1, 2023, 9:00:42 AM9/1/23
to Daniel Sahlberg, us...@subversion.apache.org, Mark Wood-Patrick

Where can I find the correct version of the docs for subversion 1.14.1

 

Mark

From: Daniel Sahlberg <daniel.l...@gmail.com>
Sent: Friday, September 1, 2023 5:54 AM
To: Mark Wood-Patrick <mwoodp...@nvidia.com>
Cc: us...@subversion.apache.org
Subject: Re: Problem storing passwords when using subversion
Importance: High

 

External email: Use caution opening links or attachments

 

Den fre 1 sep. 2023 kl 14:04 skrev Mark Wood-Patrick via users <us...@subversion.apache.org>:

Reply all
Reply to author
Forward
0 new messages