Archives For password manager

The 1Password password manager now adds officially Linux support. Here’s how to install it in Ubuntu 20.04 via its apt repository.

1Password is a password manager developed by AgileBits Inc. It provides a place for users to store various passwords, software licenses, and other sensitive information in a virtual vault that is locked with a PBKDF2-guarded master password. By default, this encrypted vault is stored on the company’s servers for a monthly fee.

1Password is available as the containerised Snap package. If you feel OK with snap, skip this tutorial and install the password manager from Ubuntu Software.

Download & install DEB package:

1Password for Linux was available for test last year. Now it’s finally goes stable. The .deb binary is available to download at the link below:

Just grab the .deb for Ubuntu based systems, and double-click to install it.

Manually add 1password apt repository:

Installing the .deb package should add its apt repository automatically. If not, you can run following commands one by one to add it manually.

1.) Firstly open terminal from system app launcher:

2.) When terminal opens, run command to install curl tool:

sudo apt install curl

3.) Then run curl command to install the key for the apt repository:

curl -sS https://downloads.1password.com/linux/keys/1password.asc | sudo gpg --dearmor --output /usr/share/keyrings/1password-archive-keyring.gpg

4.) And add the apt repository via command:

echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/amd64 stable main' | sudo tee /etc/apt/sources.list.d/1password.list

5.) Add the debsig-verify policy to verify signatures for the deb package:

sudo mkdir -p /etc/debsig/policies/AC2D62742012EA22/
curl -sS https://downloads.1password.com/linux/debian/debsig/1password.pol | sudo tee /etc/debsig/policies/AC2D62742012EA22/1password.pol

sudo mkdir -p /usr/share/debsig/keyrings/AC2D62742012EA22
curl -sS https://downloads.1password.com/linux/keys/1password.asc | sudo gpg --dearmor --output /usr/share/debsig/keyrings/AC2D62742012EA22/debsig.gpg

6.) Finally refresh package cache and install 1password:

sudo apt update && sudo apt install 1password

Uninstall 1password:

To remove 1password password manager, run command:

sudo apt remove --autoremove 1password

To remove the apt repository, simply remove the config file via command:

sudo rm /etc/apt/sources.list.d/1password.list

KeePass2

KeePass password manager released version 2.48 a few days ago. Here’s how to install it in Ubuntu 21.04, Ubuntu 20.04, Ubuntu 18.04 via PPA.

KeePass 2.48 introduces version 4.1 of the KDBX file format, which supports various new features, including:

  • group tags support,
  • ability to disable password quality estimation
  • remember the previous parent group when moving an entry/group into a different group
  • custom icons now have names and last modification or deletion times
  • save last modification time for custom date items.

Other changes include:

  • Add command ‘Move to Previous Parent Group’
  • Add support for loading images with Exif orientation tags.
  • Enhanced the LastPass import module to support CSV files created by the latest versions.
  • Enhanced the nPassword import module to import group tags.
  • Various user interface improvements.

How to Install KeePass 2.48 in Ubuntu via PPA:

KeePass2 is still available to install via an Ubuntu PPA. So far, the PPA supports for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 20.04, Ubuntu 20.10, and Ubuntu 21.04.

1.) Open terminal and run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/keepass2

2.) Then refresh system package cache via command:

sudo apt update

3.) Finally install the mono based password safe package:

sudo apt install keepass2

Uninstall KeePass2:

To remove the software package, run command in terminal:

sudo apt remove --autoremove keepass2

And remove the Ubuntu PPA via command:

sudo add-apt-repository --remove ppa:ubuntuhandbook1/keepass2

KeePassX 2 YubiKey support

KeePassXC, cross-platform community fork of KeePass password manager, release version 2.6.3 a few days ago with new features and improvements.

KeePassXC 2.6.3 features Argon2id KDF and version 2 XML key files support. Other changes include:

  • Improve CSV Import/Export
  • Support empty area dragging of app window.
  • Display default Auto-Type sequence in preview pane.
  • Remove strict length limit on generated passwords
  • Hide key file path by default when unlocking database
  • Document support for managed Microsoft Edge
  • Prevent clipboard history and cloud sync.
  • Various bug-fixes.

How to Install KeePassXC 2.6.3 in Ubuntu:

The Latest KeePassXC is available in Ubuntu Software via Snap package. The official download page also offers non-install Appimage package.

For those prefer the classic apt method, the official upstream PPA has made the new release packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 20.04, and Ubuntu 20.10.

1.) Open terminal either by pressing Ctrl+Alt+T on keyboard, or by searching for ‘terminal’ from system application launcher.

When terminal opens, run command to add the PPA:

sudo add-apt-repository ppa:phoerious/keepassxc

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

2.) Then either update the software package using Software Updater

or run command to install the software:

sudo apt update && sudo apt install keepassxc

Uninstall:

You can run the PPA repository simply by running command in terminal:

sudo add-apt-repository --remove ppa:phoerious/keepassxc

And if you want, remove keepassxc password manger via command:

sudo apt remove --autoremove keepassxc

KeePassX 2 YubiKey support

KeePassXC, KeePass cross-platform community edition, released version 2.5.2 a few days ago. Here’s how to install it in Ubuntu 18.04, Ubuntu 16.04, Ubuntu 19.10 via PPA.

KeePassXC 2.5.2 features significant stability and usability improvements. Changes in the release include:

  • Show UI warning when entering invalid URLs
  • Option to use an entry only for HTTP auth
  • Disable the user interface when merging or saving the database
  • Ability to hide protected attribute after reveal
  • Improve GUI tests reliability on Hi-DPI displays
  • Fix crashes when saving a database to cloud storage

How to Install KeePassXC 2.5.2 in Ubuntu:

For Ubuntu 18.04 and higher, KeePassXC Snap package (runs in sandbox) can be easily installed via Ubuntu Software.

For those prefer native Ubuntu .deb package, open terminal from application menu or press Ctrl+Alt+T on keyboard, and run following commands one by one:

1.) Run command to add the official PPA, which so far supports for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, and Ubuntu 19.10.

sudo add-apt-repository ppa:phoerious/keepassxc

Type user password (no asterisk feedback due to security reason) when it prompts and hit Enter to continue.

2. Then upgrade KeePassXC from previous release via Software Updater:

or run commands one by one in terminal to install the password manager:

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

KeePassX 2 YubiKey support

KeePassXC, KeePass cross-platform community edition, released version 2.5.0 today with a large number of new features and improvements.

KeePassXC 2.5.0 release highlights:

  • Add paper backup support (Export to HTML).
  • Add database statistics panel
  • Offline user manual.
  • Import 1Password OpVault files
  • Add support for OnlyKey as an alternative to YubiKeys

The new release also brings a redesigned unlock dialog, a reworked entry panel, a function to download favicons for all your entries at once, and many CLI improvements. See the release note for more details.

How to Install KeePassXC 2.5.0 in Ubuntu:

For Ubuntu 18.04 and higher, the easiest way is to install the Snap package (runs in sandbox) via Ubuntu Software:

For those prefer native Ubuntu .deb package, open terminal from application menu or press Ctrl+Alt+T on keyboard, and run following commands one by one:

1.) Run command to add the official PPA, which so far supports for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, and Ubuntu 19.10.

sudo add-apt-repository ppa:phoerious/keepassxc

Type user password (no asterisk feedback due to security reason) when it prompts and hit Enter to continue.

2. Then upgrade KeePassXC from previous release via Software Updater:

or run commands one by one in terminal to install the password manager:

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