 |
|
 |
|
|
 |
FAQ: How can I generate good strong passwords? |
 |
 |
|
|
 |
|
 |
|
|
 |
Re: FAQ: How can I generate good strong passwords? |
 |
 |
|
|
04-09-06 12:16 AM
John Navas <spamfilter0@navasgroup.com> writes:
>Q: How can I generate good strong passwords?
>A: Password Safe* <http://passwordsafe.sourceforge.net/>
>Originally created by noted cryptographer Bruce Schneier of Counterpane Lab
s,
>it's Open Source and free, and has been subjected to extensive peer review.
???? Password safe is for storing passwords, not generating them.
(It has been claimed to have a generator as well, but it is certainly not
described in any documentation. Also as soon as attackers know that you
are using it, you have given some information, and it is not a strong as it
could be.)
The proper answer to this is
dd if=/dev/urandom of=/tmp/p bs=100 count=1
less /tmp/p
And copy down the first 20 printable characters.
This is a very very secure password ( as secure as it could be assuming
printable characters) . It is also a totally unremeberable
password.
Eg, on my first try, $,c*:11#MwU!`b8QB-Th
As soon as you place "momorability" into the mix, your password is no longer
as secure as it could be.
>* NOT <http://www.passwordsafe.com/>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: FAQ: How can I generate good strong passwords? |
 |
 |
|
|
04-09-06 12:16 AM
[POSTED TO alt.internet.wireless - REPLY ON USENET PLEASE]
In <e0upou$env$1@nntp.itservices.ubc.ca> on 4 Apr 2006 21:51:26 GMT, Unruh
<unruh-spam@physics.ubc.ca> wrote:
>John Navas <spamfilter0@navasgroup.com> writes:
>
>
>
>???? Password safe is for storing passwords, not generating them.
It's also for generating them...
>(It has been claimed to have a generator as well,
...as you apparently know. ;)
>but it is certainly not
>described in any documentation.
Of course it is -- see Password Policy. Source code is also available.
>Also as soon as attackers know that you
>are using it, you have given some information, and it is not a strong as it
>could be.)
Not true -- security by obscurity is an oxymoron.
>The proper answer to this is
>dd if=/dev/urandom of=/tmp/p bs=100 count=1
>less /tmp/p
>And copy down the first 20 printable characters.
>This is a very very secure password ( as secure as it could be assuming
>printable characters) .
UNIX-specific, a hassle, and no more secure than Password Safe.
>It is also a totally unremeberable
>password.
When a password needs to be remembered, I use and recommend Diceware Words.
<http://world.std.com/~reinhold/diceware.html>
>Eg, on my first try, $,c*:11#MwU!`b8QB-Th
>As soon as you place "momorability" into the mix, your password is no longe
r
>as secure as it could be.
Not true -- that just changes the entropy of a given key length, which can b
e
offset with a longer key length.
--
Best regards, SEE THE FAQ FOR ALT.INTERNET.WIRELESS AT
John Navas <http://en.wikibooks.org/wiki/FAQ_fo...ternet.wireless>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: FAQ: How can I generate good strong passwords? |
 |
 |
|
|
04-09-06 12:16 AM
John Navas <spamfilter0@navasgroup.com> writes:
>[POSTED TO alt.internet.wireless - REPLY ON USENET PLEASE]
>In <e0upou$env$1@nntp.itservices.ubc.ca> on 4 Apr 2006 21:51:26 GMT, Unruh
><unruh-spam@physics.ubc.ca> wrote:
[vbcol=seagreen]
>It's also for generating them...
[vbcol=seagreen]
>...as you apparently know. ;)
[vbcol=seagreen]
>Of course it is -- see Password Policy. Source code is also available.
[vbcol=seagreen]
>Not true -- security by obscurity is an oxymoron.
The password is the one item tht MUST be secure. Its generating mechanism
is important. Lets say we know our adversary uses a generator which
produces consecutive letters of the alphabet as the password. It makes
breaking his password easy. Any generator which does not simply make each
letter an independent random variable over all letters gives the attacker
information.
[vbcol=seagreen]
>UNIX-specific, a hassle, and no more secure than Password Safe.
A hassle? How is it more of a hassle than downloading password safe, and
figuring out how to use it to generate passwords.
[vbcol=seagreen]
>When a password needs to be remembered, I use and recommend Diceware Words.
><http://world.std.com/~reinhold/diceware.html>
[vbcol=seagreen]
>Not true -- that just changes the entropy of a given key length, which can
be
>offset with a longer key length.
Which destroys memorability again.
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: FAQ: How can I generate good strong passwords? |
 |
 |
