Re: [PROPOSAL] Allow plaintext passwords again.

2022-01-21 Thread Mark Phippard
On Fri, Jan 21, 2022 at 7:22 PM Karl Fogel wrote: > > On 21 Jan 2022, Mark Phippard wrote: > >One aspect of the previous thread that came up is that someone > >demonstrated a simple script to create a cached password (as a > >workaround for current users). That is what led to the idea of > >formal

Re: [PROPOSAL] Allow plaintext passwords again.

2022-01-21 Thread Karl Fogel
On 21 Jan 2022, Mark Phippard wrote: One aspect of the previous thread that came up is that someone demonstrated a simple script to create a cached password (as a workaround for current users). That is what led to the idea of formalizing this using the svn auth command to create this file. I am

Re: [PROPOSAL] Allow plaintext passwords again.

2022-01-21 Thread Mark Phippard
On Fri, Jan 21, 2022 at 6:39 PM Karl Fogel wrote: > >2) If we have to add a new compile option, then I suggest we go > >all > >the way and also close the backdoor that exists. IOW, if svn is > >compiled without plaintext support then it also should not be > >able to > >read an existing stored pla

Re: [PROPOSAL] Allow plaintext passwords again.

2022-01-21 Thread Karl Fogel
On 21 Jan 2022, Mark Phippard wrote: In terms of what needs to be done, maybe I am wrong, but I did not think we had any mechanism in place where someone could choose not to compile in support for this feature. So that is new code that would need to be added. Well:

Re: A two-part vision for Subversion and large binary objects.

2022-01-21 Thread Karl Fogel
On 21 Jan 2022, Julian Foad wrote: Only for commands that need them, but, as mentioned above, pesimistically for every file that the command *possibly* pertains to. I'll follow up on that. *nod* Will look for that, thanks. It will not fetch for 'commit' once I commit Evgeny's tiny patch to

Re: A two-part vision for Subversion and large binary objects.

2022-01-21 Thread Karl Fogel
On 21 Jan 2022, Johan Corveleyn wrote: I like where this is going. Thanks to all involved for pushing it forward :-). You're welcome! Thanks for the use-case example, too. Any chance your company would want to join the consortium that is funding this work? Please follow up with my privately

Re: A strong WTF on compiling out plaintext password support by default?!

2022-01-21 Thread Karl Fogel
On 21 Jan 2022, Bernard Boudet wrote: - There should be a single option in the repository config to define whether that repo permits client-side plaintext password storage (or perhaps define which are the permitted/denied caching methods). Hmm. A design principle that I think is generally

Re: A strong WTF on compiling out plaintext password support by default?!

2022-01-21 Thread Bernard Boudet
Hi all, The current situation makes certain work-flows, unworkable. It also encourages the use of a modified or out-dated client, to "get the job done", which then itself becomes a security risk more generally. Reverting to the "old way" and adding a compile-time option is viable, IMHO, only as

Re: [PROPOSAL] Allow plaintext passwords again. (was: Re: A strong WTF on compiling out plaintext password support by default?!)

2022-01-21 Thread Nathan Hartman
On Fri, Jan 21, 2022 at 7:35 AM Mark Phippard wrote: > On Thu, Jan 20, 2022 at 11:50 PM Karl Fogel wrote: > > > Putting the hat on of someone that wants to turn off plaintext passwords > ... > > 1) I think there should be an easy way to know if the support exists > or not. I am thinking "svn --v

Re: A two-part vision for Subversion and large binary objects.

2022-01-21 Thread Julian Foad
Vincent Lefevre wrote: > Do you mean that "svn diff" at the root will fetch everything > even if no files are modified? No, only the pristines for files that are modified.

Re: A two-part vision for Subversion and large binary objects.

2022-01-21 Thread Vincent Lefevre
On 2022-01-21 11:15:04 +, Julian Foad wrote: > Premature Hydrating > > The present implementation "hydrates" (fetches missing pristines) every > file within the whole subtree the operation targets. This is done by > every major client operation calling svn_client__textbase_sync() before > and

Re: [PROPOSAL] Allow plaintext passwords again. (was: Re: A strong WTF on compiling out plaintext password support by default?!)

2022-01-21 Thread Mark Phippard
On Thu, Jan 20, 2022 at 11:50 PM Karl Fogel wrote: > > On 20 Jan 2022, Mark Phippard wrote: > >I have made the suggestion before and I want to say there was > >agreement from anyone that responded. So if nothing else anyone > >that > >objects to this is not speaking up. I think the main issue is >

Re: A two-part vision for Subversion and large binary objects.

2022-01-21 Thread Julian Foad
I have been studying when this implementation fetches pristines. Two concerns about performance in the current implementation: 1. scanning the whole subtree, calling 'stat' on every file 2. premature hydrating Scanning with 'stat' I'm concerned about the implementation scanning the whole subtr

Re: A two-part vision for Subversion and large binary objects.

2022-01-21 Thread Julian Foad
Replying to the last three posts (Nathan, Karl, Johan). Nathan wrote: > The pristine for a given file is not fetched until the file is > modified and an > operation pertaining to it requires the pristine. That's basically how the 'pristines-on-demand' branch is working. However, the present imple

Re: A two-part vision for Subversion and large binary objects.

2022-01-21 Thread Johan Corveleyn
On Fri, Jan 21, 2022 at 5:56 AM Karl Fogel wrote: > > On 20 Jan 2022, Julian Foad wrote: > >The more I think about this, the more I think we are prematurely > >complicating the requirements in this respect. I'm going to > >back-track > >and posit that a simple per-WC switch should suffice for the