Skip to content

Conversation

@Eskuero
Copy link

@Eskuero Eskuero commented Jan 9, 2025

Relax the string check by converting them lowercase

keytool actually prints them all in uppercase using colon separators but accounting for that is probably a bit overkill.

Relax the string check by converting them lowercase

keytool actually prints them all in uppercase using colon separators but accounting for that is probably a bit overkill.
Copy link

@mags0ft mags0ft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A more "pythonic" way to implement case insensitive checks is comparing strings that have been modified with str.casefold().

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