This page is docs/GUIDE_VERIFY.md in the repository. The repository copy is the source; this is the same text with its links rewritten for the wiki.
VeilVoice: checking a download
veilvoice verify. Read this one first. It is about deciding whether the archive you just downloaded is the one that was published.
The short version: unpack the archive, run veilvoice verify inside the folder, read the verdict. If you would rather not use a terminal, the desktop application's Verify tab does the same check with the same code underneath.
The whole story, including the parts about the other two programs, is in USER_GUIDE.md. This is the same text, narrowed to one program.
1. The two programs, and which one you want
A release contains two executables. They overlap on purpose, and which one to reach for depends only on what you have in front of you.
| Program | What it is for |
|---|---|
veilvoice | The command line. Everything the application does, over SSH, in a container, in a script, or on a machine with no graphics toolkit at all. Checking a download is veilvoice verify, which was a third binary until 0.1.18. |
veilvoice-gui | The window. The same engine with somewhere to click, plus the things that only make sense with a screen: live level meters, the app lock, the microphone monitor, and a Verify tab that runs the same check as veilvoice verify. |
Which parts are built in, and which are not
Everything VeilVoice does is in these binaries. There is no runtime to install, no service, no plugin directory, and nothing is downloaded on first run.
That includes the parts people expect to be separate:
- The signature check. The signing key is compiled into the programs, and the OpenPGP verification is Rust code in this repository.
veilvoice verifyneeds no GnuPG to do its job. - The audio decoders, the resampler, the encryption, the key exchange, the hashing. All of it is in the binary.
- The at-rest encryption, including the post-quantum half.
Three things are genuinely outside, and each is optional:
- GnuPG, for a second opinion on a release signature. Worth having, and explained under ยง7.
- A virtual audio cable, if you want live mode to feed a call. On Linux this is usually PipeWire, which is already there.
ffmpeg, only if you ask for a video file. VeilVoice draws every picture in the video itself and asksffmpegfor the last step only, because a video encoder is a large piece of C and carrying one would end the claim that you can read the whole of this program. Without it, a render still writes the audio, the subtitles, the player page and every picture, then prints exactly the command that turns them into the file and exits successfully, because nothing failed.
veilvoice companions lists all of them, says whether this machine has each, and prints the one command that would install it. It never runs somebody else's installer.
What runs where
Eleven platforms get a signed archive with every release, and the table says what is in each one. It is not the same everywhere, and where it is not, that is a limit of what the platform offers rather than something waiting to be written.
| Platform | Command line | Desktop app | Live microphone |
|---|---|---|---|
| Windows 10 and 11, x86-64 | yes | yes | yes, with a virtual cable |
| macOS on Intel | yes | yes | yes, with a virtual cable |
| macOS on Apple Silicon | yes | yes | yes, with a virtual cable |
| Linux, x86-64 and arm64 | yes | yes | yes, through PipeWire |
| Linux, statically linked (musl) | yes | not shipped | no |
| Raspberry Pi and other armv7 | yes | not shipped | no |
| WSL on Windows | yes | yes, with WSLg | through the Windows side |
| FreeBSD, OpenBSD, NetBSD | yes | not shipped | no |
Any Linux distribution. The .deb and .rpm are conveniences, not requirements: the plain archive is a folder of binaries that needs no package manager, and the statically linked build needs no system libraries at all, which is the one to reach for on a distribution nothing else fits.
One library the desktop app needs, and why it is worth a paragraph. The window toolkit opens libxkbcommon-x11 by name when it starts, rather than linking against it. Nothing that works out dependencies by reading a binary can see that, so a minimal or server install can be missing it and the application will exit at once instead of drawing a window. If that happens, the crash report VeilVoice writes names the library and the package that carries it; the short version is libxkbcommon-x11-0 on Debian and Ubuntu and libxkbcommon-x11 elsewhere. The command line needs none of it.
The first time you open it. After the two settings questions, VeilVoice shows one card per tab saying what that tab is for, which takes about twenty seconds and can be skipped at any point. Two of the nine are worth the card on their own: Monitor is not a level meter, it watches for another program picking up a real microphone while you are being veiled; and Lock is a passphrase on the application rather than on a recording.
The last card says whether this copy is portable or installed, in those words. Portable means it runs from wherever you put it and installs nothing: move the folder and VeilVoice moves with it, delete the folder and it is gone. Installed means it is on this machine for good, on your menu or path, with its settings in your account. Both are fine, and the Install tab is where the decision is made rather than in the tour.
After an upgrade the tour comes back only for tabs that did not exist last time, and a release that adds no tab shows nothing. What is stored is the list of tabs you have been shown, which is what "which of these is new to you" is actually asking.
When something goes wrong. VeilVoice writes a report of a crash to a file beside its settings, and on the next launch it offers it to you above whatever tab you land on: what happened, where the file is, and a button to read the whole of it before you decide anything.
Nothing is sent. Nothing here can send it, and that is not a policy but a property of the build: this project contains no network client and the build fails if one enters the dependency graph. The ordinary shape of this feature is a reporter that uploads, and that is the wrong shape for a program people use to protect themselves, because a report from a privacy tool is a report about somebody who was being careful.
So the panel offers two things instead: copy the report, and open the issue tracker. What happens next is your decision and your clipboard. If you would rather it went away, "dismiss and delete it" removes the file.
The report holds the version, your operating system and processor, and the error with its source location. It holds no file names, no settings, no passphrase and nothing about any audio. That list is in the panel too, because "would you like to send this" is only a real question if you can see what "this" is.
The BSDs get the command line only, and the reason is specific. The audio library VeilVoice uses has no backend for them, so live capture cannot work there. Everything that operates on a file, meaning de-identification, encryption, metadata cleaning and verification, is pure Rust and runs exactly as it does anywhere else. The window can be built there without live audio, and a build like that says so at the top of the Studio tab before anything is pressed, leaves out the controls that could only refuse, and greys out play in the Browser with the reason beside it. No release has shipped that window yet, which is why the table says not shipped.
WSL is Linux, so the command line runs unchanged. The window needs WSLg, which recent Windows has by default. A microphone belongs to Windows rather than to the distribution, so live mode is the Windows build's job.
Nothing is emulated and nothing is a wrapper. Every archive is a native build for that processor, compiled from the same source with the same pinned compiler, and built twice in separate directories and compared byte for byte before it ships.
How anything reaches the network, given that nothing here is a network client
VeilVoice bundles no HTTP client, and this is checked rather than claimed: nothing in the workspace links one. Two features nonetheless involve the network, and the way they do it is the point.
Looking for a newer version asks the operating system's own transfer tool to fetch one small file, and reads a version number out of what it printed. It is the Check for updates button on the window's About tab, and it is veilvoice update --check at the command line. Neither is ever automatic: there is no timer, no check at startup and nothing in the background, and no setting turns either into a schedule. veilvoice update without --check goes on to fetch the release, check its signature against the key compiled into this program, and put it in place. Updating is the whole of what that does and what you see afterwards.
Fetching a release to check it is the other one. veilvoice verify release <tag> downloads that release's hash list and signature from the releases page, through the same transfer tool, so somebody can verify a copy they already have without opening a browser. It downloads nothing else and replaces nothing.
Those two are the whole list, and veilvoice --help says so in its opening paragraph. Nothing else in either program opens a connection for any reason.
It looks along the stream this copy came from, and says which. There are two, and they are the same program built the same way:
| Stable | Early | |
|---|---|---|
| Version looks like | 0.1.23 | 0.1.23-beta.1 |
| Cut from | main, as a release | main, between releases |
| On the releases page | a release | marked a prerelease |
| Offered by the download page | yes | no, deliberately |
An early build is the same reproducible archive, signed with the same key, with the same hash lists and the same contents manifest; it is newer and it has been used by fewer people. Nothing about it is less checkable. The check never moves you from one stream to the other: a stable copy is not told about a prerelease, and an early copy is compared against the newest release of either kind, so the day 0.1.23 is published somebody running 0.1.23-beta.1 is told about it.
Which stream a copy belongs to is read from the version it carries rather than compiled in, so the binary stays a pure function of its source and rebuilding it needs nothing extra. veilvoice info prints it, and so does the About tab.
The tool is found by absolute path, never through PATH. On Windows that is %SystemRoot%\System32\curl.exe, which has shipped with Windows since
- Elsewhere it is
curlat/usr/bin,/binor/usr/local/bin, and
wget at the same three places if there is no curl.
That distinction is not fussiness. Windows searches the current directory before PATH, so a file called curl.exe sitting beside VeilVoice would otherwise be the program that ran, and a privacy tool reaching for the network is the last place to accept a stranger's binary. If none of those paths holds a tool, the button and the command both say so, and nothing is run.
Installing a companion does not fetch anything either. It runs the package manager already on the machine, which is the thing your system already trusts to install software, and for anything needing root it prints the command instead of running it.
The consequence worth stating: there is no code path in VeilVoice that opens a socket. A firewall rule that blocks it entirely costs you the two things named at the top of this section, looking for a newer version and fetching a release to check, and nothing else.
2. The verifier, veilvoice verify
One job: deciding whether the download you just made is the one that was published.
Until 0.1.18 this was a third binary, veilvoice verify, shipped beside the other two so it was usable before you trusted them. That argument was always thinner than it looked -- the separate program came out of the same archive as everything else, so trusting it was the same act of trust -- and it cost every user a second file to find and a third name to learn. It is part of veilvoice now. The check is identical: the same code, in veilvoice-check, that the desktop application's Verify tab has always called.
If you would rather not use a terminal at all, the Verify tab does the whole of this with the same code underneath.
Just run it
veilvoice verify
With no arguments it looks for a release around it: the folder you are in, the folder above, the one the program itself is in, and Downloads and Desktop. If it finds an archive with a SHA256SUMS and a signature beside it, it checks everything without being told anything.
That is the intended way to use it. Unpack the archive, run it inside the folder, read the verdict.
What one press actually checks
Four things, in the order that makes each one worth checking:
- The signature over the hash list. Before the hashes, always. Whoever could replace your download could replace
SHA256SUMSbeside it, and the two would agree perfectly. The signature is what makes the list worth comparing against, and the fingerprint is what makes the signature worth checking. - The archive against that list.
- Every file you extracted out of it, against a signed contents list published with the release. An archive can be genuine and a file inside your extracted copy still be wrong.
- All of it again through your own GnuPG, if you have one. See below.
Pointing it at something specific
veilvoice verify auto ~/Downloads # look here, not wherever I am
veilvoice verify file veilvoice.tar.gz # this file, against SHA256SUMS
A folder you name that does not exist is an error, not an invitation to go and check somewhere else. That distinction cost a finding: the fallback through Downloads and Desktop is right when nobody said where to look, and wrong the moment somebody does.
The second opinion, and why you want one
VeilVoice checks the signature itself, in Rust, with the signing key compiled in. That check needs nothing installed and works on every platform.
It also came out of the download it is checking. A tampered release ships a tampered verifier. That is not a bug to be fixed; no program can vouch for itself.
So the commands are printed for you to run yourself, and the desktop application will run your GnuPG if you ask it to:
veilvoice verify # what to check, and where the files come from
veilvoice verify --script # a shell script that uses gpg and nothing of ours
The script is about sixty lines. Read it before running it: the entire reason to use it rather than veilvoice verify is that it is not this project's code.
The same check on every system
veilvoice verify on its own is the same command everywhere. It hashes the files itself, checks the signature itself, needs no GnuPG, no network and no hash tool from your system, and that is why it is the first thing this section offers rather than the last. A reader on FreeBSD, OpenBSD or NetBSD has nothing to translate.
The second opinion is where systems differ, because it runs your tools rather than ours, and the hash tool is spelled differently on each. Ask for the one your system has:
veilvoice verify --script # the one for the machine you are on
veilvoice verify --script --system bsd # or name it: linux, macos, bsd
| Your system | The script it writes | What that script runs to check the hashes |
|---|---|---|
| Linux, and WSL | verify-veilvoice.sh | sha256sum -c SHA256SUMS --ignore-missing |
| macOS | verify-veilvoice-macos.sh | shasum -a 256 -c SHA256SUMS --ignore-missing |
| FreeBSD, OpenBSD, NetBSD | verify-veilvoice-bsd.sh | sha256 -c SHA256SUMS |
Those three rows are checked against the program in this project's own test suite, so a command here that the program no longer prints fails a build rather than being read by somebody.
Installing GnuPG on a BSD: sudo pkg install -y gnupg is FreeBSD's spelling, and OpenBSD and NetBSD use tools of their own. This project has not run those, so it does not print them: use your system's package manager. If you would rather not install anything, veilvoice verify with no arguments is the route that needs nothing, and the website's checker is the other one.
The website's checker hashes the file in your browser, with JavaScript, and uploads nothing. It is the same arithmetic on every system, so a BSD reader with a browser has a third route that needs no terminal at all.
The reproduce script is per system in the same way, and veilvoice verify --build-script --system bsd writes reproduce-veilvoice-bsd.sh.
The strongest check, which no program here can do for you
Rebuild the release from source and compare:
veilvoice verify --build-script > reproduce-veilvoice.sh
sh reproduce-veilvoice.sh v0.1.23
A hash proves the file is the one whose hash was signed, and says nothing about what is inside it, because the same person signed both. Rebuilding moves the question from "do I trust the publisher" to "do I trust the source", and the source is here to read.
What a pass proves, and what it does not
A good signature and a matching hash prove the file is the one the holder of that key published. They do not prove it is safe, that the source compiles to it, or that the key belongs to anybody in particular. Compare the fingerprint against the website and this README, from somewhere other than the download you are checking:
8101FB3BB28D02FB239E0CDF9CC1C7E7A9B5833A
3. Getting help, and checking for yourself
Nothing here asks for trust. The properties above are asserted by the test suite:
cargo test --workspace
cargo run -p veilvoice-core --example spectrum_report
The code has been audited by tilas01, who wrote it. That is a maintainer audit and is worth what a maintainer audit is worth: it catches what the author can see. No external firm or independent researcher has reviewed this code. Until one has, the strongest verification available to you is the source, which is written to be read.
This page is also Doc-GUIDE-VERIFY in the GitHub wiki, and both are generated from the same document in the repository.