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

Check that DN_CONVERTER_COMMAND is available #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jouvin
Copy link
Contributor

@jouvin jouvin commented Feb 12, 2025

This PR adds a check at the beginning of the script to ensure that the command defined in DN_CONVERTER_COMMAND can be found in the path. If not the script exits with an explicit error. Without this check, a file not found (without any indication of the file) happens for every user when importing the certificate and it is not obvious what the reason is.

- Raise an error if the command cannot be found in the path rather than having a file not
found exception when importing the certificate for each user
@rmiccoli rmiccoli changed the title vomsimporter.py: check that DN_CONVERTER_COMMAND is available Check that DN_CONVERTER_COMMAND is available Feb 12, 2025
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 this pull request may close these issues.

2 participants