-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use as an independent library #10
Comments
rpm's OpenPGP API is not great (see e.g., rpm-software-management/rpm#2041, and this thread). Initially we wanted to wholesale replace it, but because the OpenPGP API is part of rpm's public API, that would require an soname bump, which is not scheduled for a while. As such, we decided to reimplement the existing API in terms of Sequoia. In the future, we hope to completely redesign the API. The new API would not be rpm specific, but would be designed to also be used by other projects like dnf, ostree, etc. We'd like to get started on that as soon as possible, but without a sponsor like RedHat, we don't have the resources to undertake that project right now. Until that happens, if you need to use this API, but use it via librpmio. |
Thanks for the response, makes sense! |
Also note that since signing and verification functionality APIs are implemented in the aforementioned It would be even better, if the implementation of certain bits of functionality could be shared completely between the three, or if the efforts converged a bit :) |
I've seen the disclaimer:
However, there are reasons that it would be nice to use this library independently. Perhaps as to integrate with something like
rpm-rs
orrpm-oxide
, perhaps because you need to write software which interact with RPM package signatures but works on older OS' (where the old librpm may be problematic) or ones wherelibrpm
isn't readily available, perhaps you want a native Rust API (though, it doesn't appear that this currently exists).Is this a hard statement about the intentions / goals of this library (i.e. don't expect this to ever be an independent, idiomatically-usable-from-Rust library), or just a way to set expectations about the current goals (i.e. right now, you should only use this via
librpm
)?The text was updated successfully, but these errors were encountered: