table of contents
| RPMKEYS(8) | System Manager's Manual | RPMKEYS(8) |
NAME¶
rpmkeys - RPM Keyring
SYNOPSIS¶
rpmkeys {-K|--checksig} [options] PACKAGE_FILE ...
rpmkeys {-d|--delete|-e|--erase} [options] FINGERPRINT ...
rpmkeys {-x|--export} [options] [FINGERPRINT ...]
rpmkeys {-i|--import} [options] PUBKEY ...
rpmkeys {-l|--list} [options] [FINGERPRINT ...]
rpmkeys --rebuild [options] [rebuild-options]
DESCRIPTION¶
rpmkeys is used for manipulating the rpm keyring and verifying package digital signatures with the contained keys.
For all available operations, see OPERATIONS.
OPERATIONS¶
-K, --checksig
-d, --delete, -e, --erase
-x, --export
--import
-l, --list
--rebuild
ARGUMENTS¶
FINGERPRINT
OPTIONS¶
See rpm-common(8) for the options common to all rpm executables.
REBUILD OPTIONS¶
--from <fs|openpgp|rpmdb>
OUTPUT¶
--checksig
<_PACKAGE_FILE_>: <element> <element> <OK|NOT OK>
<_PACKAGE_FILE_>:
<element>: <OK|NOTFOUND|BAD>
...
--list
<fingerprint> <name> <userid> public key
CONFIGURATION¶
There are several configurables affecting the behavior of this verification, see rpm-config(5) for details:
- %_keyring
- %_keyringpath
- %_pkgverify_flags
- %_pkgverify_level
EXIT STATUS¶
On success, 0 is returned, a non-zero failure code otherwise.
EXAMPLES¶
rpmkeys --export 771b18d3d7baa28734333c424344591e1964c5fc | sq inspect
rpmkeys --erase 771b18d3d7baa28734333c424344591e1964c5fc
rpmkeys -K hello-2.0-1.x86_64.rpm
SEE ALSO¶
popt(3), rpm(8), rpm-common(8), rpm-config(5), rpmsign(1)
rpmkeys --help - as rpm(8) supports customizing the options via popt aliases it's impossible to guarantee that what's described in the manual matches what's available.
| 2025-11-07 | RPM 6.0.0 |