jakob.scheid bfec87dde6 Added shebangs
geändert:       client/client.py
	geändert:       lib/terminal_table.py
	umbenannt:      server/main.py -> server/server.py
2025-12-30 10:14:25 +01:00
2025-12-30 10:14:25 +01:00
2025-12-30 01:43:23 +01:00
2025-12-30 10:14:25 +01:00
2025-12-30 10:14:25 +01:00
2025-12-30 01:43:23 +01:00

jeb

jCloud Event Bus

jebp (jCloud Event Bus Protocol)

Messages

All messages begin with 0x01, followed by the content length length. The content length length is the length of the content length and representated by one byte. Then follows the content length and after that the message content.

Handshake

  1. Server: Server protocol, version

  2. Encryption

    1. Client: Serialized client public key
    2. Server: Serialized server public key
    3. Client: Client nonce
    4. Server: Server nonce
    5. Client: Random bytes (encrypted)
    6. Server: received bytes from client (not encrypted)

    The client closes the connection if the received bytes from server (7.) do not match the generated bytes (6.) to prevent malfunction and test the encryption.

  3. Server authentication

    1. Server: Server certificate

    The client closes the connection if it does not trust the server certificate.

  4. Client authentication

    1. Client: Client certificate

    The server closes the connection if the client is unauthorized.

S
Description
jCloud Event Bus
Readme 73 KiB
Languages
Python 99%
Dockerfile 1%