github.com/LagrangeDev/LagrangeGo@v0.0.0-20240512064304-ad4a85e10cb4/client/packets/pb/login/ecdh.proto (about)

     1  syntax = "proto3";
     2  
     3  option go_package = "github.com/LagrangeDev/LagrangeGo/client/packets/pb/login";
     4  
     5  message SsoKeyExchange {
     6    bytes PubKey = 1;
     7    int32 Type = 2;
     8    bytes GcmCalc1 = 3;
     9    uint32 Timestamp = 4;
    10    bytes GcmCalc2 = 5;
    11  }
    12  
    13  message SsoKeyExchangeResponse {
    14    bytes GcmEncrypted = 1;
    15    bytes Body = 2;
    16    bytes PublicKey = 3;
    17  }
    18  
    19  message SsoKeyExchangeDecrypted {
    20    bytes GcmKey = 1;
    21    bytes Sign = 2;
    22    uint32 Expiration = 3;
    23  }
    24  
    25  message SsoKeyExchangePlain {
    26    optional uint32 Uin = 1;
    27    optional bytes Guid = 2;
    28  }