[Rpm-maint] [rpm-software-management/rpm] Move installed gpg keys to the currently configured storage (Issue #3347)
Panu Matilainen
notifications at github.com
Mon Jan 27 10:55:31 UTC 2025
All we want to achieve here is to make moving from one keystore to another POSSIBLE. Doesn't need to be grandma easy, this is not something normal users are expected to do ever, it's expected to be scripted by distros instead (and advanced users are expected to know what they're doing).
Here's the essential AC for that:
- Add an API + `--rebuild`cli for rebuilding the keystore:
- By default, rebuilds the currently configured keystore by trying to reimport the existing keys (converting short keyids to long ones in the process)
- Optionally convert from one keystore type to another.
The exact UI for the conversion is still a bit of a questionmark, but since the primary usecase is migrating to another keystore after an rpm upgrade, this needs to be done by the new version whose configuration is already in place and possibly now pointing to an empty keystore. So maybe it should be just `--from <keystore>` on the cli as already discussed above. It's not like there dozens of alternatives to choose from, 'rpmdb' is the thing where the vast majority will be migrating from.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3347#issuecomment-2615430940
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/3347/2615430940 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250127/c205ffd3/attachment.htm>
More information about the Rpm-maint
mailing list