> I wonder if I can just take a proper header from on of our test packages and
> remove tags to test the error handling.
It's an interesting thing. Deleting the name tag like in the test doesn't
actually delete it in the header because it's in the immutable region, it just
replaces what you see from the "outside", this is basically how file relocation
works. But it's a bit weird that you can replace a name, version etc and the
header will still pass signature checking inside rpmdb. You can only do that
from the API, but it's another strange loophole we probably should close one of
these days (obviously way out of scope here)
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3478#issuecomment-2510897967
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3478/c2510897...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint