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

Case insensitive username comparison #421

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

jku
Copy link
Member

@jku jku commented Aug 29, 2024

Ensure user names are handled as lower case

signer names (GitHub usernames) are compared in quite a few places: Ensure that comparisons are case-insensitive by always processing lowercase names

  • When reading in signer configuration from .tuf-on-ci-sign.ini, convert to lower case
  • When taking in signer names as input when modifying a delegation, convert to lower case

Use a capital letter in those two cases in e2e tests.

signer names (GitHub usernames) are compared in quite a few places:
Ensure that comparisons are case-insensitive by always processing
lowercase names

* When reading in signer configuration from .tuf-on-ci-sign.ini,
  convert to lower case
* When taking in signer names as input when modifying a delegation,
  convert to lower case
Use a capital letter in both the config file and in tuf-on-ci-delegate
input.

Most of the changes are just ensuring the filepaths of test results
stay the same.
@jku jku changed the title Case insensitive username compare Case insensitive username comparison Aug 29, 2024
@jku jku merged commit 36dea05 into theupdateframework:main Sep 9, 2024
5 checks passed
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