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

Adding support for Key IDs longer than 10 characters #295

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

Conversation

jzilske
Copy link
Contributor

@jzilske jzilske commented Dec 11, 2024

It seems that for individual API keys the Key ID can be longer than 10 characters, so this is necessary (provided the naming scheme of ApiKey_<keyId>.p8 remains stable).

The reversed() dance could be avoided by introducing a dependency on swift-algorithms which provides suffix(while:).

It seems that for individual API keys the Key ID can be longer than 10 characters, so this is necessary (provided the naming scheme of `ApiKey_<keyId>.p8` remains stable).

The `reversed()` dance could be avoided by introducing a dependency on [swift-algorithms](https://github.com/apple/swift-algorithms/tree/main) which provides `suffix(while:)`.
@jzilske jzilske requested a review from AvdLee as a code owner December 11, 2024 12:02
@jzilske
Copy link
Contributor Author

jzilske commented Dec 12, 2024

Maybe we should lift the 10 characters limit in line 99 also.

Copy link

This PR is stale because it has been open for 30 days with no activity. Remove the Stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Jan 12, 2025
@jzilske
Copy link
Contributor Author

jzilske commented Jan 13, 2025

@AvdLee @polpielladev thoughts?

@github-actions github-actions bot removed the Stale label Jan 14, 2025
@hiddevdploeg hiddevdploeg removed the request for review from AvdLee February 12, 2025 22:24
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