Skip to content

Commit 7ef163a

Browse files
committed
[supervisor] expose host key on create key pair
to let clients to do fingerpring checking
1 parent 11ddec8 commit 7ef163a

File tree

4 files changed

+1342
-237
lines changed

4 files changed

+1342
-237
lines changed

components/supervisor-api/control.proto

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,15 @@ message ExposePortResponse {}
4040

4141
message CreateSSHKeyPairRequest {}
4242
message CreateSSHKeyPairResponse {
43-
// Return privateKey for ws-proxy
43+
// Return privateKey for ws-proxy or web socket tunnels
4444
string private_key = 1;
45+
// Return hostKey used by client to verify fingerprint
46+
SSHPublicKey host_key = 2;
47+
}
48+
49+
message SSHPublicKey {
50+
string type = 1;
51+
string value = 2;
4552
}
4653

4754
message CreateDebugEnvRequest {

0 commit comments

Comments
 (0)