Re: Why is svn not saving my password in Pi-OS?
On Sat, 15 Aug 2020 11:01:10 +0200, Daniel Sahlberg wrote: >Den lör 15 aug. 2020 07:44Bo Berglund skrev: > >> On Fri, 14 Aug 2020 13:47:59 +0200, Daniel Sahlberg >> wrote: >> >> >TLDR: Saving passwords in plaintext is (from some version) a non-default >> >compile time option. You may try to convince the Pi-OS maintainers to >> >enable this option again. >> >> I posted the same question now on the RPi forum referencing your reply >> here. See: >> https://www.raspberrypi.org/forums/viewtopic.php?p=1712685#p1712685 > > >I realise that you are using version 1.10. I that time, AFIK, it was a >compile time option to disable plain text password stores. So either Pi-os >intentionally disabled it or they backported part of 1.12. However you >should be getting a Pi-os centered answer in the forum. No reasonable reply on the RPi forum, but I believe thios should be an issue on a subversion centered forum/maillist. Question: What happens if one tries to install svn on a server type Linux distro? Ubuntu, Pi-OS, Debian etc? Will the svn tool then be unable to work against any server requiring user login? In such a situation there is no GUI to pop the login into... It is REALLY terribly irritating to have to launch a VNC session onto the server and log into the GUI just for the purpose of entering a subversion login on a command running in an SSH terminal obn that server! -- Bo Berglund Developer in Sweden
Re: Why is svn not saving my password in Pi-OS?
On Fri, Aug 14, 2020 at 7:35 AM Bo Berglund 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