Add a brand new rpmkeys utility for keyring operations
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 3 Sep 2010 13:09:47 +0000 (16:09 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 3 Sep 2010 13:16:57 +0000 (16:16 +0300)
commitdfbaa77152ccf98524c4f27afe85d32e6f690522
tree3e28230126ed40fbb063edce847a668a12eb6521
parentb195048bbb27a1aae4aa3938c3b1f79e0a26ae88
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...
Makefile.am
po/POTFILES.in
rpmkeys.c [new file with mode: 0644]