File of Package gpg-offline

.TH gpg-offline "1" "November 2012" "GPG Offline" "GPG Offline Keyring Manipulation"
gpg-offline \- trusted GPG offline keyring manipulation tool
.B gpg-offline
Meaning of \fI[ARGUMENT]\fR depends on the mode of operations.
Offline gpg verification tool can verify signatures in ARGUMENT list
and manipulate with selected signatures in offline keyrings.
Mandatory arguments to long options are mandatory for short options too.
\fB\-p\fR, \fB\-\-package\fR=\fIPACKAGE\fR
specify the package (either \fB\-\-package\fR or \fB\-\-keyring\fR are mandatory)
Tool will access file named
in the directory specified by \fB\-\-package\fR.
\fB\-\-directory\fR \fIDIR\fR
specifies directory where
will be searched.
\fB\-f\fR, \fB\-\-keyring\fR=\fIFILE\fR
specifies the keyring file.
Either \fB\-\-package\fR or \fB\-\-keyring\fR are mandatory.
If you specify both, \fB\-\-keyring\fR takes precedence over
\fB\-a\fR, \fB\-\-add\fR \fIKEY_ID\fR...
adds signing key(s) KEY_ID of upstream package for inclusion to the
keyring file. If the file does not exist, it is created and needed
lines are proposed for inclusion to \fIPACKAGE\fR.spec. If
\fB\-\-offline\fR is specified, check only local keyring for keys.

This command needs correctly configured gnupg and may need to contact
keyring servers on Internet.
\fB\-d\fR, \fB\-\-delete\fR \fIKEY_ID\fR...
removes signing key(s) KEY_ID of upstream package from the keyring
\fB\-c\fR, \fB\-\-verify\fR \fIGPG_ARGS\fR...
verifies that the signature is valid. Signature is validated only
against keys included in the keyring file. Any other keys are not
Verification is safe in offline environment without network access.
\fB\-c\fR, \fB\-\-review\fR
reviews the keyring file: Checks that the human readable header
corresponds to its contents. If \fB\-\-offline\fR is not specified,
check online for keys updates.
\fB\-c\fR, \fB\-\-refresh\fR
refreshes the keyring file: Update the human readable header according
to its contents. If \fB\-\-offline\fR is not specified, check online
for keys updates.
\fB\-v\fR, \fB\-\-offline\fR
skips online checks in \fB\-\-add\fR, \fB\-\-review\fR and
\fB\-v\fR, \fB\-\-verbose\fR
explains what is being done. Use twice to see even more.
displays help and exits.
outputs version information and exits.
The keyring file contains trusted keyring for particular package and
contains keys that can be used for signing source tarballs of the
package. Signature is considered as valid only if its signing key is
part of trusted keyring for the package in question.
.B gpg-offline
keyrings are standard armored GPG keyrings that contains text header
that must exactly match to the keyring contents.
Instructions for packagers.
Written by Stanislav Brabec, SUSE Linux
Report bugs to
Copyright \(co 2012 Stanislav Brabec, SUSE Linux
License GPLv2+: GNU GPL version 2 or later <>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.BR gpg2 (1)