{"id":43572,"date":"2023-01-13T16:23:06","date_gmt":"2023-01-13T16:23:06","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=43572"},"modified":"2023-01-13T16:25:35","modified_gmt":"2023-01-13T16:25:35","slug":"keepass2-2-53-fips-mode","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2023\/01\/keepass2-2-53-fips-mode\/","title":{"rendered":"KeePass2 2.53 Added FIPS Mode, Improved History Entry [Ubuntu PPA]"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/keepass2-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-43100\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/keepass2-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/keepass2-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/keepass2-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/keepass2-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/keepass2-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/keepass2-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>KeePass password manager released new 2.53 version a few days ago. Here are the new features as well as PPA packages for Ubuntu users.<\/p>\n<p>The new release enhanced the <b>History tab<\/b> in <i>Edit Entry<\/i>. When editing an entry, the History tab contains the <b>&#8216;Dialog (unsaved)&#8217;<\/b> to represent all data entered in the current dialog, and <b>&#8216;Current (TIME)&#8217;<\/b>, for currently stored in the database.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass-history-tab.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-43573\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass-history-tab-600x550.webp\" alt=\"\" width=\"600\" height=\"550\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass-history-tab-600x550.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass-history-tab-300x275.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass-history-tab.webp 735w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>As you see in the screenshot above, when selecting 2 history entries, user can click &#8220;<b>Compare<\/b>&#8221; button to get a detailed comparison between them in a new &#8220;Compare Entries&#8221; dialog.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass-compare-dialog.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-43574\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass-compare-dialog-600x424.webp\" alt=\"\" width=\"600\" height=\"424\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass-compare-dialog-600x424.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass-compare-dialog-300x212.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass-compare-dialog-768x543.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass-compare-dialog.webp 1043w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>As well, there&#8217;s now a &#8216;History&#8217; option in the &#8216;Find&#8217; main menu, allows to get a overview of all edit histories.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass2-history.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-43575\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass2-history-600x424.webp\" alt=\"\" width=\"600\" height=\"424\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass2-history-600x424.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass2-history-300x212.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass2-history-768x543.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass2-history.webp 1043w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>The release also added <b>filter box<\/b>, <b>Print<\/b> and <b>Export<\/b> buttons to most report dialogs (see the last 2 screenshots), including last modified entries, history, large entries, similar password clusters, password quality, history entry comparison, database file search.<\/p>\n<p>Other changes in <a href=\"https:\/\/keepass.info\/news\/n230109_2.53.html\" target=\"_blank\" rel=\"noopener\">KeePass 2.53<\/a> inlcude:<\/p>\n<ul>\n<li>Support for running KeePass in FIPS mode.<\/li>\n<li>Add access keys in the &#8216;View&#8217; -&gt; &#8216;Sort By&#8217; menu, entry templates menu, &#8216;Perform Auto-Type&#8217; menu, and<\/li>\n<li>Ctrl+T for the &#8216;Copy Time-Based OTP&#8217;, and Ctrl+Shift+T for the &#8216;Show Time-Based OTP&#8217; entry data command<\/li>\n<li>Enhance Password Depot XML import module to support the new format<\/li>\n<li>Improvements to integrate with Edge browser.<\/li>\n<\/ul>\n<h3>How to Install KeePass 2.53 in Ubuntu:<\/h3>\n<p>For native Linux password manager, I would recommend <a href=\"https:\/\/keepassxc.org\/\" rel=\"noopener\" target=\"_blank\">KeePassXC<\/a>. Though, it&#8217;s always good to have more choices!<\/p>\n<p>There&#8217;s an <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/keepass2\" target=\"_blank\" rel=\"noopener\">unofficial PPA<\/a> maintains the software package, for all current Ubuntu releases (Ubuntu 18.04, 20.04, 22.04, and 22.10) and their based systems.<\/p>\n<p><b>1.<\/b> First, press Ctrl+Alt+T on keyboard to open terminal. Then run the command below to add the PPA:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/keepass2<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-33222\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/keepass2-ppa-focal.png\" alt=\"\" width=\"600\" height=\"140\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/keepass2-ppa-focal.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/keepass2-ppa-focal-450x105.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>2.<\/b> For old Ubuntu 18.04 &amp; Linux Mint, you need to manually refresh package cache though it&#8217;s done automatically in Ubuntu 20.04+:<\/p>\n<pre>sudo apt update<\/pre>\n<p><b>3.<\/b> Finally, either run the apt command below to install the package:<\/p>\n<pre>sudo apt install keepass2<\/pre>\n<p>Or use Software Updater (Update Manager) to update the package if an old version was installed on your system.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-33223\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/apt-keepass2.png\" alt=\"\" width=\"600\" height=\"251\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/apt-keepass2.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/apt-keepass2-450x188.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>4.<\/b> Since KeePass 2.52, it checks &#8216;KeePass.exe.config&#8217; file on every app startup. And, it will pop-up a warning dialog due to version mis-match. The exe version number (<em>the last 5 numbers in 2.53.0.13788<\/em>) auto-generates depends on when you build the package. It cannot be totally same to the one in KeePass.exe.config file, unless it happened to build at exact same time when the official KeePass team compiled the package.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/keepass2-warning.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-43102\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/keepass2-warning.webp\" alt=\"\" width=\"459\" height=\"157\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/keepass2-warning.webp 459w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/keepass2-warning-300x103.webp 300w\" sizes=\"auto, (max-width: 459px) 100vw, 459px\" \/><\/a><\/p>\n<ol>\n<li>I can&#8217;t figure out this issue due to poor bash scripting skill, but you can workaround the issue by checking version number via command:\n<pre>monodis --assembly \/usr\/lib\/keepass2\/KeePass.exe<\/pre>\n<\/li>\n<li>Then edit the KeePass.exe.config file via command:\n<pre>sudo gedit \/usr\/lib\/keepass2\/KeePass.exe.config<\/pre>\n<p><i>Replace <code>gedit<\/code> depends on your DE, or use <code>nano<\/code> that works in most Linux.<\/i><\/li>\n<li>In the pop-up text editor, replace &#8220;newVersion&#8221; value with the one you got in the <code>monodis<\/code> command out.<a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass253-version.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-43576\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass253-version-600x419.webp\" alt=\"\" width=\"600\" height=\"419\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass253-version-600x419.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass253-version-300x210.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass253-version-768x536.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/keepass253-version.webp 1300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/li>\n<\/ol>\n<p>Finally, save the file and enjoy! For nano text editor, press <b>Ctrl+X<\/b>, type <b>y<\/b> and hit Enter to save.<\/p>\n<h3>Uninstall:<\/h3>\n<p>To remove the software package, also open terminal (Ctrl+Alt+T) and run command:<\/p>\n<pre>sudo apt remove --autoremove keepass2<\/pre>\n<p>And, remove the PPA, either by going to &#8220;Software &amp; Updates -&gt; Other Software&#8221; and remove the source line, or run the command below in terminal:<\/p>\n<pre>sudo add-apt-repository --remove ppa:ubuntuhandbook1\/keepass2<\/pre>","protected":false},"excerpt":{"rendered":"<p>KeePass password manager released new 2.53 version a few days ago. Here are the new features as well as PPA packages for Ubuntu users. The new release enhanced the History tab in Edit Entry. When editing an entry, the History tab contains the &#8216;Dialog (unsaved)&#8217; to represent all data entered in the current dialog, and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":43100,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[322],"class_list":["post-43572","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-password"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/43572","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=43572"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/43572\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/43100"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=43572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=43572"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=43572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}