On 12/14/22 15:40, Mark Sapiro wrote:
It is a bug, but that isn't the correct fix. The list's moderator_password attribute should already be encrypted. The bug is we don't catch the passlib.exc.UnknownHashError.
This is reported at https://gitlab.com/mailman/mailman/-/issues/1046 and fixed at https://gitlab.com/mailman/mailman/-/merge_requests/1072.
It appears you either have not set the lists moderator_password or you have not set it to a properly encrypted value. Did you set it and if so, how?
The above fix won't fix your underlying issue but will report that your confirmation failed for 'Invalid Approved: password'.
If you set the list's moderator_password via REST, it will be properly encrypted. If you set it via mailman shell, instead of
mlist.moderator_password = 'password'
you need
mlist.moderator_password = config.password_context.encrypt('password')
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan