GODT-1847: add option to export TLS Certificates in GUI.

This commit is contained in:
Xavier Michelon
2022-12-01 12:41:51 +01:00
parent 4375d77a98
commit 5b9c28e6f0
19 changed files with 2611 additions and 1389 deletions

View File

@ -56,6 +56,7 @@ service Bridge {
rpc ColorSchemeName(google.protobuf.Empty) returns (google.protobuf.StringValue); // TODO Color scheme should probably entirely be managed by the client.
rpc CurrentEmailClient(google.protobuf.Empty) returns (google.protobuf.StringValue);
rpc ReportBug(ReportBugRequest) returns (google.protobuf.Empty);
rpc ExportTLSCertificates(google.protobuf.StringValue) returns (google.protobuf.Empty);
rpc ForceLauncher(google.protobuf.StringValue) returns (google.protobuf.Empty);
rpc SetMainExecutable(google.protobuf.StringValue) returns (google.protobuf.Empty);
@ -223,6 +224,7 @@ message StreamEvent {
KeychainEvent keychain = 6;
MailEvent mail = 7;
UserEvent user = 8;
GenericErrorEvent genericError = 9;
}
}
@ -453,3 +455,15 @@ message UserChangedEvent {
string userID = 1;
}
//**********************************************************
// Generic errors
//**********************************************************
enum ErrorCode {
UNKNOWN_ERROR = 0;
TLS_CERT_EXPORT_ERROR = 1;
TLS_KEY_EXPORT_ERROR = 2;
}
message GenericErrorEvent {
ErrorCode code = 1;
}