[Rpm-maint] [rpm-software-management/rpm] RFE: Expose _RPMVSF_NOSIGNATURES and _RPMVSF_NODIGESTS (#440)
Jeff Johnson
notifications at github.com
Sun May 13 16:30:58 UTC 2018
Sure it's easy to remove an underscore to adapt to picky pylint.
Here are several reasons for not doing so:
1) this is ancient legacy code copied from yum, whose devels wished speed and considered header digest/signature checking slow. In fact, disabling file digests is far more expensive. Been there forever too.
2) there is already means to set a macro to change the default vsf policy. That has been there forever too, set before creating a transaction.
3) signature/digest verification needs to be per-system (or per-chroot, per-vm), not per-application. There is also no attempt in the mock code to make the policy configurable, the policy values are hard wired.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/440#issuecomment-388639131
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180513/a6b96d90/attachment.html>
More information about the Rpm-maint
mailing list