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

2020-08-14 Thread Bo Berglund
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


-- 
Bo Berglund
Developer in Sweden



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

2020-08-14 Thread Bo Berglund
On Fri, 14 Aug 2020 13:47:59 +0200, Daniel Sahlberg
 wrote:

>Den fre 14 aug. 2020 kl 13:35 skrev Bo Berglund :
>
>> This is strange to me since I have not seen it before.
>> I have svn installed on a newly set up RPi3 running Pi-OS (previously
>> named Raspbian) Linux.
>> I installed svn via apt.
>>
>> Any ideas?
>>
>>
>> --
>> Bo Berglund
>> Developer in Sweden
>>
>
>You will most probably find your answer in this mailing list thread
>at @Dev: https://svn.haxx.se/dev/archive-2020-08/0004.shtml
>
>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 don't know how that works, do the maintainers of distros really
recompile all of the content and modify the code in so doing?

>You might be able to get this to work using a keyring, but I don't have any
>experience with it (I'm mostly a Windows guy).
>
>I've been planning to check why the script provided by Daniel Shahaf
>doesn't work, because I would also like to be able to save passwords from
>time to time.
>

Is this a client modification and if so from which version?
Is it possible to install a specific (older) svn client version in a
Linux computer in order to have this fixed? If so how?
I am using apt in my scripts to install for example subversion...

And I am not really talking about cahching the password in
*plaintext*!
It could as well be encrypted, but what it should not do is launch a
GUI dialog to enter the password when the command is issued in a
terminal window!

Svn is a command line tool and therefore a password request should be
shown inside the terminal that is running the svn operation and not
pop up something that is incvisible to the user!

Whatever GUI wrappers like Tortoise do is irrelevant since in such
usage the entire user interaction is via the GUI.
In the terminal case NOT...


-- 
Bo Berglund
Developer in Sweden



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

2020-08-14 Thread Daniel Sahlberg
Den fre 14 aug. 2020 kl 13:35 skrev Bo Berglund :

> This is strange to me since I have not seen it before.
> I have svn installed on a newly set up RPi3 running Pi-OS (previously
> named Raspbian) Linux.
> I installed svn via apt.
>
> Any ideas?
>
>
> --
> Bo Berglund
> Developer in Sweden
>

You will most probably find your answer in this mailing list thread
at @Dev: https://svn.haxx.se/dev/archive-2020-08/0004.shtml

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.

You might be able to get this to work using a keyring, but I don't have any
experience with it (I'm mostly a Windows guy).

I've been planning to check why the script provided by Daniel Shahaf
doesn't work, because I would also like to be able to save passwords from
time to time.

Kind regards
Daniel


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

2020-08-14 Thread Bo Berglund
This is strange to me since I have not seen it before.
I have svn installed on a newly set up RPi3 running Pi-OS (previously
named Raspbian) Linux.
I installed svn via apt.

The RPi3 has a GUI, which I can access via VNC through a VPN tunnel (I
am working remotely from home).

If I start a terminal in the GUI and navigate to the project wc dir
and then issue an svn up command a GUI dialog pops up on the side
asking me for a password. This happens every time so it seems not to
remember what I have entered.

Contrast this to when I access another *non-GUI* RPi using PuTTY.

When I use the svn up command there everything just executes as
expected and no password is requested because I entered it way back
when I checked out the wc.

Back to the new RPi3, if I access it through PuTTY instead then the
svn up command just does exactly nothing, it just sits there!
Probably it pushes a GUI login box onto the invisible GUI...

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.

One difference of course is that the svn client on the RPi3 is a newer
version ( 1.10.4 r1850624) than what I have used before and what is
used on the svn server (1.9.7).

Any ideas?


-- 
Bo Berglund
Developer in Sweden