Fix some typos, small errors, debug leftovers. Removed unused mu-cmd-count.cc. Improve test-coverage. Fix manpage. Make the errors for unknown commands a little friendlier.
1.8 KiB
MU VERIFY
NAME
mu-verify - verify message signatures and display information about them
SYNOPSIS
mu [_COMMON-OPTIONS_] verify [_OPTIONS_] [_FILE_…]
DESCRIPTION
mu verify is the mu command for verifying message signatures (such as PGP/GPG signatures) and displaying information about them. The sub-command works on message files, and does not require the message to be indexed in the database.
If no message file is provided, the command expects the message on standard-input.
VERIFY OPTIONS
-r, –auto-retrieve
Attempt to find keys online (see the auto-key-retrieve option in the documentation).
–decrypt
Attempt to decrypt the message.
EXAMPLES
To display aggregated (one-line) information about the verification status in a message:
$ mu verify msgfile
To display information about all the signatures:
$ mu verify --verbose msgfile
If you only want to use the exit code, you can use:
$ mu verify --quiet msgfile
which does not give any output unless there is an error.
EXIT CODE
This command returns 0 when all signatures could be verified successfully, or a non-zero exit code otherwise.
- success; all signatures were verified
- verification failed; at least one signature was bad, or could not be verified. The latter includes messages without any signed parts, signed parts without verifiable signatures and failures to set up the crypto machinery for verification.
SEE ALSO