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.


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.

Figure 2: Let TruPax create the volume after selecting the data to be encrypted.

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).

Figure 3: TruPax lets you irrevocably delete volumes.

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).

Figure 4: No way back: Invalid volumes do not reveal data.

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.

Figure 5: You can use TruPax volumes on systems with VeraCrypt.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • VeraCrypt

    Protect your data and operating system from prying eyes with VeraCrypt.

  • VeraCrypt

    The VeraCrypt encryption software comes with a handy graphical interface, and the ability to hide a container in an encrypted volume adds a unique professional feature: plausibly deniable encryption.

  • Critical Flaws Found in VeraCrypt

    Popular open source encryption tool is vulnerable to attack

  • Discreete Linux

    Internet users can fly under the radar of hackers and data collectors with Discreete Linux.

  • SiriKali

    SiriKali encrypts files and directories with just a few mouse clicks, without the inefficiency of fixed-size containers.

comments powered by Disqus
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