{"id":2146,"date":"2011-10-03T00:58:41","date_gmt":"2011-10-03T00:58:41","guid":{"rendered":"http:\/\/www.bartbusschots.ie\/blog\/?p=2146"},"modified":"2014-08-04T15:24:16","modified_gmt":"2014-08-04T15:24:16","slug":"introducing-www-xkpasswd-net-xkpasswd-pm","status":"publish","type":"post","link":"https:\/\/www.bartbusschots.ie\/s\/2011\/10\/03\/introducing-www-xkpasswd-net-xkpasswd-pm\/","title":{"rendered":"Introducing www.xkpasswd.net &#038; xkpasswd.pm"},"content":{"rendered":"<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.bartbusschots.ie\/blog\/wp-content\/uploads\/2011\/10\/xkpasswdBanner.png\" alt=\"xkpasswd - a secure memorable password generator\" title=\"xkpasswd - a secure memorable password generator\" width=\"490\" height=\"158\" style=\"border:0px solid black\" \/><\/p>\n<p>Steve Gibson really set the cat among the pigeons with his <a href=\"https:\/\/www.grc.com\/haystack.htm\" target=\"_blank\">Password Haystacks<\/a> site a few months ago, and <a href=\"http:\/\/xkcd.com\/936\/\" target=\"_blank\">XKCD&#8217;s &#8216;Correct Horse Battery Staple&#8217; web comic<\/a> brought that message home to many many nerds and geeks. The basic idea is that you&#8217;re better off making your passwords long and memorable than short and complex. In the simplified XKCD example the password is simply made up of 4 common words, but Steve Gibson suggests you should add some padding around those words to make the passwords much harder to guess.<\/p>\n<p>This is a lovely theory, but I&#8217;m not imaginative, and I need to invent a lot of passwords every week, so I wrote a Perl module to do it for me, and called it <code>xkpasswd.pm<\/code>. The first thing I&#8217;m announcing today is that I&#8217;ve made this library available for free for both personal and commercial use (under the FreeBSD license), you can download it from <a href=\"http:\/\/www.bartb.ie\/xkpasswd\">www.bartb.ie\/xkpasswd<\/a>.<\/p>\n<p style=\"text-align:center\"><a href=\"\/downloads\/xkpasswd-v0.1.zip\"><img decoding=\"async\" alt=\"Download\" src=\"\/downloads\/download.png\" style=\"border:0px solid black\" \/><\/a><\/p>\n<p>It&#8217;s great to have a library for nerds to play with, but what about everyone else? Well, that&#8217;s where my second announcement comes in, I&#8217;ve also created <a href=\"http:\/\/www.xkpasswd.net\" target=\"_blank\">www.xkpasswd.net<\/a>, a simple web front-end to the <code>xkpasswd.pm<\/code> module.<\/p>\n<p style=\"text-align:center; font-weight: bold;font-size:20pt\"><a href=\"http:\/\/www.xkpasswd.net\">www.xkpasswd.net<\/a><\/p>\n<p>In case anyone is wondering where the name comes from? It&#8217;s a mashing together of XKCD, and <code>passwd<\/code>, the Linux\/Unix command for changing passwords. Because I used to use Solaris, and hence the <code>yppasswd<\/code> command, I liked the idea of keeping the prefix to just two letters, hence <code>xkpasswd<\/code>, rather than <code>xkcdpasswd<\/code>.<\/p>\n<p>For any programmers interested in using the Perl module, it has no prerequisites other than base Perl, and all you need to get started is the module and a dictionary file to point it at. The download package contains the module, a sample dictionary, and a sample Perl script which invokes the module.<\/p>\n<p>In the future I also plan to release a JavaScript-only version if the library so that others can embed xkpasswd-based password generators in their own sites without needing Perl CGI support on their servers. I&#8217;m also experimenting with creating an OS X Service to allow people to easily generate xkpasswd passwords from anywhere within OS X, and perhaps even a native OS X Application. So stay tuned!<\/p>\n<p style=\"text-align: center\"><a href=\"http:\/\/xkcd.com\/936\/\" target=\"_blank\"><img decoding=\"async\" src=\"http:\/\/imgs.xkcd.com\/comics\/password_strength.png\" width=\"480\" alt=\"XKCD - Password Strength\" style=\"border:0px solid black\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Steve Gibson really set the cat among the pigeons with his Password Haystacks site a few months ago, and XKCD&#8217;s &#8216;Correct Horse Battery Staple&#8217; web comic brought that message home to many many nerds and geeks. The basic idea is that you&#8217;re better off making your passwords long and memorable than short and complex. In [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[12,440,16],"tags":[410,267,441],"series":[],"class_list":["post-2146","post","type-post","status-publish","format-standard","hentry","category-computers-tech","category-tech-projects","category-programming","tag-hsxkpasswd","tag-perl","tag-web-site"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7t9xK-yC","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/posts\/2146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/comments?post=2146"}],"version-history":[{"count":13,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/posts\/2146\/revisions"}],"predecessor-version":[{"id":2160,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/posts\/2146\/revisions\/2160"}],"wp:attachment":[{"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/media?parent=2146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/categories?post=2146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/tags?post=2146"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/series?post=2146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}