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

Improve error handling when TTL is invalid #106

Merged
merged 3 commits into from
Feb 21, 2024

Conversation

punmechanic
Copy link
Member

A common error scenario when requesting keys using keyconjurer get was that the ttl would exceed the maximum allowed for the account + role. This error would be displayed as "failed to exchange credentials" with no additional info.

This PR fixes this issue by:

  • Reducing default TTL back down to 8 from 1
  • Displaying a unique error if the TTL is invalid.

@punmechanic punmechanic merged commit 14540c4 into RiotGames:main Feb 21, 2024
3 checks passed
punmechanic added a commit to punmechanic/key-conjurer that referenced this pull request Nov 12, 2024
14540c4 Improve error handling when TTL is invalid (RiotGames#106)

git-subtree-dir: keyconjurer-v2
git-subtree-split: 14540c4
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.

1 participant