X
Tech
Why you can trust ZDNET : ZDNET independently tests and researches products to bring you our best recommendations and advice. When you buy through our links, we may earn a commission. Our process

'ZDNET Recommends': What exactly does it mean?

ZDNET's recommendations are based on many hours of testing, research, and comparison shopping. We gather data from the best available sources, including vendor and retailer listings as well as other relevant and independent reviews sites. And we pore over customer reviews to find out what matters to real people who already own and use the products and services we’re assessing.

When you click through from our site to a retailer and buy a product or service, we may earn affiliate commissions. This helps support our work, but does not affect what we cover or how, and it does not affect the price you pay. Neither ZDNET nor the author are compensated for these independent reviews. Indeed, we follow strict guidelines that ensure our editorial content is never influenced by advertisers.

ZDNET's editorial team writes on behalf of you, our reader. Our goal is to deliver the most accurate information and the most knowledgeable advice possible in order to help you make smarter buying decisions on tech gear and a wide array of products and services. Our editors thoroughly review and fact-check every article to ensure that our content meets the highest standards. If we have made an error or published misleading information, we will correct or clarify the article. If you see inaccuracies in our content, please report the mistake via this form.

Close

How to lock away sensitive information on Linux with KDE Vaults

When you want to protect important information, encryption is your best option, and KDE Plasma makes it easy. Here's how to use its Vaults feature.
Written by Jack Wallen, Contributing Writer
Yellow safes on a yellow background
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.

The KDE Plasma 6 notifications pop-up.

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

ZDNET/Jack Wallen

2. Create a new vault

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

The KDE Plasma 6 Vaults pop-up.

This gives you access to the Vaults creation wizard.

ZDNET/Jack Wallen

3. Name your vault

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

The KDE Plasma 6 Vaults naming window.

You can name your vault whatever you like.

ZDNET/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.

The KDE Plasma 6 Vault password creation window.

Type and verify a password for your new vault.

ZDNET/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.

The KDE Plasma 6 Vault location configuration.

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

ZDNET/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.

The KDE Plasma 6 Vault pop-up menu.

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

ZDNET/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.  

Editorial standards