Spurious error message in SSH authentication

Bug #715362 reported by Thomi Richards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sloecode
Confirmed
Wishlist
Unassigned

Bug Description

When authenticating with the SSH smart server, it is possible for the user to get a spurious error message that says:

Authentication error for user thomi: Your SSH key does not match any key registered for Sloecode user thomi.

This happens when the user has more than one SSH key pair (for example, an RSA key and a DSA key), but only registers one of these keys with the sloecode system. If the key that is not registered with sloecode is tried first, the error message will be returned, and then the second key will be successfully used to authenticate the client.

The problem in the code is that in sloecode/sshserver/auth.py, we report errors for each key, rather than collecting errors and reporting them at the point when authentication has failed.

Changed in sloecode:
status: New → Confirmed
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.