News for hackers. Stuff that matters.
Re:Sshole by SoftTalker on Thursday November 05, 2026 @11:26AM (#50381105)
Well neither * nor ! (the two characters I've seen to indicate "no password") will appear in a valid hash. The problem was using a character that could also be returned as an error indicator, IIUC.
Re:Sshole by mort96 on Thursday November 05, 2026 @02:10PM (#50383087)
Yeah but it's not forwards compatible with future hashes where '*' is suddenly a legal hash, which is what happened here. You need a grammar which lets you tell the difference at the parsing stage between "this is a password hash" and "this account has no password". That's not the same as letting the value '*' flow through the system as normal and hope it doesn't happen to match the hash.
Re:Sshole by SoftTalker on Thursday November 05, 2026 @05:57PM (#50385735)
True, but if they would have picked ?, or #, or any character other than * with its designated special meaning in the /etc/shadow file, then we would not be in this pickle.
Re:Sshole by cowlevel on Thursday November 05, 2026 @10:14PM (#50387725)
hashes can't start with * and there's no reason to think they ever will
Re:Sshole by mort96 on Friday November 06, 2026 @08:46PM (#50400836)
Well, turns out that they sometimes do