Message from discussion
password generator
Received: by 10.68.73.229 with SMTP id o5mr8244462pbv.7.1324048694320;
Fri, 16 Dec 2011 07:18:14 -0800 (PST)
X-BeenThere: vim_use@googlegroups.com
Received: by 10.68.51.72 with SMTP id i8ls12861048pbo.5.gmail; Fri, 16 Dec
2011 07:18:08 -0800 (PST)
Received: by 10.68.190.2 with SMTP id gm2mr8248176pbc.4.1324048688656;
Fri, 16 Dec 2011 07:18:08 -0800 (PST)
Received: by 10.68.190.2 with SMTP id gm2mr8248175pbc.4.1324048688647;
Fri, 16 Dec 2011 07:18:08 -0800 (PST)
Return-Path: <v...@tim.thechases.com>
Received: from boston.accountservergroup.com (boston.accountservergroup.com. [50.22.11.22])
by gmr-mx.google.com with ESMTPS id z2si10744843pbn.1.2011.12.16.07.18.07
(version=TLSv1/SSLv3 cipher=OTHER);
Fri, 16 Dec 2011 07:18:07 -0800 (PST)
Received-SPF: neutral (google.com: 50.22.11.22 is neither permitted nor denied by best guess record for domain of v...@tim.thechases.com) client-ip=50.22.11.22;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 50.22.11.22 is neither permitted nor denied by best guess record for domain of v...@tim.thechases.com) smtp.mail=...@tim.thechases.com
Received: from ppp-70-251-107-99.dsl.rcsntx.swbell.net ([70.251.107.99] helo=[192.168.1.12])
by boston.accountservergroup.com with esmtpsa (TLSv1:AES256-SHA:256)
(Exim 4.69)
(envelope-from <v...@tim.thechases.com>)
id 1RbZXy-0004yX-RM; Fri, 16 Dec 2011 09:18:06 -0600
Message-ID: <4EEB612D.8000608@tim.thechases.com>
Date: Fri, 16 Dec 2011 09:18:05 -0600
From: Tim Chase <v...@tim.thechases.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111120 Icedove/3.1.16
MIME-Version: 1.0
To: vim_use@googlegroups.com
CC: Steve Hall <digit...@dancingpaper.com>
Subject: Re: password generator
References: <19726b3c-fd38-4ae8-a3b8-01a091853cad@z17g2000vbe.googlegroups.com> <32222150.9.1324024618278.JavaMail.geo-discussion-forums@vbad17> <CAALa2W3b3PZp2sR_AYs3+RGvqFXMu3gG7kYK1MYSwdxg-3PY5g@mail.gmail.com>
In-Reply-To: <CAALa2W3b3PZp2sR_AYs3+RGvqFXMu3gG7kYK1MYSwdxg-3PY5g@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - boston.accountservergroup.com
X-AntiAbuse: Original Domain - googlegroups.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - tim.thechases.com
X-Source:
X-Source-Args:
X-Source-Dir:
On 12/16/11 07:35, Steve Hall wrote:
> On Fri, Dec 16, 2011 at 3:36 AM, lith wrote:
> The best passwords include the most character possibilities. This
> crazy notion websites/software have of restricting them to certain
> characters or counts only means less security because they are more
> easily guessed.
It's true that larger character sets diminish the ability to
brute-force the password, but length is also a factor. And
there's the ability to remember that password without writing it
down. A password that has 25 alphanumeric characters beats the
pants off an 8-character mixed-printable in terms of time to
complete. Steve Gibson (security guy) goes so far as to suggest
keeping some secret thing you can repeat to pad out your length,
such as adding 15 ampersands or 8 period-followed-by-comma pairs
after your password to give it extra length.[1]
That said, if you run vim with +python built in, you can use this
one-liner:
:python import random as r, string as s, vim as v; v.command('let
@"="'+(''.join([r.choice(s.printable.replace('"', '')) for i in
range(10)]))+'"')
which will preload the scratch register with a random password of
length 10 (in this case) chosen from printable-characters (minus
the double-quote for simplicity instead of escaping). You can
then paste that just as you would anything you've yanked.
-tim
[1] https://www.grc.com/haystack.htm