Register now for better personalized quote!

How to lock away sensitive information on Linux with KDE Vaults

Mar, 11, 2024 Hi-network.com
DBenitostock/Getty Images

You probably have documents you want to keep away from prying eyes. These could be contracts, wills, bank account information, deeds, or just about anything that contains details about you, your family, or your life that shouldn't find their way into the wrong hands.

One of the best methods of locking those documents away is via encryption. Unfortunately, not every operating system makes it easy to manage such a task. Fortunately, if you opt to choose a Linux distribution that uses the KDE Plasma desktop, you're in for a surprise, as encrypted folders are incredibly easy to create, thanks to KDE Vaults. 

Also: The first 5 Linux commands every new user should learn

KDE Vaults is a built-in system that offers a user-friendly GUI to help you create encrypted vaults to lock away your more sensitive documents. With just a few clicks of the mouse, you can create an encrypted vault, ready to house all the documents (images, and other files) that shouldn't be made available to just anyone who has access to your desktop.

I'm going to walk you through the process of creating your first vault using KDE Neon, which showcases the latest desktop release, KDE Plasma 6.

How to create your first vault

What you'll need: The only thing you'll need is a running instance of a Linux distribution with the KDE Plasma desktop. I would recommend using the KDE Neon distribution, as it includes the latest release from KDE's developers.

1. Open the notification pop-up

The fastest way to access the initial KDE Vault creation is via the notification pop-up. On your KDE Plasma panel, click the upward-pointing arrow to reveal the Status and Notifications pop-up. From there, click Vaults.

Once you've created your first Vault, you won't find the Vaults entry in the Notifications pop-up.

/Jack Wallen

2. Create a new vault

From the resulting pop-up, click Create a New Vault.

This gives you access to the Vaults creation wizard.

/Jack Wallen

3. Name your vault

The next interactive screen requires you to name the new vault. Type a name and click Next.

You can name your vault whatever you like.

/Jack Wallen

4. Accept the warning

The next screen offers you a security notice that essentially reminds you that, while CryFS is considered safe, there has been no independent security audit done to confirm this claim. Go ahead and click Next.

5. Create a password for the vault

You'll then be prompted to type and verify a password for the new vault. Do this and click Next.

Type and verify a password for your new vault.

/Jack Wallen

6. Accept or change the default location

By default, the vault will be created in the ~/.local/share/plasma-vault/NAME (where NAME is the name you've given the vault) directory, with a mount point of ~/Vaults/NAME. You can keep these defaults or change them if needed. For instance, you might want to house your vaults in a non-standard directory. Once you're okay with the location, click Next.

You can keep or change the defaults for your new vault.

/Jack Wallen

7. Configure the vault

In the next window, you can select a different cipher for the encryption, limit the vault to certain activities, and force your computer offline when the vault is open. Once you've made these configurations, click Create and your first vault will be ready.

Using your new vault

If you click on the vaults icon in the panel (a folder with a lock), a pop-up will appear with your new vault listed. From this listing, you can either click to lock the vault (it is unlocked by default when you log in) or click the name and (from the expanded menu) open the Dolphin file manager to the new vault, forcefully lock the vault, or configure the vault.

Your new vault is listed in the Vaults pop-up menu found in the KDE Plasma panel.

/Jack Wallen

One thing that might trip you up: Once the vault is locked, you'll still see it listed in your file manager. If you click that entry, it seems like you still have access to the folder. However, you only have access to the mount point and there will be nothing in it. The only time you can view the contents of the vault is when it is unlocked (which mounts the decrypted vault to the mount point).

Also: Do you need antivirus on Linux?

And that's all there is to creating and using the KDE Vaults feature. Once you have your new vault created, add all the files you need securely tucked away and then lock the vault up tight. Once locked, only those with the encryption password will be able to access the contents within.  

Featured

The best Windows laptop you can buy: Expert testedI'm building my dream smart home - here are the 5 things I decided on firstYou can now make your own custom Copilot GPT. Here's howI switched to this$150 Motorola phone for two weeks, and it went surprisingly well
  • The best Windows laptop you can buy: Expert tested
  • I'm building my dream smart home - here are the 5 things I decided on first
  • You can now make your own custom Copilot GPT. Here's how
  • I switched to this$150 Motorola phone for two weeks, and it went surprisingly well

tag-icon Hot Tags : Tech Services & Software Operating Systems

Copyright © 2014-2024 Hi-Network.com | HAILIAN TECHNOLOGY CO., LIMITED | All Rights Reserved.