mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Add generating dh keys
This commit is contained in:
@@ -34,6 +34,7 @@ export interface ServerDataStatus {
|
||||
users?: ServerUserList // newUserList
|
||||
krq?: Array<ServerKeyRequest> // pendingKeyRequests
|
||||
kr?: Array<ServerKeyResponse> // keyResponses
|
||||
dh?: ServerDhKey // Diffie Hellman
|
||||
fullVersion: number // fullVersionUntil
|
||||
message?: string
|
||||
apiLevel: number
|
||||
@@ -252,3 +253,8 @@ export interface ServerKeyResponse {
|
||||
cryptKey: string,
|
||||
signature: string
|
||||
}
|
||||
|
||||
export interface ServerDhKey {
|
||||
v: string // version
|
||||
k: string // key, base64
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user