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

Look for config in /usr as well #65

Closed
DaanDeMeyer opened this issue Feb 23, 2024 · 3 comments · Fixed by #72
Closed

Look for config in /usr as well #65

DaanDeMeyer opened this issue Feb 23, 2024 · 3 comments · Fixed by #72

Comments

@DaanDeMeyer
Copy link

The UAPI group is trying to work towards working image-based Linux systems that contain only /usr (see uapi-group/specifications#76). To make this work it'd be great if rpm-sequoia would look for its policy in /usr/share/crypto-policies if the environment variables aren't set and no config file is found in /etc/crypto-policies

@nwalfield
Copy link
Collaborator

Sorry for not responding. In #72, I've changed rpm-sequoia to first look for the crypto policy in /etc/crypto-policies/back-ends/rpm-sequoia.config, and if that does not exist, /usr/share/crypto-policies/back-ends/rpm-sequoia.config.

@DaanDeMeyer
Copy link
Author

@nwalfield I just took a look and on Fedora the rpm-sequoia default config in /usr is shipped in a different location /usr/share/crypto-policies/back-ends/DEFAULT/rpm-sequoia.config . Any chance rpm-sequoia could look there?

@nwalfield
Copy link
Collaborator

@DaanDeMeyer: I don't know anything about this. It would be good if we did the right thing and not just changed paths randomly. Could you please find out what the officially sanctioned way to find the correct location is and follow up here? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants