libeipc

Crates.iolibeipc
lib.rslibeipc
version0.1.0
created_at2025-11-08 13:31:40.791779+00
updated_at2025-11-08 13:31:40.791779+00
descriptionEncrypted Inter-Process Communication Library
homepage
repository
max_upload_size
id1922864
size78,091
Vitalius Kuchalskis (Qualphey)

documentation

README

Encrypted Inter-Process Communication Library

Communication is established over a Unix socket. Both client and server create private and public X25519 keys, exchange them and perform a Diffie-Hellman key agreement between own and contrary public keys to produce a shared secret. A temporary AES key is derived from the shared secret using HKDF function with SHA-256 hasher. Both parties generate their own AES keys independently and exchange them encrypted using the temporary key. The server obtains the PID value for each process connected and stores it paired with an appropriate AES key to a hash map. Messages from both sides are encrypted using each others AES keys when using send_message or send_event methods.

Commit count: 0

cargo fmt