rpmkeys(8) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHORS | COLOPHON

RPMKEYS(8)                                                     RPMKEYS(8)

NAME         top

       rpmkeys - RPM Keyring

SYNOPSIS         top

       rpmkeys {--list|--import|--erase|--delete|--checksig}

DESCRIPTION         top

       The general forms of rpm(8) digital signature commands are

       rpmkeys {-l|--list} [FINGERPRINT ...]

       rpmkeys {-x|--export} [FINGERPRINT ...]

       rpmkeys {-i|--import} PUBKEY ...

       rpmkeys {-e|--erase|-d|--delete} FINGERPRINT ...

       rpmkeys {-K|--checksig} PACKAGE_FILE ...

       The --checksig option checks all the digests and signatures
       contained in PACKAGE_FILE to ensure the integrity and origin of
       the package.  Note that signatures are now verified whenever a
       package is read, and --checksig is useful to verify all of the
       digests and signatures associated with a package.

       Digital signatures cannot be verified without a public key.  An
       ASCII armored public key can be added to the rpm persistent
       keyring using --import.

       The following commands are available for manipulating the
       persistent rpm keyring:

       rpmkeys {-l|--list} [FINGERPRINT ...]

       List currently imported public key(s) (aka certificates) by their
       fingerprint and user ID.  If no fingerprints are specified, list
       all keys.

       The fingerprint is the handle used for all operations on the keys.

       rpmkeys {-x|--export} [FINGERPRINT ...]

       Output the key(s) using an ASCII-armor encoding.

       Exporting allows for inspecting the data with specialized tools,
       such as Sequoia or GnuPG.  For example:

       rpmkeys –export 771b18d3d7baa28734333c424344591e1964c5fc | sq
       inspect

       rpmkeys {-e|--erase|-d|--delete} FINGERPRINT ...

       Erase the key(s) designated by FINGERPRINT.  For example:

       rpmkeys --erase 771b18d3d7baa28734333c424344591e1964c5fc

SEE ALSO         top

       popt(3), rpm(8), rpmdb(8), rpmsign(8), rpm2cpio(8), rpmbuild(8),
       rpmspec(8)

       rpmkeys --help - as rpm supports customizing the options via popt
       aliases it's impossible to guarantee that what's described in the
       manual matches what's available.

       http://www.rpm.org/ <URL:http://www.rpm.org/>

AUTHORS         top

              Marc Ewing <marc@redhat.com>
              Jeff Johnson <jbj@redhat.com>
              Erik Troan <ewt@redhat.com>
              Panu Matilainen <pmatilai@redhat.com>

COLOPHON         top

       This page is part of the rpm (RPM Package Manager) project.
       Information about the project can be found at 
       ⟨https://github.com/rpm-software-management/rpm⟩.  It is not known
       how to report bugs for this man page; if you know, please send a
       mail to man-pages@man7.org.  This page was obtained from the
       project's upstream Git repository
       ⟨https://github.com/rpm-software-management/rpm.git⟩ on
       2025-02-02.  (At that time, the date of the most recent commit
       that was found in the repository was 2025-01-31.)  If you discover
       any rendering problems in this HTML version of the page, or you
       believe there is a better or more up-to-date source for the page,
       or you have corrections or improvements to the information in this
       COLOPHON (which is not part of the original manual page), send a
       mail to man-pages@man7.org

                             29 October 2010                   RPMKEYS(8)

Pages that refer to this page: rpm(8)rpmbuild(8)rpmdb(8)rpm-misc(8)rpmsign(8)rpmspec(8)