Moderators: Moderators General, Magistrates, Prelates
Is it really random, though?wingsofwrath wrote:one random string of alphanumeric symbols
gmalivuk wrote:Is it really random, though?
FoolishOwl wrote:The point of the comic was that a pass phrase composed of four words randomly selected from a list of common words is sufficient for a medium security password, so we don't need all these cryptic techniques for selecting a password. If you prefer your method, that's fine, but it's not intrinsically better.
wingsofwrath wrote:Right, all the more reason to keep the subject matter of a password as far removed from your usual interests and as secret as possible.
And of course, "Bild88.1936BoschReglerSSM72" has three actual words, one random string of alphanumeric symbols, one date, a number and a non-numeric symbol, so in the worst case scenario the attacker knows the exact constituents, they could still combine for a given value of 52 bits of entropy, which I believe is quite sufficient for a medium security password.
This is an astoundingly weak way of generating passwords.Kartoffelkopf wrote:My passwords nowadays generally consist of a historical battle and the year it was fought in. This is easy for me to remember and helps with remembering dates too.
gmalivuk wrote:This is an astoundingly weak way of generating passwords.
Kartoffelkopf wrote:I don't use non-alpha-numeric symbols in my passwords since I am bound to forget them.
Using your example though:
88BlutundEhre.1933BundesarkivBildT3R
is what I came up with. The main problem is remembering in what order everything goes in.
Iranon wrote:What about using the tool you're most likely to have at hand, your keyboard? Pick whatever weaksauce password generation method you find easiest to remember, then shift at least one hand by one key in a direction of your choice before typing.
You don't even have know your own password until you have to tell it to someone or use an unfamiliar keyboard layout, at which time you should be able to figure it out.
gmalivuk wrote:This is an astoundingly weak way of generating passwords.Kartoffelkopf wrote:My passwords nowadays generally consist of a historical battle and the year it was fought in. This is easy for me to remember and helps with remembering dates too.
mishad wrote:The pet password-generation algorithms that have been proposed here have been ... eye-opening, certainly.
We aren't very good at estimating very large and very small numbers, but surely its clear even to those that use them that these algorithms don't give that variety?
That adds a total of 4 bits of entropy (each hand can move any of 4 directions, for a total of 16 ways to mangle). If your password was weak before, it's still pretty weak.Iranon wrote:What about using the tool your're most likely to have at hand, your keyboard? Pick whatever weaksauce password generation method you find easiest to remember, then shift at least one hand by one key in a direction of your choice before typing.
gmalivuk wrote:Do you have an actual point to contribute?
gmalivuk wrote:That adds a total of 4 bits of entropy (each hand can move any of 4 directions, for a total of 16 ways to mangle). If your password was weak before, it's still pretty weak.Iranon wrote:What about using the tool your're most likely to have at hand, your keyboard? Pick whatever weaksauce password generation method you find easiest to remember, then shift at least one hand by one key in a direction of your choice before typing.
Eebster the Great wrote:And let's face it, adding seven bits of entropy can be pretty useful sometimes.
My own rule of thumb (which I just made up on the spot) is, if I really don't know how to calculate the entropy exactly, but I suspect it is N bits, I should only use it for applications requiring N/2 bits or less of entropy, just to be on the super duper safe side. In your case, N/2 is still 50 bits, which is a pretty strong password, so go for it. Just don't depend on it's being 100 bits if you really need 100 bits, because in that unlikely case the attacker is also more likely to be exceptionally clever and might try a search method that is far better than brute force, even if you or I can't think of what such a method might entail.wingsofwrath wrote:By the way, I'm too lazy to calculate actual entropy, but I'm pretty confident it's somewhere around 100 bits, so I'll call my goal reached. Feel free to signal any mistakes I might have made in my reasoning.
wingsofwrath wrote:By the way, I'm too lazy to calculate actual entropy, but I'm pretty confident it's somewhere around 100 bits, so I'll call my goal reached. Feel free to signal any mistakes I might have made in my reasoning.
If your device auto-corrects your password entry, it's doing it wrong.mishad wrote:(particularly on mobile touchscreens with auto-correct)
CharonPDX wrote:
A co-worker has created an xkcd-compliant password generator:
http://slid3r.com/passGen
Enjoy.
fingerboards aroused panhandlers petroleum
I like the idea, but I agree that it might work better if it had a "Simple English Wiki" option for the words.
gmalivuk wrote:This is an astoundingly weak way of generating passwords.Kartoffelkopf wrote:My passwords nowadays generally consist of a historical battle and the year it was fought in. This is easy for me to remember and helps with remembering dates too.
slid3r wrote:Fixed, now with words 5 to 7 characters long. Thanks for the feedback!
http://slid3r.com/passGen -- Enjoy!
slid3r wrote:
Fixed, now with words 5 to 7 characters long. Thanks for the feedback!
http://slid3r.com/passGen -- Enjoy!
"1646 passwords generated so far" tells me that such passwords have about 10 bits of entropy.
gmalivuk wrote:If your device auto-corrects your password entry, it's doing it wrong.mishad wrote:(particularly on mobile touchscreens with auto-correct)
gmalivuk wrote:It tells me 1646 people have used that website so far.
<?php
// XKCD Inspired Password Generator
// Author: Slid3r
//
// Use freely, but please leave comments intact.
// Function to select and return a random word from text file
function randWords() {
$wordsFile = "/path/to/shortWordList.txt";
$handle = fopen($wordsFile, "r");
$contents = fread($handle, filesize($wordsFile));
$txtArray = explode("\n",$contents);
$max = sizeof($txtArray) - 1;
$randex = rand(0,$max);
$returnWord = $txtArray[$randex];
fclose($handle);
return $returnWord;
}
// Function to increment counter text file by one
function simpleCounter() {
$countFile = "/path/to/counterFile.txt";
$handle = fopen($countFile, "r");
$contents = fread($handle, filesize($countFile));
$returnCount = $contents+1;
fclose($handle);
$handle = fopen($countFile, "w");
fwrite($handle, $returnCount);
fclose($handle);
return $returnCount;
}
// Loop the randWords() function 4 times, and concatenate into one string
for ($i = 0; $i < 4; $i++) {
$sentence .= randWords() . " ";
}
// Print string of words to screen
echo "<br><center><h2>$sentence</h2><br>";
// Credit XKCD
echo "<h3>Inspired by:</h3>";
echo "<a href = \"http://xkcd.com/936/\"><img src=\"http://i.imgur.com/s2oQ9.png\" title=\"Credit to XKCD\" border=\"0\" \/></a><br><br>";
// Increment counter
$count = simpleCounter();
echo "<center>$count passwords generated so far.</center>";
?>
Anonymously Famous wrote: Unless it's your own and you can keep the passwords secure during transmission.
Yeah, someone has already mentioned in this thread how easy it would be to set up a "free password generation" website and then store all the passwords to hack people's accounts at random.Anonymously Famous wrote:the interwebs are full of people who make security necessary in the first place, so you just can't trust a web-based password generator. Unless it's your own and you can keep the passwords secure during transmission.
gmalivuk wrote:Yeah, someone has already mentioned in this thread how easy it would be to set up a "free password generation" website and then store all the passwords to hack people's accounts at random.
Anonymously Famous wrote:Now all I need to do is find a sufficiently large word list that I like.
#!/usr/bin/perl
use strict;
local ($/,@ARGV) = ("\n","/usr/share/dict/words");
my @words = <>;
chomp(@words);
for my $i (@words) {
if ( $i =~ m/^[a-z]{5,7}$/ ) {
print "$i\n";
}
}
slid3r wrote:The point of giving you the source, was so that you can run it yourself. You really need to lighten up. I am no hacker, nor do I have interest in malicious or intrusive acts. I just threw together a fun script in honor of this great comic. Please ... just enjoy it for what it is, and stop making it out to be some elaborate phishing scheme.
gmalivuk wrote:I don't know if I already mentioned it here or in one of the math forum threads about passwords, but I personally use PassHash, the html file for which I saved locally after verifying in the source code that it doesn't transmit any data anywhere off my computer.
Return to Individual XKCD Comic Threads
Users browsing this forum: AnotherKevin, ggh, Jonas79, kenmelken, MobTeeseboose, mscha, orange89, Sheldon, spamjam and 19 guests