|
|
04-09-06 12:16 AM
[POSTED TO alt.internet.wireless - REPLY ON USENET PLEASE]
In <e0usv8$fng$1@nntp.itservices.ubc.ca> on 4 Apr 2006 22:46:00 GMT, Unruh
<unruh-spam@physics.ubc.ca> wrote:
>John Navas <spamfilter0@navasgroup.com> writes:
>
>The password is the one item tht MUST be secure.
Of course.
>Its generating mechanism
>is important. Lets say we know our adversary uses a generator which
>produces consecutive letters of the alphabet as the password. It makes
>breaking his password easy. Any generator which does not simply make each
>letter an independent random variable over all letters gives the attacker
>information.
Not necessarily. The best generator is one that's open and subject to peer
review. Otherwise, there may be unknown defects. Security *doesn't* come
from keeping the algorithm secret -- it comes from having a good algorithm,
and sufficient password entropy (e.g., length). Randomness in the computer
sense isn't necessarily a guarantee of security, since most so-called random
number generators are actually pseudo-random, based on some sort of
predictable algorithm.
>
>
>A hassle? How is it more of a hassle than downloading password safe, and
>figuring out how to use it to generate passwords.
Password Safe is dead easy to use, Open Source and subject to peer review,
runs on Windows and other platforms, and does much more than just generate
passwords.
>
Use of dice is more random than most computer algorithms.
[vbcol=seagreen]
>
>
>Which destroys memorability again.
Again, not necessarily. Something like "rock blue sky screen urge run wall"
(diceware words) is both more secure and much easier to remember, especially
if you generate a phrase with a memorable acronym.
--
Best regards, SEE THE FAQ FOR ALT.INTERNET.WIRELESS AT
John Navas <http://en.wikibooks.org/wiki/FAQ_fo...ternet.wireless>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: FAQ: How can I generate good strong passwords? |
 |
 |
|
|
04-09-06 12:16 AM
John Navas <spamfilter0@navasgroup.com> writes:
>[POSTED TO alt.internet.wireless - REPLY ON USENET PLEASE]
>In <e0usv8$fng$1@nntp.itservices.ubc.ca> on 4 Apr 2006 22:46:00 GMT, Unruh
><unruh-spam@physics.ubc.ca> wrote:
[vbcol=seagreen]
[vbcol=seagreen]
>Of course.
[vbcol=seagreen]
>Not necessarily. The best generator is one that's open and subject to peer
>review. Otherwise, there may be unknown defects. Security *doesn't* come
>from keeping the algorithm secret -- it comes from having a good algorithm,
>and sufficient password entropy (e.g., length). Randomness in the computer
>sense isn't necessarily a guarantee of security, since most so-called rando
m
>number generators are actually pseudo-random, based on some sort of
>predictable algorithm.
I agree. HOwever, as I read the very brief stuff I can find about password
safe's generator, the user feeds it all kinds of conditions on the
passwords (length, lower case only, at least one non-alpha character, etc)
This can result in very insecure passwords being generated (that they are
as secure as they could be given the constraints is irrelevant). In
addition the program uses an algorithmic random number generator as I see
it as well. Ie, it would be far better to give a series of rules for
good password generation rather than just point users to a program whose
primary purpose is something else, and whose password generation capability
is hard to find in the documentation, and has no warnings or description as
to what makes a good password in the docs. It also lulls the naive user
into a belief that they can hand off their security to a program which they
do not understand.
[vbcol=seagreen]
>Password Safe is dead easy to use, Open Source and subject to peer review,
>runs on Windows and other platforms, and does much more than just generate
>passwords.
Yes, so why are you advertising it as the only way to get a secure
password?
[vbcol=seagreen]
>Use of dice is more random than most computer algorithms.
Perhaps.
[vbcol=seagreen]
>Again, not necessarily. Something like "rock blue sky screen urge run wall
"
>(diceware words) is both more secure and much easier to remember, especiall
y
>if you generate a phrase with a memorable acronym.
If you generate the phrase it is not random. That particular phrase I
suspect has far less randomness than my phrase, and the urge to misremeber
by inserting verbs and articles is high.
>--
>Best regards, SEE THE FAQ FOR ALT.INTERNET.WIRELESS AT
>John Navas <http://en.wikibooks.org/wiki/FAQ_fo...ternet.wireless>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: FAQ: How can I generate good strong passwords? |
 |
 |
|
|
04-09-06 12:16 AM
[POSTED TO alt.internet.wireless - REPLY ON USENET PLEASE]
In <e10ono$5dn$1@nntp.itservices.ubc.ca> on 5 Apr 2006 15:46:00 GMT, Unruh
<unruh-spam@physics.ubc.ca> wrote:
>John Navas <spamfilter0@navasgroup.com> writes:
>
>I agree. HOwever, as I read the very brief stuff I can find about password
>safe's generator, the user feeds it all kinds of conditions on the
>passwords (length, lower case only, at least one non-alpha character, etc)
>This can result in very insecure passwords being generated (that they are
>as secure as they could be given the constraints is irrelevant).
It's possible to misuse *any* tool. The primary reason for all the options
is
that different applications (e.g., websites) have different rules (e.g.,
allowable characters, length) for acceptable passwords. The program's help
advises the use of the longest possible password. What more must they do to
satisfy you? ;)
>In
>addition the program uses an algorithmic random number generator as I see
>it as well.
True, but one that has passed rigorous tests for randomness. Also, that's
what you've advised -- OK for you, but not for Password Safe? ;) Regardles
s,
the only real alternatives are to use something like a keystroke timer, whic
h
is both problematic and a hassle, or an external source of randomness, like
my
recommendation of diceware words.
>Ie, it would be far better to give a series of rules for
>good password generation rather than just point users to a program whose
>primary purpose is something else, and whose password generation capability
>is hard to find in the documentation, and has no warnings or description as
>to what makes a good password in the docs.
I don't think those are valid criticisms, but I do agree that I should provi
de
more information, so I've updated my FAQ. See what you think.
>It also lulls the naive user
>into a belief that they can hand off their security to a program which they
>do not understand.
I don't think so -- I think the naive user is well-served by Password Safe.
>
>Yes, so why are you advertising it as the only way to get a secure
>password?
I'm not doing that -- it's just the one I use and recommend. Regardless,
I now recommend Diceware Words as well.
>
>Perhaps.
I think it's pretty much a given.
>
>
>If you generate the phrase it is not random.
It was in fact generated randomly.
>That particular phrase I
>suspect has far less randomness than my phrase,
It actually has more information entropy, and that's what counts. See:
<http://en.wikipedia.org/wiki/Information_entropy>
<http://en.wikipedia.org/wiki/Random_password_generator>
and the other links I've added to my FAQ.
>and the urge to misremeber
>by inserting verbs and articles is high.
Inserting verbs and articles would actually increase strength be increasing
length, not decrease it.
--
Best regards, SEE THE FAQ FOR ALT.INTERNET.WIRELESS AT
John Navas <http://en.wikibooks.org/wiki/FAQ_fo...ternet.wireless>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: FAQ: How can I generate good strong passwords? |
 |
 |
|
|
04-09-06 12:16 AM
On 4 Apr 2006 22:46:00 GMT, in alt.internet.wireless , Unruh
<unruh-spam@physics.ubc.ca> wrote:
>John Navas <spamfilter0@navasgroup.com> writes:
>
>
Euh, this is bullshit. Obscuring the target is a good security
technique. If the bad guys don't know you're there, how can they come
after you?
[vbcol=seagreen]
>The password is the one item tht MUST be secure.
Yes but...
>Its generating mechanism is important.
Sure. but so what?
>
>A hassle? How is it more of a hassle than downloading password safe, and
>figuring out how to use it to generate passwords.
Imagine (gasp) you don't have unix. Or don't understand what all that
magick dd stuff does.
>
>
>Which destroys memorability again.
I disagree. Many people can remember pretty long strings of fairly
random letters, such as a sequence of names and dates.
Mark McIntyre
--
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: FAQ: How can I generate good strong passwords? |
 |
 |
|
|
04-09-06 12:16 AM
[POSTED TO alt.internet.wireless - REPLY ON USENET PLEASE]
In <bke83210nes28caq8gq0jdik9575bjlk70@4ax.com> on Wed, 05 Apr 2006 22:50:00
+0100, Mark McIntyre <markmcintyre@spamcop.net> wrote:
>On 4 Apr 2006 22:46:00 GMT, in alt.internet.wireless , Unruh
><unruh-spam@physics.ubc.ca> wrote:
>
>
>Euh, this is bullshit. Obscuring the target is a good security
>technique. If the bad guys don't know you're there, how can they come
>after you?
<http://www.schneier.com/crypto-gram-0205.html#1>
"Secrecy, Security, and Obscurity"
by Bruce Schneier
Founder and CTO
Counterpane Internet Security, Inc.
--
Best regards, SEE THE FAQ FOR ALT.INTERNET.WIRELESS AT
John Navas <http://en.wikibooks.org/wiki/FAQ_fo...ternet.wireless>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: FAQ: How can I generate good strong passwords? |
 |
 |
|
|
04-09-06 12:16 AM
John Navas <spamfilter0@navasgroup.com> writes:
>[POSTED TO alt.internet.wireless - REPLY ON USENET PLEASE]
>In <e10ono$5dn$1@nntp.itservices.ubc.ca> on 5 Apr 2006 15:46:00 GMT, Unruh
><unruh-spam@physics.ubc.ca> wrote:
[vbcol=seagreen]
[vbcol=seagreen]
>It's possible to misuse *any* tool. The primary reason for all the options
is
>that different applications (e.g., websites) have different rules (e.g.,
>allowable characters, length) for acceptable passwords. The program's help
>advises the use of the longest possible password. What more must they do t
o
>satisfy you? ;)
NOt them, you. You say that to have a strong password they should use
password safe. Period. That is not sufficient.
[vbcol=seagreen]
>True, but one that has passed rigorous tests for randomness. Also, that's
>what you've advised -- OK for you, but not for Password Safe? ;) Regardle
ss,
>the only real alternatives are to use something like a keystroke timer, whi
ch
>is both problematic and a hassle, or an external source of randomness, like
my
>recommendation of diceware words.
I have no objection to password safe per se. I do have objections to you
essentially saying that if the user uses password safe then they are OK.
[vbcol=seagreen]
>I don't think those are valid criticisms, but I do agree that I should prov
ide
>more information, so I've updated my FAQ. See what you think.
[vbcol=seagreen]
>I don't think so -- I think the naive user is well-served by Password Safe.
[vbcol=seagreen]
>I'm not doing that -- it's just the one I use and recommend. Regardless,
>I now recommend Diceware Words as well.
[vbcol=seagreen]
>I think it's pretty much a given.
[vbcol=seagreen]
>It was in fact generated randomly.
What I interpret "generate the phrase" is that you generate the words, or
add words to the words from diceware or whatever so as to get a memorable
phrase. If you just use diceware, the stuff you get is not very memorable.
Eg their example:
cleftcamsynodlacyyr
While somewhat more memorable than $,c*:11#MwU!`b8QB-Th
it also has much less "entropy". ( about the same as $,c*:11 ) which is
probably easier to remember)
[vbcol=seagreen]
>It actually has more information entropy, and that's what counts. See:
><http://en.wikipedia.org/wiki/Information_entropy>
><http://en.wikipedia.org/wiki/Random_password_generator>
>and the other links I've added to my FAQ.
[vbcol=seagreen]
>Inserting verbs and articles would actually increase strength be increasing
>length, not decrease it.
No, I meant that the user would in trying to remember it, insert articles
and verbs while trying to remember it, meaning that he would type in the
wrong passphrase.
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
|
Sponsored Links |
 |
 |
|
|
 |
All times are GMT. The time now is 01:59 PM. |
 |
|
|
 |
|
 |
|
|
 |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
|
|
|
|
|
 |
|
 |
|