Re: [Patch] Clear passwords if authentication fails
Peter Bloomfield <[email protected]>
| Newsgroups | gmane.comp.gnome.apps.balsa |
|---|---|
| Message-ID | <[email protected]> |
Hi Albrecht, On 11/13/2018 03:50:54 PM Tue, Albrecht Dreß wrote: > Hi all, > > currently, when the authentication to a server fails, and if the user decided to remember the password, the password is kept, and the next authentication attempt will again fail. > > Attached is a patch which fixes this behaviour by clearing the respective password for the following conditions: > - SMTP: when the server replies with a 534 (Authentication mechanism is too weak) or 535 (Authentication credentials invalid) status code (see RFC 4954, Sect. 6) > - POP3: when any error occurs during the authentication phase, as POP3 has no standardised codes indicating the status as for SMTP > - user certificate private key: when the key decryption fails > > Please note that this patch goes on top of the following pending patches: > * “password dialogue improvements”, submitted on November 4th > * “Fix broken IMAP special folders & other migration issues”, submitted on November 5th > > As always, any comment is welcome! > > Cheers, > Albrecht. Many thanks for the patches! And apologies for the delays in testing and pushing them--finished today. Best, Peter _______________________________________________ balsa-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/balsa-list
signature.asc
(application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQS030wPRfNNA5alz3MfX9S1uSp09QUCW/2fFwAKCRAfX9S1uSp0 9XY4AKCf02j9whDi92tMhnGOM+f5APu/CQCeMplrepTpLxNGvtue9PvX5qKJ9Xo= =3weQ -----END PGP SIGNATURE-----