forked from rpm-software-management/rpm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add rpmtxnDeletePubkey() API for deleting keys from keystore
Make an attempt to validate keyid is a legit keyid (short or full, we'll need both for a while) or a fingeprint. A caveat here is that our keystores only support short keyids now. Mapping the return codes to rpmrc this way is clunky, but at least we can differentiate between a few failure types. Fixes: rpm-software-management#3338, rpm-software-management#3340
- Loading branch information
Showing
2 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters