File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ service DstackGuest {
3737 // Returns the derived key along with its TLS certificate chain.
3838 rpc GetTlsKey (GetTlsKeyArgs ) returns (GetTlsKeyResponse ) {}
3939
40- // Derives a new ECDSA key with k256 EC curve .
40+ // Derives a new key.
4141 rpc GetKey (GetKeyArgs ) returns (GetKeyResponse ) {}
4242
4343 // Generates a TDX quote with given report data.
@@ -94,12 +94,14 @@ message GetTlsKeyResponse {
9494 repeated string certificate_chain = 2 ;
9595}
9696
97- // The request to derive a new ECDSA key with k256 EC curve
97+ // The request to derive a new key
9898message GetKeyArgs {
9999 // Path to the key to derive
100100 string path = 1 ;
101101 // Purpose of the key
102102 string purpose = 2 ;
103+ // Algorithm of the key. Either `secp256k1` or `ed25519`. Defaults to `secp256k1`
104+ string algorithm = 3 ;
103105}
104106
105107// The response to a DeriveK256Key request
@@ -112,9 +114,9 @@ message DeriveK256KeyResponse {
112114
113115// The response to a GetEthKey request
114116message GetKeyResponse {
115- // Derived k256 key
117+ // Derived key
116118 bytes key = 1 ;
117- // Derived k256 signature chain
119+ // Derived signature chain
118120 repeated bytes signature_chain = 2 ;
119121}
120122
You can’t perform that action at this time.
0 commit comments