Encrypt files and folders with TruPax 9
Same Name
On systems with large amounts of data, files commonly have the same names within nested directory hierarchies. If you save such a complete folder hierarchy in a volume in TruPax without saving the source tree, you will inevitably experience conflicts when you save the files with identical names.
To prevent TruPax accidentally overwriting the original file with a newer version, select the No merging option in the corresponding drop-down menu of the program window. If this entry reads Merge instead, a newer file with the same name will overwrite the older file, and the program does not take upper- and lowercase into account. The option Merge Case Sensitively only overwrites an older file with a newer file of the same name if the spelling of the two file names matches exactly.
Before creating the volume, you check the Write-protected option on the right in the program window to tell the program to make the volume read-only, and thus immutable. The option Wipe Afterwards deletes the original files as soon as TruPax has created the volume. To keep the volume compatible with VeraCrypt, if necessary, check the For VeraCrypt parameter.
XXL
TruPax automatically sets the size of the volume so that it matches the total volume of the files and folder of the original content. The program thus avoids wasting disk space on the target medium. However, if you add files to the volume that you want to edit later, it is advisable to allocate additional space to the volume.
In the Free Space field, type an integer value followed by the letter k, m, or g for kilo-, mega-, or gigabytes. TruPax adds the desired storage capacity and displays the total in the status display in the lower left corner.
After completing the file and folder selection, click the Make Volume button at the bottom (Figure 2). In the dialog box that then appears, enter the name for the volume file and select the storage path. TruPax typically uses the TrueCrypt-compatible volume format as the file extension (.tc
). If you enable VeraCrypt compatibility, the volume name ends with .hc
instead.
In the next step, the routine prompts you for a password that you must specify later on when you open the volume. Select a password as secure as possible so the volume is not exposed to the risk of dictionary attacks; note that TruPax is case sensitive. You need to enter the password a second time to confirm.
After assigning the password and clicking on Proceed, TruPax writes the volume to the hard drive. The application uses a 256-bit key with the secure AES algorithm for encryption. Depending on the data being encrypted, the process can take a while to complete.
Unpack and Destroy
To unpack volumes again, select File | Extract. TruPax opens a dialog in which you specify the destination for the unpacked directories and files and the volume to extract. Next, just enter the password for the volume and wait for the software to extract the data to the desired location. The original volume is kept.
Unneeded volumes represent a potential security risk, as long as you do not dispose of them safely. A simple delete does not reliably remove a volume from the disk; it can be reconstructed just like any other file by special software. To make an obsolete volume physically disappear from the respective data carrier, TruPax offers a function for destroying files.
The option for this is File | Invalidate | Continue, which destroys the header in the volume and thus throws away the key. In the corresponding deletion dialog, you will also find the Continue and Delete option, which physically removes the volume from the disk so that the space can be used for other purposes (Figure 3).
Invalidated volumes that are not deleted simply remain on the system. However, you no longer have a way to access the data stored in the volume, even if you know the assigned password. As soon as you try to extract such a volume in TruPax, the software outputs an error after you enter the password (Figure 4).
In VeraCrypt, you can easily mount a volume encrypted with TruPax as a conventional volume, assuming you prepared it appropriately by setting the For VeraCrypt option in the TruPax program window. If you then load such a volume in VeraCrypt, the TrueCrypt successor decrypts the volume and mounts the data as a drive (Figure 5). The name entered as the Label in TruPax is used as the volume label. A volume that is modified in VeraCrypt can be opened again in TruPax.
« Previous 1 2 3 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
![Learn More](https://www.linux-magazine.com/var/linux_magazin/storage/images/media/linux-magazine-eng-us/images/misc/learn-more/834592-1-eng-US/Learn-More_medium.png)
News
-
NVIDIA Released Driver for Upcoming NVIDIA 560 GPU for Linux
Not only has NVIDIA released the driver for its upcoming CPU series, it's the first release that defaults to using open-source GPU kernel modules.
-
OpenMandriva Lx 24.07 Released
If you’re into rolling release Linux distributions, OpenMandriva ROME has a new snapshot with a new kernel.
-
Kernel 6.10 Available for General Usage
Linus Torvalds has released the 6.10 kernel and it includes significant performance increases for Intel Core hybrid systems and more.
-
TUXEDO Computers Releases InfinityBook Pro 14 Gen9 Laptop
Sporting either AMD or Intel CPUs, the TUXEDO InfinityBook Pro 14 is an extremely compact, lightweight, sturdy powerhouse.
-
Google Extends Support for Linux Kernels Used for Android
Because the LTS Linux kernel releases are so important to Android, Google has decided to extend the support period beyond that offered by the kernel development team.
-
Linux Mint 22 Stable Delayed
If you're anxious about getting your hands on the stable release of Linux Mint 22, it looks as if you're going to have to wait a bit longer.
-
Nitrux 3.5.1 Available for Install
The latest version of the immutable, systemd-free distribution includes an updated kernel and NVIDIA driver.
-
Debian 12.6 Released with Plenty of Bug Fixes and Updates
The sixth update to Debian "Bookworm" is all about security mitigations and making adjustments for some "serious problems."
-
Canonical Offers 12-Year LTS for Open Source Docker Images
Canonical is expanding its LTS offering to reach beyond the DEB packages with a new distro-less Docker image.
-
Plasma Desktop 6.1 Released with Several Enhancements
If you're a fan of Plasma Desktop, you should be excited about this new point release.