FAQ about patches | More patches | Main Page | MD5 sum for this patch

Delete incorrect passwords
Patch is available for version: alpine 1.10 alpine 2.00 alpine 2.01 alpine 2.10 alpine 2.11 alpine 2.20
 
This patch improves Alpine by deleting wrong passwords from its cache. This is not an issue for most people, but it may become an issue if your server closes the connection after the first time that you enter a wrong password. In that situation Alpine enters into a loop in which you will never be able to open a connection to the server. More details about this loop are below.
 
What this patch does is to remove the wrong password from memory, allowing you to enter it again.
 
The reason why Alpine can fall into a loop that would not allow you to login to a server that closes the connection if the first attempt fails is because of two reasons;
  1. Alpine caches any password that is entered, and
  2. Alpine tries a password that finds in memory to open the connection.
The problem with this method is that if you enter the wrong password, then following 1, Alpine will cache the wrong password and the connection will be closed. Then the next time that you attempt to open the stream, because of 2, Alpine will try the wrong password, and therefore the connection will be closed, which makes Alpine enter into a loop that is not able to open the connection to the server.

Last Updated 23:17:15 MST Wed Jan 07 2015.