[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: One-line password generator



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Aug 22, 2017 at 08:46:24PM +0100, Brian wrote:
> On Tue 22 Aug 2017 at 10:04:59 -0500, Mario Castelán Castro wrote:
> 
> > I have the following line in my Bash init file:
> > 
> > “alias gen-password="head -c 16 /dev/urandom | base64 | head -c 22 && echo"”
> > 
> > This generates a password with just above 128 bits of entropy. You may
> > find it useful.
> 
> Wow! Can you suggest something which gives one teensy-weensy bit of
> memorability?

Personally I use pwgen, but one has to admit that the OP's solution
is elegant. And memorability is... in the eye of the beholder (and
it has more entropy per char as default pwgen, so...)

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlmcjhwACgkQBcgs9XrR2kYsQgCfeR1yyBAUbZdIk6QJK2DNqlat
rLcAnAm7m08X6v36ziGyLVWc0HuPWnvw
=OOfH
-----END PGP SIGNATURE-----


Reply to: