Manual · Omni-Encryption
Troubleshooting
Messages you may see when you run Omni-Encryption 0.8.0, what each one means and what to do.
Command line
| What you see | What it means and what to do |
|---|---|
| error: the following arguments are required: cmd (exit 2) | No command was given. Run --help. |
| argument cmd: invalid choice: 'encrypt' (exit 2) | There is no encrypt or decrypt command. Use the Python interface, or the file-sealing command for files. |
| ModuleNotFoundError: No module named 'cryptography' | Install the cryptography package, version 49.x, into the interpreter you run. |
| network-verify prints ready false and exits 2, with a config_error saying that the layer is enabled but no key is configured | The layer is switched on but has no key. Run gen-key, or set both the key setting and the salt setting. |
| config_error says that the salt is required with the key | You set the key but not the salt. Set both, so every process derives the same keys. |
| An error from the file-sealing command (exit 2) | The key is missing or wrong, the label has characters other than letters, digits and . _ : / -, or the envelope or its label was altered. The message says which. When the key is wrong or the envelope or its label was altered, no output file is written. |
| InteropError: wrap refused for a public https address | By design. Do not wrap traffic to public APIs; use TLS. |
| InteropError: public TLS destination must use https, got http | Give the public destination as https. |
Python
| What you see | What it means and what to do |
|---|---|
| A ValueError about a sequence mismatch | A frame was dropped, reordered or produced without being delivered to the receiving end. Deliver frames in order. |
| RekeyRequired from a bare OmniCipher | The per-key message limit was reached. Perform a rekey: prepare, apply, commit. A PeerPair does this on its own. |
| A ValueError when a frame is opened, such as authentication failed | The frame was rejected: it was altered, replayed or out of order, belongs to another session, or was made with another key. The session's keys and sequence are unchanged. |
License activation (0.8.1, in preparation)
A failed activation exits 2 and prints reason: with a code. The License activation section lists every code and what to do.
Running the test suite
The suite expects two sibling packages next to the checkout. Without them, one or two test modules cannot be collected and a few tests skip; pytest then reports No module named for the missing package.
Documents for this section
-
Omni-Encryption evaluation manual
Requirements, how the package reaches a subscriber, a walk through the evaluation commands with what each prints, key handling and its warnings, switching on the second layer, the Python interface, and common problems.