
{"id":5529,"date":"2015-12-28T16:09:34","date_gmt":"2015-12-28T16:09:34","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=5529"},"modified":"2015-12-28T16:09:34","modified_gmt":"2015-12-28T16:09:34","slug":"keepassx-2-yubikey-support","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2015\/12\/keepassx-2-yubikey-support\/","title":{"rendered":"Install KeePassX 2 with YubiKey Support in Ubuntu"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/12\/keepassx-icon.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/12\/keepassx-icon.png\" alt=\"KeePassX 2 YubiKey support\" width=\"245\" height=\"250\" class=\"aligncenter size-full wp-image-5492\" \/><\/a><\/p>\n<p>For those who want the YubiKey support for <a href=\"https:\/\/www.keepassx.org\/news\/2015\/12\/533\" target=\"_blank\">KeePassX 2.0<\/a>, a new stable series released a month ago, here&#8217;s a PPA built the binaries a few days ago for Ubuntu 15.10, Ubuntu 15.04, and Ubuntu 14.04.<\/p>\n<blockquote><p><i>YubiKey (a USB authentication device) support is added by configuring a YubiKey slot to operate in HMAC-SHA1 challenge-response mode. The mechanism works by submitting the database master seed as a challenge to the YubiKey which replies with a HMAC-SHA1 cryptographic hash. The resultant hash is then hashed with the other keys (password, keyfile) to generate the final key used to encrypt the database. <\/i><\/p><\/blockquote>\n<p><b>How to Install KeePassX 2.0 with YubiKey support:<\/b><\/p>\n<p>Open terminal from Unity Dash, App Launcher, or via Ctrl+Alt+T shortcut key. When it opens, paste below command one by one and hit run:<\/p>\n<p>1. Add YubiKey stable PPA:<\/p>\n<pre style=\"border:none;\">sudo add-apt-repository ppa:yubico\/stable<\/pre>\n<p>Type in your password when it asks, <i>no visual feedback so just type in mind<\/i>, and hit Enter to continue.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/12\/yubikey-ppa.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/12\/yubikey-ppa-600x92.jpg\" alt=\"yubikey-ppa\" width=\"600\" height=\"92\" class=\"aligncenter size-large wp-image-5530\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/12\/yubikey-ppa-600x92.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/12\/yubikey-ppa-450x69.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/12\/yubikey-ppa.jpg 634w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>2. Add the <a href=\"https:\/\/launchpad.net\/~hda-me\/+archive\/ubuntu\/keepassx2-yubico\" target=\"_blank\">KeePassX 2 PPA<\/a> built with YubiKey support:<\/p>\n<pre style=\"border:none;\">sudo add-apt-repository ppa:hda-me\/keepassx2-yubico<\/pre>\n<p>3. Finally update package cache and install both keepassx and yubikey-personalization-gui:<\/p>\n<pre style=\"border:none;\">sudo apt-get update\n\nsudo apt-get install yubikey-personalization-gui keepassx<\/pre>\n<p>4. (Optional) After installation, you may keep the PPAs for receiving future updates, or disable\/remove them via <i>Software &#038; Updates -> Other Software<\/i>.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/12\/manage-ppa.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/12\/manage-ppa-450x281.jpg\" alt=\"manage-ppa\" width=\"450\" height=\"281\" class=\"aligncenter size-medium wp-image-5531\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/12\/manage-ppa-450x281.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/12\/manage-ppa-600x375.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/12\/manage-ppa.jpg 677w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p>For more information: <a href=\"https:\/\/github.com\/keepassx\/keepassx\/pull\/52\" target=\"_blank\">github.com\/keepassx\/keepassx\/pull\/52<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>For those who want the YubiKey support for KeePassX 2.0, a new stable series released a month ago, here&#8217;s a PPA built the binaries a few days ago for Ubuntu 15.10, Ubuntu 15.04, and Ubuntu 14.04. YubiKey (a USB authentication device) support is added by configuring a YubiKey slot to operate in HMAC-SHA1 challenge-response mode. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1321,1322,1326],"class_list":["post-5529","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-keepassx","tag-password-manager","tag-yubikey-support"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/5529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=5529"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/5529\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=5529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=5529"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=5529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}