mu/man/mu-verify.1

80 lines
1.9 KiB
Groff
Raw Normal View History

.TH MU VERIFY 1 "June 2015" "User Manuals"
2012-07-17 18:19:14 +02:00
.SH NAME
mu verify\- verify message signatures and display information about them
.SH SYNOPSIS
2012-07-18 10:51:21 +02:00
.B mu verify [options] <msgfile>
2012-07-17 18:19:14 +02:00
.SH DESCRIPTION
2012-07-19 19:44:49 +02:00
\fBmu verify\fR is the \fBmu\fR 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.
2012-07-17 18:19:14 +02:00
\fBmu verify\fR depends on \fBgpg\fR, and uses the one it finds in your
\fBPATH\fR. If you want to use another one, you need to set \fBMU_GPG_PATH\fB
to the full path to the desired \fBgpg\fR.
.SH OPTIONS
.TP
\fB\-r\fR, \fB\-\-auto\-retrieve\fR
attempt to find keys online (see the \fBauto-key-retrieve\fR option in the
\fBgnupg(1)\fR documentation).
\" .TP
\" \fB\-u\fR, \fB\-\-use\-agent\fR attempt to use the GPG-agent (see the the
\" \fBgnupg-agent(1)\fR documentation). Note that GPG-agent is running many
\" desktop-evironment; you can check whether this is the case using:
\" .nf
\" $ env | grep GPG_AGENT_INFO
\" .fi
2012-07-17 18:19:14 +02:00
.SH EXAMPLES
To display aggregated (one-line) information about the signatures in a message:
.nf
$ mu verify msgfile
2012-07-17 18:19:14 +02:00
.fi
To display information about all the signatures:
.nf
$ mu verify --verbose msgfile
.fi
If you only want to use the exit code, you can use:
.nf
$ mu verify --quiet msgfile
2012-07-17 18:19:14 +02:00
.fi
which does not give any output.
.SH RETURN VALUE
\fBmu verify\fR returns 0 when all signatures could be verified to be good,
2012-07-18 10:51:21 +02:00
and returns some non-zero error code when this is not the case.
2012-07-17 18:19:14 +02:00
.nf
| code | meaning |
|------+--------------------------------|
| 0 | ok |
2012-07-18 10:36:42 +02:00
| 1 | some non-verified signature(s) |
2012-07-17 18:19:14 +02:00
.fi
.SH BUGS
Please report bugs if you find them:
.BR https://github.com/djcb/mu/issues
2012-07-17 18:19:14 +02:00
.SH AUTHOR
Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
.SH "SEE ALSO"
2018-03-10 21:08:17 +01:00
.BR mu (1),
.BR gpg (1)