Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugin] VeraCrypt Mount: unlock and mount VeraCrypt (and TrueCrypt) volumes on Unraid

Featured Replies

I wrote this plugin mostly because I personally wanted something like it and couldn't find it.

The wish for VeraCrypt support in Unraid goes back more than 15 years, to the early days of Unraid (and TrueCrypt):
https://forums.unraid.net/topic/4408-truecrypt-on-unraid-questions/

Unraid's built-in cryptsetup can already open VeraCrypt containers, but the wish for a proper front-end has come up many times since, for example here:
https://forums.unraid.net/topic/127864-figured-out-how-to-use-veracrypt-containers-in-unraid-now-i-need-a-little-bit-of-a-front-end/

The VeraCrypt GUI Docker container works, but it's not very user-friendly and quite limiting. VeraCrypt Mount is the front-end for cryptsetup that I, and apparently others, have been waiting for. It integrates into Unraid as natively as possible and is designed not to compromise or break anything.

What it does

  • Unlocks and mounts VeraCrypt and TrueCrypt container files from your shares: password, PIM, keyfiles and hidden volumes, with FAT, exFAT, NTFS, ext4, XFS or Btrfs inside

  • Per-user SMB shares for mounted volumes

  • Dependent Docker containers: started after their volume is mounted, stopped before it's dismounted

  • Lock when idle, a Dashboard tile and a section on the Main page

  • Volumes are dismounted cleanly before the array stops or the server shuts down

  • A vcmount command for SSH

Status: beta. It's feature-complete, tested thoroughly and audited, but so far it has only been used on a few servers. Please try it with a copy of a volume first and keep backups.

Security
I'm fully aware that a plugin like this needs extra care, and security was the main focus during development:

  • the password reaches cryptsetup through standard input only and is never stored or logged;

  • mounting over plain HTTP is off by default, with a warning if you switch it on;

  • the plugin tells you how to exclude its mounts from logging plugins like "File Activity".

If you find a security problem, please report it privately through GitHub (see SECURITY.md), not in this thread.

How it was made
Like most code these days, AI wrote a lot of it. I have a background in computer science, though, and every step was reviewed and confirmed by me. A lot of hard, manual work went into this over weeks, including starting almost from scratch after learning from my initial, very human, mistakes. Fable helped with the initial concept and design, Claude Opus wrote most of the code, and Gemini (Neon) wrote some patches. Several security audits by Gemini and by separate Claude sessions were done along the way; their reports are public in the docs/ folder on GitHub. The code has been kept simple enough to review with human eyes, so please take a look and ask me anything. I don't intend to abandon this anytime soon.

Install
From the Apps tab once it's listed, or via Plugins → Install Plugin with:
https://raw.githubusercontent.com/bentrop/unraid-veracrypt-mount/main/plugin/veracrypt.mount.plg

Source, docs and screenshots: https://github.com/bentrop/unraid-veracrypt-mount

Reporting a problem
Please include your Unraid version, the plugin version, and the error message or the plugin's lines from the system log (Tools → System Log, search for "veracrypt.mount"). Please never post a password, PIM or keyfile.

Enjoy and thank you for testing this!

Edited by csb

  • Author

Screenshots:

volumes-tab.png

mount-dialog.png

main-page.png

dashboard-tile.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.