by snarfy · 11y ago · 0 comments
It's a sad day when I have to sneak bug fixes that annoy me in on my free time, but this seems to be the norm in an agile driven software world, at least my experience with it for the last ten years.
1. let's suppose a user have a password: (note the space)
" 123"
2. also you store the password using some hashing function, which prevents you from knowing the password.3. two weeks later the bugfix goes live, the user cannot longer access the service.
Also, you cannot easily estimate how much benefit/annoyed users your _fix_ will endup having .. which makes it a higly risk change.
Fixing the space issue will help more people than it hurts. People that have spaces at the beginning or end of their password can simply reset their password or call customer support. Users forget or mistype passwords all the time.
With 2fa, you control the allowed character set, and as such can make sure that what you mention cannot happen.
Mind you, 2fa is stupid for a whole lot of other reasons, but that's another matter.
Software can be working but not released until it's working well.
Agile came about because people started saying "hey, this process we have for creating working software isn't actually creating working software. Maybe we should try another process."
The bug was that the display name was first checked to see if it already existed before white space was stripped. Luckily this was fixed very quickly after it was found, as it existed in production.