mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-13 17:35:37 +00:00
feat(credential): improve credential peer routing and visibility (#1971)
- improve credential peer filtering and related route lookup behavior - expose credential peer information through CLI and API definitions - add and refine tests for credential routing and peer interactions
This commit is contained in:
@@ -303,7 +303,7 @@ message GenerateCredentialRequest {
|
||||
}
|
||||
|
||||
message GenerateCredentialResponse {
|
||||
string credential_id = 1; // public key base64
|
||||
string credential_id = 1; // UUID
|
||||
string credential_secret = 2; // private key base64
|
||||
}
|
||||
|
||||
@@ -318,7 +318,7 @@ message RevokeCredentialResponse {
|
||||
message ListCredentialsRequest {}
|
||||
|
||||
message CredentialInfo {
|
||||
string credential_id = 1; // public key base64
|
||||
string credential_id = 1; // UUID
|
||||
repeated string groups = 2;
|
||||
bool allow_relay = 3;
|
||||
int64 expiry_unix = 4;
|
||||
|
||||
Reference in New Issue
Block a user