-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): Return 404 if public key not found (#888)
Updates kas_public_key endpoints to return a 404 instead of a 500 if the public key lookup fails. Potential ways a public key is not found: 1. unsupported algorithm 2. unrecognized key identifier (either user supplied TK or default) This will still 500 on errors in config format or key format TK should also return 400 on invalid fmt
- Loading branch information
1 parent
deef060
commit 8b110f0
Showing
3 changed files
with
114 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters