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

Re: Why is svn not saving my password in Pi-OS?

From: Nathan Hartman <hartman.nathan_at_gmail.com>
Date: Sun, 20 Dec 2020 00:29:40 -0500

On Fri, Aug 14, 2020 at 7:35 AM Bo Berglund <bo.berglund_at_gmail.com> wrote:
> How can I configure (?) svn such that it caches the password in the
> same way as it has done on all of my other RPi units before.
>
> I need to be able to work on this device BOTH via SSH login using
> PuTTY and inside the GUI when connecting via VNC.

I don't think you want to enable plaintext password storage. Also I
don't think that's part of the problem here.

The first thing you should do is run "svn --version" on the machine in
question and look for the list of available authentication credential
caches toward the end. On my Debian box, that looks like this:

[[[
The following authentication credential caches are available:

* Gnome Keyring
* GPG-Agent
* KWallet (KDE)
]]]

Those are much better than plaintext storage because the password
caches are stored encrypted.

If you don't have any credential caches listed, you'll need to either
request from the package maintainer(s) to do something about it, or
ensure you have the right dependencies installed and build the SVN
client from sources.

If you do get a list of credential caches that the SVN client
recognizes, then you should pick one and ensure it is setup correctly.

For example, if your SVN client supports gnome-keyring and you want to
use that, you'll need to ensure you have whatever required packages
installed on the RPi and may need to do some configuration so that the
keyring will be "unlocked" when you login via ssh (with PuTTY). That
should make the stored passwords available automatically and (at least
after the first time to initially enter the password) eliminate the
(GUI) password prompt.

Hope this helps,
Nathan
Received on 2020-12-20 06:30:05 CET

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

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