[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Savannah-users] password must be more complicated
From: |
Jan Owoc |
Subject: |
Re: [Savannah-users] password must be more complicated |
Date: |
Tue, 7 May 2013 13:58:20 -0600 |
On Tue, May 7, 2013 at 1:47 PM, Luiji Maryo <address@hidden> wrote:
> Behold my ultimate password generator in Python:
>
> import random, string
> p = ""
> for i in range(0, 20): p += random.choice(string.printable)
> print p # print(p) in python 3
>
> That works like a charm on virtually everything I've ever wanted a secure
> password on, including Savannah.
We're digressing a bit here, but I don't believe you actually tried
the above more than a few times. Just because a character is printable
doesn't mean you can find it on a keyboard.
>>> string.printable
'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>address@hidden|}~
\t\n\r\x0b\x0c'
Good luck with a password consisting of a vertical tab, form-feed and
carriage return :-).
Jan
P.S. The dollar symbol isn't on all keyboards, so I'd also remove it
from the list of acceptable characters.
- [Savannah-users] password must be more complicated, Bob Proulx, 2013/05/07
- Re: [Savannah-users] password must be more complicated, Ineiev, 2013/05/07
- Re: [Savannah-users] password must be more complicated, Jan Owoc, 2013/05/07
- Re: [Savannah-users] password must be more complicated, Karl Berry, 2013/05/07
- Re: [Savannah-users] password must be more complicated, Jan Owoc, 2013/05/08
- Re: [Savannah-users] password must be more complicated, Bob Proulx, 2013/05/13
- Re: [Savannah-users] password must be more complicated, Jan Owoc, 2013/05/13
- Re: [Savannah-users] password must be more complicated, Bob Proulx, 2013/05/15
- Re: [Savannah-users] password must be more complicated, Ineiev, 2013/05/17