[Mailman-Developers] Re: Improving the speed of mailman import21

2019-10-08 Thread Barry Warsaw
On Oct 7, 2019, at 21:51, Abhilash Raj wrote: > > It is tricky how multiple-password world get translated to single-password > world, it makes the final password somewhat non-deterministic, depending on > what the last mailing list imported was, which does not sound right anyway. Maybe the

[Mailman-Developers] Re: Improving the speed of mailman import21

2019-10-07 Thread Abhilash Raj
On Mon, Oct 7, 2019, at 5:37 PM, Mark Sapiro wrote: > On 10/6/19 10:11 AM, Abhilash Raj wrote: > > > > I am hoping that I can commit the change with the commented out code, > > unless I am reminded of a use for the passwords in Core's database. Then, > > it might be a bit more of work trying

[Mailman-Developers] Re: Improving the speed of mailman import21

2019-10-07 Thread Mark Sapiro
On 10/7/19 5:37 PM, Mark Sapiro wrote: > > I'm not at all sure what's actually implemented, but there is a feature > for pre-approving a post with an Approved: header with a password. This > is also supposed to work to approve held posts, but approving/discarding > held posts by email is broken

[Mailman-Developers] Re: Improving the speed of mailman import21

2019-10-07 Thread Mark Sapiro
On 10/6/19 10:11 AM, Abhilash Raj wrote: > > I am hoping that I can commit the change with the commented out code, unless > I am reminded of a use for the passwords in Core's database. Then, it might > be a bit more of work trying to figure out another way to improve the speed. I'm not at all

[Mailman-Developers] Re: Improving the speed of mailman import21

2019-10-06 Thread Abhilash Raj
On Sun, Oct 6, 2019, at 8:24 PM, Stephen J. Turnbull wrote: > Abhilash Raj writes: > > > 90% of the time is spent trying to encrypt user passwords, for each > > of the imported member. Well, duh, encryption is an expensive > > operation and when you do that once per-imported member, it is > >