Skip to content
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

RFE: add a file verify hook to the plugin API #2640

Open
pmatilai opened this issue Sep 1, 2023 · 1 comment
Open

RFE: add a file verify hook to the plugin API #2640

pmatilai opened this issue Sep 1, 2023 · 1 comment
Labels
API API related RFE

Comments

@pmatilai
Copy link
Member

pmatilai commented Sep 1, 2023

As plugins can add new kinds of metadata to files (selinux, ima, fsverity...) there also needs to be a way for them to verify that data. Rpm itself can't because it doesn't know about the metadata in the first place.

@pmatilai pmatilai added RFE API API related labels Sep 1, 2023
@pmatilai
Copy link
Member Author

pmatilai commented Sep 1, 2023

The biggest problem with this one is returning the verify result: rpmfilesVerify() can only return errors through the predefined rpmVerifyAttrs_e bitfield, whereas arbitrary plugins will need to be able to report arbitrary errors. So we'll need a better verify API to start with.

@pmatilai pmatilai added crypto Signatures, keys, hashes and their verification and removed crypto Signatures, keys, hashes and their verification labels Sep 14, 2023
@pmatilai pmatilai added this to the 4.20.0 milestone Oct 25, 2023
@pmatilai pmatilai removed this from the 4.20.0 milestone Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API API related RFE
Projects
Status: No status
Status: Todo
Development

No branches or pull requests

1 participant