Error Handling
Necron Vault Manager is designed to fail safely — when something goes wrong, the app provides clear error messages and never silently corrupts data. This page catalogs common errors, their causes, and how to resolve them.
Error Categories
Errors in Necron Vault Manager fall into several categories:
| Category | Description |
|---|---|
| Key / Dongle Errors | Problems with dongle detection, key validation, or key matching |
| Pad Errors | One-time pad exhaustion or reservation failures |
| Encryption Errors | Failures during the encrypt process |
| Decryption Errors | Failures during decrypt, including authentication failures |
| Vault Errors | Issues with vault operations, integrity, or metadata |
| File System Errors | Permission, path, or disk space issues |
Key & Dongle Errors
No Dongle Connected
Message: "No encryption key available"
Cause: No USB dongle is inserted, and no Free Tier login is active.
Solution:
- Insert your Necron USB dongle
- Wait 2–3 seconds for detection
- If not detected, try a different USB port or trigger a manual scan
- Alternatively, log in through the "Enter Free Tier" form on the Gatekeeper screen
Key UID Mismatch
Message: "Key UID mismatch — the connected dongle does not match this file"
Cause: You're trying to decrypt a file that was encrypted with a different dongle. The key identifier in the encrypted file doesn't match any connected dongle.
Solution:
- Check which dongle the file was encrypted with (the error may display the expected key identifier)
- Connect the correct MASTER or SLAVE dongle
- If you have multiple dongles, try each one
- If the original dongle is lost and you don't have a SLAVE backup, the file cannot be recovered
Danger
This is not a bug — it's a fundamental security feature. Each encrypted file is bound to a specific key. Without the matching key material, decryption is mathematically impossible.
Corrupt Key Header
Message: "Invalid key file — corrupt or unrecognized header"
Cause: The .dat file on the dongle has been corrupted or is not a valid Necron key file.
Solution:
- Try the dongle on another USB port
- Check if the dongle works on a different computer
- Verify the
.datfile exists and has the expected size - If the key file is corrupt, you'll need a backup dongle or re-provisioning
SLAVE Key — Operation Not Permitted
Message: "This operation requires a MASTER key"
Cause: You're trying to perform a write operation (encrypt, create vault, modify vault) with a SLAVE (read-only) dongle.
Solution:
- Connect your MASTER dongle for write operations
- SLAVE dongles can only decrypt files and import vaults
Pad Errors
Pad Exhausted
Message: "Pad exhausted — not enough key material remaining"
Cause: Your dongle's one-time pad has been fully consumed. There are no more unused bytes available for encryption.
Solution:
- For NCV3 format: NCV3 uses only 64 bytes of pad per file, so this is rare. Check if there's a pad accounting issue.
- For legacy OTP1 format: OTP1 consumes pad bytes 1:1 with file size, so large files exhaust the pad quickly.
- Upgrade to a new dongle with fresh key material
- Consider re-provisioning through your Necron account
Warning
Once pad is consumed, it cannot be reclaimed. This is the fundamental property of one-time pad cryptography — each byte can only be used once. Deleting encrypted files does not free up pad space.
Reservation Failed
Message: "Failed to reserve pad range"
Cause: The key material reservation system encountered an error while trying to allocate space on the dongle.
Solution:
- Check that the dongle is properly connected (not intermittent)
- Try a different USB port
- Try a manual rescan and retry the operation
Encryption Errors
File Read Error
Message: "Cannot read source file"
Cause: The source file is locked by another program, doesn't exist, or you don't have read permissions.
Solution:
- Close any programs that might have the file open
- Check that the file still exists at the expected path
- Verify you have read permissions on the file
Destination Write Error
Message: "Cannot write to destination"
Cause: The output directory is read-only, full, or doesn't exist.
Solution:
- Check that the destination folder exists and is writable
- Verify there's enough free disk space
- If writing to a network drive, check connectivity
File Too Large for Pad
Message: "File size exceeds available pad"
Cause: The file you're encrypting is larger than the remaining pad (primarily an issue with OTP1 format).
Solution:
- Switch to NCV3 format, which uses vastly less pad per file
- Encrypt a smaller file
- Use a dongle with more remaining pad
Decryption Errors
Authentication Failed
Message: "Authentication tag verification failed — file may be corrupted or tampered with"
Cause: The AEAD authentication tag doesn't match. This means:
- The encrypted file was modified after encryption (data corruption or tampering)
- The wrong key is being used (different dongle)
- The file was truncated or partially overwritten
Solution:
- Verify you're using the correct dongle
- Check if the encrypted file was accidentally modified (compare file size with expected)
- If the file was stored in a cloud-synced folder, check for sync conflicts
- If the file is genuinely corrupted, try restoring from a backup
Note
Authentication failure is a security feature of AEAD encryption. It means the system successfully detected that something is wrong with the file. This is far better than silently decrypting corrupt data.
Unsupported Format
Message: "Unrecognized file format — invalid magic bytes"
Cause: The file doesn't have a recognized Necron header (NCV3, NCV2, OTP1, or NECN).
Solution:
- Verify the file is actually a Necron-encrypted file
- Check that the file extension is correct (
.ncv3,.ncrn) - The file may have been corrupted, particularly the header bytes
Anti-Rename Detection
Message: "Filename token mismatch — file may have been renamed"
Cause: The on-disk filename doesn't match what's stored inside the encrypted file. This happens when someone renames a .ncrn file on disk.
Solution:
- Rename the file back to its original encrypted name
- If you don't know the original name, the file may not be recoverable through normal means
Vault Errors
Vault Unlock Failed
Message: "Cannot unlock vault — dongle not available"
Cause: The vault requires a specific dongle that isn't connected.
Solution: Connect the correct MASTER or SLAVE dongle.
Integrity Check Failures
Message: "Integrity check found N damaged files"
Cause: The vault integrity check detected encrypted files with invalid verification tags or corrupted headers across one or more locations.
Solution:
- If other locations have good copies, the app will automatically repair by copying from the good source
- If all copies of a file are damaged, the file may not be recoverable
- Check your disk and cloud sync for corruption issues
See Vault Integrity Check for the full integrity and self-healing workflow.
Metadata Sync Failed
Message: "Failed to write vault snapshot"
Cause: The app couldn't write a vault configuration snapshot to a vault location.
Solution:
- Check that the vault location is writable
- If it's a cloud-synced folder, check that the sync client isn't locking files
- This is a best-effort operation — the vault still functions without it, but backup dongle import may not have the latest state
File System Errors
Path Too Long
Message: "Path exceeds maximum length"
Cause: The file path exceeds Windows' MAX_PATH (260 characters). This can happen with deeply nested vault directories or long filenames.
Solution:
- The app uses Windows extended-length paths (
\\?\) internally to handle long paths - If you're seeing this error, check for unusually deep directory nesting
- Move the vault to a shorter base path if needed
Permission Denied
Message: "Access denied"
Cause: The app doesn't have permission to read from or write to the specified location.
Solution:
- Check file/folder permissions in Windows Security
- If the file is on a network share, verify your access level
- Ensure you have write access to the destination directory
Disk Full
Message: "Not enough disk space"
Cause: The destination drive doesn't have enough free space for the operation.
Solution:
- Free up disk space
- Choose a different destination with more space
- For batch operations, check that the destination can hold all output files
Getting Help
If you encounter an error not listed here:
- Note the exact error message and the operation you were performing
- Check the Troubleshooting & FAQ page
- Contact Necron support with the error details