Commit Graph

4 Commits

Author SHA1 Message Date
Panu Matilainen 93de6ca72c Add --test option to rpmkeys
- Allows, well, testing whether a key could be imported before actually
  doing it
2012-02-03 12:47:19 +02:00
Panu Matilainen b4f4e2255f Honor --root in rpmkeys too 2011-01-07 12:06:37 +02:00
Panu Matilainen 0600287d5d Rearrange new cli utilities' popt tables for nicer output
- Use a separate table for the tool-specific options, include that from
  the "master" option table to get option group summary in --help.
2010-11-15 09:07:10 +02:00
Panu Matilainen dfbaa77152 Add a brand new rpmkeys utility for keyring operations
- Keyring operations (adding/viewing/removing keys and verifying
  packages against a given keyring) are different from main rpm operations
  in that they only need access to the rpm keyring, and no write access
  anywhere else in the system. At the moment the rpm keyring happens
  to be the rpmdb but that's just an implementation detail that is
  likely to change sooner or later. Besides paving way to separating
  the rpm keyring from the rpmdb, splitting this to a small, separate
  utility allows limiting its required access from SELinux POV etc.
- For now, this only implements what's already in rpm: --import and
  --checksig, remaining operations like listing and manipulating
  keyring contents is left as an exercise for another day...
2010-09-03 16:16:57 +03:00