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

[8.0] Update dirac_cert_convert.py; Add guidance error message for user if unsupported crypto #7420

Closed
wants to merge 3 commits into from

Conversation

mdpunch
Copy link

@mdpunch mdpunch commented Jan 24, 2024

Tell user to try "--legacy" option if the pcks12 file has old crypto (addition or replacement for my previous pull request).

Also, corrected trailing white-space, long lines, and other clean-ups after pylint.

Modified dirac_cert_convert.py to allow pcks12 certificate with legacy crypto
    
Some providers (cf. CNRS) use certificates with outdated crypto,
so need to call `openssl` with the "-legacy" option.
    
Modified `dirac_cert_convert.py` to add a switch for this ("--legacy") using the `@Script` mechanisms.
    
Added the long option only, not putting the short option ("-l") since this should be exceptional.

Also added a gLogger.warn() for this.
…er if unsupported crypto

Tell user to try "--legacy" option if the pcks12 file has old crypto.

Also, corrected trailing whitespace, long lines, and other clean-ups after pylint.
@fstagni fstagni changed the base branch from integration to rel-v8r0 January 24, 2024 10:15
@fstagni fstagni changed the base branch from rel-v8r0 to integration January 24, 2024 10:15
@fstagni
Copy link
Contributor

fstagni commented Jan 24, 2024

You are still targeting integration: in #7420 I have cherry-picked your commit on top of rel-v8r0 branch (and fixed the syntax)

@mdpunch
Copy link
Author

mdpunch commented Jan 24, 2024

You are still targeting integration: in #7420 I have cherry-picked your commit on top of rel-v8r0 branch (and fixed the syntax)

Okay, thanks. Sorry about that.

@mdpunch mdpunch marked this pull request as draft January 24, 2024 13:25
@mdpunch
Copy link
Author

mdpunch commented Jan 24, 2024

Sorry, I'm a bit lost... should I do something here?

@fstagni
Copy link
Contributor

fstagni commented Jan 24, 2024

Nope, I just close this! Your changes are in the other PR.

@fstagni fstagni closed this Jan 24, 2024
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