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:
KKRainbow
2026-03-08 14:06:33 +08:00
committed by GitHub
parent f3db348b01
commit ef44027f57
8 changed files with 197 additions and 22 deletions
+2 -2
View File
@@ -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;