{"id":1037,"date":"2012-07-04T05:39:18","date_gmt":"2012-07-04T05:39:18","guid":{"rendered":"https:\/\/kristau.net\/?p=1037"},"modified":"2012-07-04T05:39:18","modified_gmt":"2012-07-04T05:39:18","slug":"seriously-lame-yet-simultaneously-cool-blog-post-yubikey-plugin-for-wordpress","status":"publish","type":"post","link":"https:\/\/kristau.net\/blog\/1037\/","title":{"rendered":"Seriously Lame, Yet Simultaneously Cool Blog Post: Yubikey Plugin for WordPress"},"content":{"rendered":"<p>Just had to whip out a quick blog post about my experience installing the dead-simple Yubikey plugin for WordPress. It really is as easy as the Installation page states:<\/p>\n<div>\n<ol>\n<li><a href=\"http:\/\/www.yubico.com\/o.php?refid=57&amp;rno=444655187\" rel=\"nofollow\">Buy a Yubikey<\/a><\/li>\n<li><a href=\"https:\/\/api.yubico.com\/get-api-key\/\" rel=\"nofollow\">Create a Yubico ID &amp; API Key<\/a> (<span style=\"color: #993300;\">This URL is wrong, I&#8217;ve posted the right one below<\/span>)<\/li>\n<li>Unzip plugin into your \/wp-content\/plugins\/ directory.<\/li>\n<li>Enter Key ID on the Users -&gt; Profile and Personal options page.<\/li>\n<li>Enter Yubico ID &amp; API key on the Settings -&gt; Yubikey options page.<br \/>\nId\/key confused ? Well the Key ID is the first 12 chars from the output Your Yubikey generates, they don&#8217;t change, the Yubico ID and API Key is used when communicating with the Yubico authentication server.<\/li>\n<\/ol>\n<p>I only had one issue, but it was minor. After installing the plugin per the directions above, my login screen had a message stating that Yubikey authentication was disabled because I was missing the PHP Curl and Hash modules. A quick &#8216;sudo apt-get install php5-curl phg5-mhash; sudo \/etc\/init.d\/apache2 restart&#8217; later, and I was good to go!<\/p>\n<p>Finally, the updated URL for <a title=\"Yubico API key\" href=\"https:\/\/upgrade.yubico.com\/getapikey\/\" target=\"_blank\">generating a Yubico API key<\/a>. You need to complete step 1 first, however, because you&#8217;ll need to provide an OTP and an e-mail address to generate the API key.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Just had to whip out a quick blog post about my experience installing the dead-simple Yubikey plugin for WordPress. It really is as easy as the Installation page states: Buy a Yubikey Create a Yubico ID &amp; API Key (This URL is wrong, I&#8217;ve posted the right one below) Unzip plugin into your \/wp-content\/plugins\/ directory. [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":1042,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1037","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/kristau.net\/blog\/wp-json\/wp\/v2\/posts\/1037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kristau.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kristau.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kristau.net\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/kristau.net\/blog\/wp-json\/wp\/v2\/comments?post=1037"}],"version-history":[{"count":0,"href":"https:\/\/kristau.net\/blog\/wp-json\/wp\/v2\/posts\/1037\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kristau.net\/blog\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/kristau.net\/blog\/wp-json\/wp\/v2\/media?parent=1037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kristau.net\/blog\/wp-json\/wp\/v2\/categories?post=1037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kristau.net\/blog\/wp-json\/wp\/v2\/tags?post=1037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}