-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(grpc): add X25519 public key validation in gRPC entity service
- Added validation for X25519 public keys in gRPC entity service requests. - Implemented a function `is_valid_x25519_public_key` to check the validity of X25519 public keys encoded in base64. - Updated `validate_request_fields` function to include validation for X25519 public keys. - Added tests for entity creation and authentication with invalid X25519 public keys. Fixes: #99
- Loading branch information
1 parent
8209947
commit 6cadc0e
Showing
3 changed files
with
158 additions
and
41 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