Archives For November 30, 1999

KeePass2

KeePass Password Safe 2.40 was released a few days ago with some new features and various improvements.

KeePass 2.4.0 release highlights:

  • Added automatic completion support for the user name box and the auto-type sequence boxes in the entry editing dialogs
  • Added automatic completion support for the URL and user name boxes in the ‘Open From URL’ dialog
  • Added option ‘Group path’ in the ‘Find’ dialog
  • Added read-only mode for the entry string dialog
  • The internal data viewer now supports zooming images via Ctrl+Add, Ctrl+Subtract, and the mouse wheel with Ctrl.
  • Added option ‘Remember master password (in encrypted form) of a database while it is open’
  • Enhanced compatibility check for DLL plugins.
  • Added URL opening event for plugins.
  • On Unix-like systems: added support for opening the local help file with KChmViewer.
  • Added workaround for initial input focus problem in the master key prompt dialog.
  • Added workaround for Mono not always raising the FormClosed event properly.
  • TrlUtil now remembers the last translation file directory.
  • There are also various bug-fixes and code optimizations.

How to Install the Latest KeePass in Ubuntu:

The software package has been made into an Ubuntu PPA available for all current Ubuntu releases and derivatives.

1. Open terminal via Ctrl+Alt+T or by searching for “Terminal” from app launcher. When it opens, run following commands to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/keepass2

Type user password (no visual feedback due to security reason) when it asks and hit Enter.

2. Then upgrade KeePass password safe via Software Updater if you have a previous version installed:

upgrade KeePass2

Or run commands to install / upgrade the software:

sudo apt-get update && sudo apt-get install keepass2

Uninstall:

The PPA repository can be removed via Software & Updates utility under Other Software tab. To remove KeePass password safe, simply run command:

sudo apt-get remove --autoremove keepass2

KeePassX 2 YubiKey support

KeePassXC 2.3.4, community driven port of the windows application “Keepass Password Safe”, was released a day ago with various bug-fixes and improvements.

Changes in KeePassXC 2.3.4 include:

  • Show all URL schemes in entry view
  • Disable merge when database is locked
  • Fix intermittent crashes with favorite icon downloads
  • Provide potential crash warning to Qt 5.5.x users
  • Disable apply button when creating new entry/group to prevent data loss
  • Allow for 12 hour timeout to lock idle database
  • Multiple SSH Agent fixes
  • Multiple Browser Integration enhancements
  • Fix browser proxy application not closing properly
  • Add real names and Patreon supporters to about dialog
  • Add settings button to toolbar, Donate button, and Report a Bug button to help menu
  • Enhancements to release-tool to appsign intermediate build products

How to Install KeePassXC 2.3.4 in Ubuntu via Snap:

The official snap package (runs in sandbox and auto-updates itself) has been updated to version 2.3.4 for Ubuntu 16.04, Ubuntu 18.04, and higher.

The snap can be easily installed via Ubuntu Software:

Or run command in terminal to install the snap package:

snap install keepassxc

How to Install KeePassXC in Ubuntu via PPA:

The official KeePassXC PPA contains the most recent .deb packages for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 18.04. With it, you can receive future updates via Software Updater.

1. Open terminal either via Ctrl+Alt+T shortcut key or by searching for ‘terminal’ from software launcher. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:phoerious/keepassxc

Type your password (no asterisks feedback) when it prompts and hit Enter to continue.

2. Then upgrade KeePassXC via Software Updater:

or run commands one by one in terminal to install the latest package:

sudo apt update

sudo apt install keepassxc

Uninstall:

To remove the PPA, open Software & Updates and navigate to Other Software tab.

To remove KeePassXC .deb package, run command in terminal:

sudo apt-get remove --autoremove keepassxc

To remove the snap package, simply click uninstall button in Ubuntu Software utility.

KeePass2

For those prefer KeePass2 password manager to KeePassX, here’s how to install the latest KeePass 2.35 release in Ubuntu 16.10, Ubuntu 16.04, Ubuntu 14.04, Ubuntu 12.04.

While official Ubuntu repositories only provide an old version, the latest KeePass2 has reached the 2.35 release with a large list of new features and improvements. Here are some of them:

  • New KDBX 4 file format
  • Added Argon2 key derivation function
  • Added ChaCha20 (RFC 7539) encryption algorithm
  • open entry URLs with Firefox or Opera in private mode
  • support for importing mSecure 3.5.5 CSV, Password Saver 4.1.2 XML, and Enpass 5.3.0.1 TXT files.
  • And other more change, see the release note.

How to Install KeePass2 2.35 in Ubuntu:

For all current Ubuntu releases and derivatives, e.g., Linux Mint 17, 18, and Elementary OS Loki, KeePass2 can be easily installed from the Julian Taylor’s PPA.

1. Open terminal by pressing Ctrl+Alt+T or searching for “Terminal” from start menu. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/keepass2

