logoalt Hacker News

xoa • today at 4:09 PM • 1 reply • view on HN

So I hate to be a downer here (and somewhat surprisingly the first one) as I love this sort of concept, I love my cats who have indeed walked on my keyboard with surprising results a few times over the decades, and it's fun. But at the same time: please DO NOT USE A WEBSITE FOR PASSWORD GENERATION. Use software (preferably OSS or source available, but at least reputable) that is fully offline on your own system. It sucks to say this is the world we're in, but a site like this is total bait for password harvesting. And just like other nice things like browser extensions, a whole additional issue is that even if it starts with perfectly good intentions it's non-trivial to impossible to determine if it gets acquired by someone else at a random point later. Or gets hacked into without the original creator even noticing for awhile. This has repeatedly happened.

This could be cute as native software, or I guess even as an offline electron thing. But general debates about web vs native aside, this is one specific case where I think any sort of online service is a bad match.


Replies

abound • today at 4:16 PM

On Linux, I always go for something like:

    tr -dc 'A-Za-z0-9' < /dev/urandom | head -c 24
Where the number at the end controls the length. Or the Bitwarden extension for web stuff
➕ show 1 reply