Type user password (no visual feedback due to security reason) when it asks and hit Enter.

2. Then you can upgrade KeePass2 from an existing release via Software Updater:

upgrade KeePass2

Or just run following commands to check updates and install the latest release:

sudo apt-get update

sudo apt-get install keepass2

For those who don’t want to add the PPA, grab the DEB package from HERE.

How to Restore

For any reason you can easily remove the PPA and downgrade KeePass2 to the stock version in official Ubuntu repositories via ppa-purge tool:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:jtaylor/keepass

Tip: For a list of plugins, e.g., KeeFox, KeeAgent, Keebuntu, and KeePassHttp, go to this PPA.

Enpass Ubuntu

Enpass is a password management program for Linux, Windows, Mac OS, Web, and Mobile devices. All desktop versions are absolutely free while mobile apps are limited to 20 items unless a life-time license ($9.99) is bought.

Enpass now is at version 5.2, which features TOTP support, autorun on startup, import from 1Password OPVault, Pocket and Password Depot.

Enpass 5.2

An official Linux repository is available for Ubuntu 12.04 and later (Ubuntu 16.04 is supported now), so you can follow the steps below to install it:

1. Add Enpass repository.

Launch Software & Updates from Unity Dash, or System Settings window. When it opens, navigate to Other Software tab, and click Add button to add the line below:

deb http://repo.sinew.in/ stable main

add enpass repository

2. Open terminal (Ctrl+Alt+T), paste the command below and hit run to get the keyring, so your system will trust the packages from the repository:

wget -O - http://repo.sinew.in/keys/enpass-linux.key | sudo apt-key add -

Enpass repository key

You’ll be asked to type in password to be able to add the key, and there’s no visual feedback while typing your password.

3. Now if you have Synaptic Package Manager installed, launch it and search for and install enpass after clicked Refresh.

Or you can run the commands below one by one to do the refresh and install things:

sudo apt update

sudo apt install enpass

Once installed, you need to log out and back in to be able to launch the software from Unity Dash.

4. (Optional) To uninstall Enpass password manager, use Synaptic Package Manager or run the command below in terminal:

sudo apt remove enpass

To remove Enpass repository, use Software & Updates -> Other Software.

Install KeePassX 2 with YubiKey Support in Ubuntu

Last updated: December 28, 2015

KeePassX 2 YubiKey support

For those who want the YubiKey support for KeePassX 2.0, a new stable series released a month ago, here’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. 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.

How to Install KeePassX 2.0 with YubiKey support:

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:

1. Add YubiKey stable PPA:

sudo add-apt-repository ppa:yubico/stable

Type in your password when it asks, no visual feedback so just type in mind, and hit Enter to continue.

yubikey-ppa

2. Add the KeePassX 2 PPA built with YubiKey support:

sudo add-apt-repository ppa:hda-me/keepassx2-yubico

3. Finally update package cache and install both keepassx and yubikey-personalization-gui:

sudo apt-get update

sudo apt-get install yubikey-personalization-gui keepassx

4. (Optional) After installation, you may keep the PPAs for receiving future updates, or disable/remove them via Software & Updates -> Other Software.

manage-ppa

For more information: github.com/keepassx/keepassx/pull/52

KeePassX 2

KeePassX, a native Linux port of KeePass password manager, finally reached the 2.0 release after several years of development.

KeePassX 2 has been rewritten from scratch. It uses the new .kdbx (same as KeePass 2) database format. You can import your .kdb database from 0.4 series from menu Database > Import KeePass 1 database.

New features include:

  • Multiple attachments per entry
  • Add custom key/value pairs to entries
  • Open multiple database in one window

For more details, see official release note.

KeePassX 2

How to Install KeePassX 2 in Ubuntu:

The official KeePassX PPA does not update at the moment, but a third-party PPA has built the KeePassX 2.0 for Ubuntu 16.04 LTS, Ubuntu 15.04, and Ubuntu 14.04 LTS.

1. Add PPA

Open terminal from Unity Dash, App Launcher, or via Ctrl+Alt+T shortcut key. When it opens, paste below command to add the PPA:

sudo add-apt-repository ppa:eugenesan/ppa

keepassx-3thparty-ppa

Update: The 14.04 package so far is broken in the eugenesan/ppa. Use this PPA instead with yubikey support:

sudo add-apt-repository ppa:hda-me/keepassx2-yubico

Type in your password when it asks (no visual feedback just type in mind) and hit Enter to continue.

2. After that, upgrade KeePassX by running Software Updater. Or run below commands one by one in terminal:

sudo apt-get update

sudo apt-get install keepassx

For those who don’t want to add PPA, grab the .deb installer directly from HERE.

3. (Optional) As a third-party PPA, it also contains many other applications. You may remove the PPA after installation by either using Software & Updates -> Other Software tab, or running below command in terminal:

sudo add-apt-repository --remove ppa:eugenesan/ppa && sudo apt-get update